hg: jdk9/hs-rt/hotspot: 8072588: JVM crashes in JNI if toString is declared as an interface method
markus.gronlund at oracle.com
markus.gronlund at oracle.com
Tue Jun 2 10:50:44 UTC 2015
Changeset: 3cd78165832b
Author: aeriksso
Date: 2015-06-02 10:41 +0200
URL: http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/3cd78165832b
8072588: JVM crashes in JNI if toString is declared as an interface method
Summary: Check for a valid itable index instead of checking if the holder is an interface
Reviewed-by: dsimms, dholmes
! make/test/JtregNative.gmk
! src/share/vm/prims/jni.cpp
+ test/runtime/jni/ToStringInInterfaceTest/ImplementationOfWithToString.java
+ test/runtime/jni/ToStringInInterfaceTest/InterfaceWithToString.java
+ test/runtime/jni/ToStringInInterfaceTest/ToStringTest.java
+ test/runtime/jni/ToStringInInterfaceTest/libToStringTest.c
More information about the jdk9-all-changes
mailing list