[jboss-jira] [JBoss JIRA] Issue Comment Edited: (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 21:08:01 EDT 2011
[ https://issues.jboss.org/browse/JBAS-9399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605930#comment-12605930 ]
Nathan Blomquist edited comment on JBAS-9399 at 6/1/11 9:07 PM:
----------------------------------------------------------------
Attached server.log with a stack trace showing that this issue *is reproducible* in JBoss AS *7.0.0.Beta3*.
was (Author: panchonb):
This is a stack trace showing that this issue is reproducible in JBoss AS 7.0.0.Beta3.
> 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
> 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.
--
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