]
Tomas Hofman resolved JBVFS-206.
--------------------------------
Fix Version/s: 3.5.0.Alpha1
3.2.13.Final
Resolution: Done
URL.getContent() returns VirtualFile instead of ImageProducer
-------------------------------------------------------------
Key: JBVFS-206
URL:
https://issues.jboss.org/browse/JBVFS-206
Project: JBoss VFS
Issue Type: Bug
Affects Versions: 3.2.12.Final
Environment: Windows XP
Reporter: Tomas Hofman
Assignee: Tomas Hofman
Fix For: 3.5.0.Alpha1, 3.2.13.Final
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.