[jboss-jira] [JBoss JIRA] Created: (JBAS-9399) URL.getContent() returns VirtualFile instead of ImageProducer in JBoss AS 6.0.0.FINAL

Nathan Blomquist (JIRA) jira-events at lists.jboss.org
Wed Jun 1 11:05:01 EDT 2011


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: Legacy JBoss Application Server 6 
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: VFS
    Affects Versions: 6.0.0.Final
         Environment: Windows XP
            Reporter: Nathan Blomquist


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list