Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Class.forName() could make OGNL unusable inside OSGi.
The fix would involve the ClassLoader.loadClass() method, allowing users setting a custom {{ClassLoader}
Classes affected by that issues are:
- org.apache.commons.ognl.DefaultClassResolver
- org.apache.commons.ognl.OgnlRuntime
The org.apache.commons.ognl.ASTMap class is affected as well, even if loading java.util.LinkedHashMap in that way should be safe.