Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
JCR Resource 2.2.8
-
None
-
GNU/Linux 2.6.18-274.18.1.el5
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
Description
The issue described in SLING-1414 arises only on JDK 1.7 on the previously described Linux platform. It can be assumed that there is a platform-specific deviation in compiler behavior, as the issue does not arise in MacOs or Windows environments:
Caused by: java.lang.IllegalAccessException: Class javax.el.BeanELResolver can not access a member of class org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResource with modifiers "public" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95) at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:261) at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:253) at java.lang.reflect.Method.invoke(Method.java:594) at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)