Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 2.0.19
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
Environment:Any
-
Number of attachments :
Description
When running MVEL inside of an OSGI container, the following error message has been observed sporadically: 'unable to instantiate accessor compiler'. After looking through the OptimizerFactory class, I noticed that the contextClassLoader is being used to load the optimizer class. In an OSGI framework, this causes indeterministic behavior, since there are several different isolated classloaders. It may be better to revert to the ClassLoader that loaded the OptimizerFactory.class in this case.