]
RH Bugzilla Integration commented on JBAS-9399:
-----------------------------------------------
Roberto Oliveira <rguimara(a)redhat.com> changed the Status of [bug
URL.getContent() returns VirtualFile instead of ImageProducer in
JBoss AS 6.0.0.FINAL
-------------------------------------------------------------------------------------
Key: JBAS-9399
URL:
https://issues.jboss.org/browse/JBAS-9399
Project: Application Server 3 4 5 and 6
Issue Type: Bug
Components: VFS
Affects Versions: 6.0.0.Final
Environment: Windows XP
Reporter: Nathan Blomquist
Attachments: server.log
URL.getContent() behaves differently within JBoss than it does in a normal JVM. In our
case, when a jar is used in a normal JVM, URL.getContent() returns an ImageProducer. When
the same jar is used from within JBoss, a VirtualFile is returned which then causes a
ClassCastException.
Note: This worked fine in JBoss 4.2.3.GA.