Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Critical
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 1.0.0-alpha-13
-
Component/s: impl-base
-
Labels:None
Description
The Shrinkwrap static API to create and interact with Archives often makes use of the ThreadContextClassLoader which is problematic in a modular environment such as JBoss Modules and OSGi.
Shrinkwrap should be made more friendly toward systems that use a classloader per module. For more background, see this email thread:
http://lists.jboss.org/pipermail/jboss-as7-dev/2010-December/000122.html
Gliffy Diagrams
Issue Links
- blocks
-
SHRINKWRAP-242
Get shrinkwrap to work from inside an OSGi framework
-
- Closed
-
David: I put this upstream:
https://github.com/shrinkwrap/shrinkwrap/commit/0660e201c512a8902316d3e9e5f8aaba542384d1
In particular have a look at ShrinkWrapTestCase.serviceExtensionLoadingUsesExplicitDomainClassLoader:
http://pastebin.com/vJmqv3u0
If this satisfies the case, we can resolve.