[jboss-jira] [JBoss JIRA] (JBAS-9399) URL.getContent() returns VirtualFile instead of ImageProducer in JBoss AS 6.0.0.FINAL
RH Bugzilla Integration (JIRA)
issues at jboss.org
Wed Aug 29 11:40:00 EDT 2018
[ https://issues.jboss.org/browse/JBAS-9399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625959#comment-13625959 ]
RH Bugzilla Integration commented on JBAS-9399:
-----------------------------------------------
Roberto Oliveira <rguimara at redhat.com> changed the Status of [bug 1599851|https://bugzilla.redhat.com/show_bug.cgi?id=1599851] from MODIFIED to ON_QA
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list