[jboss-jira] [JBoss JIRA] (WFLY-10706) URL.getContent() returns VirtualFile instead of ImageProducer
Tomas Hofman (JIRA)
issues at jboss.org
Wed Jul 18 06:42:02 EDT 2018
[ https://issues.jboss.org/browse/WFLY-10706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomas Hofman moved JBEAP-15071 to WFLY-10706:
---------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-10706 (was: JBEAP-15071)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: VFS
(was: VFS)
Affects Version/s: 13.0.0.Final
(was: 7.1.3.GA)
> URL.getContent() returns VirtualFile instead of ImageProducer
> -------------------------------------------------------------
>
> Key: WFLY-10706
> URL: https://issues.jboss.org/browse/WFLY-10706
> Project: WildFly
> Issue Type: Bug
> Components: VFS
> Affects Versions: 13.0.0.Final
> Environment: Windows XP
> Reporter: Tomas Hofman
> Assignee: Tomas Hofman
>
> 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