Environnement :
Javamelody 1.54, Java 8 (JDK jdk1.8.0_40), Tomcat 8 (8.0.20), Win64, Oracle DB
With a datasource defined in context level (using
org.apache.tomcat.jdbc.pool.DataSourceFactory), an IllegalAccessException is
thrown starting the application :
java.lang.IllegalAccessException: Class net.bull.javamelody.JdbcWrapperHelper
can not access a member of class oracle.jdbc.driver.$Proxy76 with modifiers
"public"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)
at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)
at java.lang.reflect.Constructor.newInstance(Constructor.java:412)
at net.bull.javamelody.JdbcWrapperHelper.createProxy(JdbcWrapperHelper.java:476)
The same config is ok with Java 7.
This problem NetBeans had looks similar :
https://netbeans.org/bugzilla/show_bug.cgi?id=229191
Original issue reported on code.google.com by seb.mat...@gmail.com on 15 Apr 2015 at 1:38
Original issue reported on code.google.com by
seb.mat...@gmail.com
on 15 Apr 2015 at 1:38