[jboss-jira] [JBoss JIRA] (JBAS-9586) [GSS](7.1.z) URL.getContent() returns VirtualFile instead of ImageProducer in JBoss AS 6.0.0.FINAL
Brad Maxwell (JIRA)
issues at jboss.org
Tue Jul 10 12:39:02 EDT 2018
Brad Maxwell created JBAS-9586:
----------------------------------
Summary: [GSS](7.1.z) URL.getContent() returns VirtualFile instead of ImageProducer in JBoss AS 6.0.0.FINAL
Key: JBAS-9586
URL: https://issues.jboss.org/browse/JBAS-9586
Project: Application Server 3 4 5 and 6
Issue Type: Bug
Components: VFS
Affects Versions: 6.0.0.Final
Environment: Windows XP
Reporter: Brad Maxwell
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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list