Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
7955:cf8470eaf7e5 | 7958:815957d0203e |
---|---|
856 * Is a given method a constructor. | 856 * Is a given method a constructor. |
857 * The method is identified by method_index. | 857 * The method is identified by method_index. |
858 */ | 858 */ |
859 JNIEXPORT jboolean JNICALL | 859 JNIEXPORT jboolean JNICALL |
860 JVM_IsConstructorIx(JNIEnv *env, jclass cb, int index); | 860 JVM_IsConstructorIx(JNIEnv *env, jclass cb, int index); |
861 | |
862 /* | |
863 * Is the given method generated by the VM. | |
864 * The method is identified by method_index. | |
865 */ | |
866 JNIEXPORT jboolean JNICALL | |
867 JVM_IsVMGeneratedMethodIx(JNIEnv *env, jclass cb, int index); | |
861 | 868 |
862 /* | 869 /* |
863 * Returns the name of a given method in UTF format. | 870 * Returns the name of a given method in UTF format. |
864 * The result remains valid until JVM_ReleaseUTF is called. | 871 * The result remains valid until JVM_ReleaseUTF is called. |
865 * | 872 * |