[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKWRAP-253) ClassAsset / ClassLoaderAsset should not use TCCL
Tommy Tynjä (JIRA)
jira-events at lists.jboss.org
Sat May 14 13:33:01 EDT 2011
[ https://issues.jboss.org/browse/SHRINKWRAP-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602140#comment-12602140 ]
Tommy Tynjä commented on SHRINKWRAP-253:
----------------------------------------
I've implemented Prabins suggestion and pushed it to Github: https://github.com/tommysdk/shrinkwrap/tree/SHRINKWRAP-253
Hadn't time to create a unit test for it now though, and I'm quite unsure how to create such a test in the first place.
> 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