RFR [9]: 8177036: Class.checkMemberAccess throws NPE when calling Class methods via JNI

Mandy Chung mandy.chung at oracle.com
Mon Mar 20 18:07:39 UTC 2017


> On Mar 20, 2017, at 2:19 AM, Claes Redestad <claes.redestad at oracle.com> wrote:
> 
> Hi,
> 
> please review this fix to avoid NPEs when calling certain Class methods via JNI:
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8177036
> Webrev: http://cr.openjdk.java.net/~redestad/8177036/jdk.01/


Looks okay.  I agree that at some point we should look at @CS methods and if the no caller case is properly handled.  I filed a JBS issue for it:
  https://bugs.openjdk.java.net/browse/JDK-8177155

Mandy


More information about the core-libs-dev mailing list