[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKWRAP-253) ClassAsset / ClassLoaderAsset should not use TCCL
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Mon Mar 21 18:22:45 EDT 2011
[ https://issues.jboss.org/browse/SHRINKWRAP-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589486#comment-12589486 ]
Andrew Rubinger commented on SHRINKWRAP-253:
--------------------------------------------
If the CL is null, it *may be* the Bootstrap CL.
Regardless, I think that's a safe fix, Prabin.
> ClassAsset / ClassLoaderAsset should not use TCCL
> -------------------------------------------------
>
> Key: SHRINKWRAP-253
> URL: https://issues.jboss.org/browse/SHRINKWRAP-253
> Project: ShrinkWrap
> Issue Type: Bug
> Reporter: Aslak Knutsen
>
> ClassAsset.openStream should not fall back to using TCCL if class.getClassLoader is null. That means it's a System resource and static ClassLoader.getResourceAsStream should be used instead.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list