Fwd: RFR (XS) JDK-8024804: Crash when InterfaceMethodref resolves to Object.registerNatives

Lois Foltan lois.foltan at oracle.com
Tue Oct 15 11:08:49 PDT 2013


My apologies, the correct webrev for this fix is:
     http://cr.openjdk.java.net/~hseigel/bug_jdk8024804/

Thank you,
Lois

-------- Original Message --------
Subject: 	RFR (XS) JDK-8024804: Crash when InterfaceMethodref resolves 
to Object.registerNatives
Date: 	Tue, 15 Oct 2013 14:06:59 -0400
From: 	Lois Foltan <lois.foltan at oracle.com>
Organization: 	Oracle Corporation
To: 	hotspot-runtime-dev at openjdk.java.net 
<hotspot-runtime-dev at openjdk.java.net>



Please review the following fix:

Webrev:
     http://javaweb.us.oracle.com/~lfoltan/webrev/bug_jdk8024804/

Bug: Crash when InterfaceMethodref resolves to Object.registerNatives
     https://bugs.openjdk.java.net/browse/JDK-8024804

Summary of fix:
     When trying to look up the registerNatives() method within Object's
super() class, a crash occurred
     due to the fact that an Object's superclass is NULL.  Added a check
for a NULL superclass prior to
     continuation of method look up.

Tests:
     JTREG, vm.quick.testlist
     test/runtime/8024804/RegisterNatives.java added

Thank you, Lois



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20131015/8cd2ace1/attachment-0001.html 


More information about the hotspot-runtime-dev mailing list