]
Pete Muir updated WELD-520:
---------------------------
Priority: Major (was: Critical)
Weld does not work in OSGI container's classloader (and lacks
OSGI bundles by the way)
--------------------------------------------------------------------------------------
Key: WELD-520
URL:
https://jira.jboss.org/jira/browse/WELD-520
Project: Weld
Issue Type: Bug
Components: OSGi support
Affects Versions: 1.0.1.Final
Environment: Java SE, Weld 1.01 SE, Felix 2.02
Reporter: Morten Christensen
Weld SE will does not work inside an OSGI bundle. If you try to start WeldSE from within
a OSGI bundle, you will get.
Error loading Weld bootstrap, check that Weld is on the classpath
at org.jboss.weld.environment.se.Weld.<init>(Weld.java:59)
Looking at the cause, it seems org.jboss.weld.environment.se.util.Reflections only works
with Thread context classloaders and plain Class.forname both of which are NO-NO in osgi.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: