diff src/share/vm/prims/jvm.h @ 7958:815957d0203e

8004967: Default method cause VerifyError: Illegal use of nonvirtual Summary: Recognize VM generated method in old verifier Reviewed-by: acorn, coleenp Contributed-by: bharadwaj.yadavelli@oracle.com
author acorn
date Mon, 28 Jan 2013 10:55:30 -0500
parents b14da2e6f2dc
children 41d73c9b30a8
line wrap: on
line diff
--- a/src/share/vm/prims/jvm.h	Sun Jan 27 21:58:34 2013 -0500
+++ b/src/share/vm/prims/jvm.h	Mon Jan 28 10:55:30 2013 -0500
@@ -860,6 +860,13 @@
 JVM_IsConstructorIx(JNIEnv *env, jclass cb, int index);
 
 /*
+ * Is the given method generated by the VM.
+ * The method is identified by method_index.
+ */
+JNIEXPORT jboolean JNICALL
+JVM_IsVMGeneratedMethodIx(JNIEnv *env, jclass cb, int index);
+
+/*
  * Returns the name of a given method in UTF format.
  * The result remains valid until JVM_ReleaseUTF is called.
  *