85 * 2. There is a change in the contract between VM and Java classes. |
85 * 2. There is a change in the contract between VM and Java classes. |
86 * For example, if the VM relies on a new private field in Thread |
86 * For example, if the VM relies on a new private field in Thread |
87 * class. |
87 * class. |
88 */ |
88 */ |
89 |
89 |
90 #define JVM_INTERFACE_VERSION 4 |
90 #define JVM_INTERFACE_VERSION 5 |
91 |
91 |
92 JNIEXPORT jobjectArray JNICALL |
92 JNIEXPORT jobjectArray JNICALL |
93 JVM_GetMethodParameters(JNIEnv *env, jobject method); |
93 JVM_GetMethodParameters(JNIEnv *env, jobject method); |
94 |
94 |
95 JNIEXPORT jint JNICALL |
95 JNIEXPORT jint JNICALL |
530 (JNIEnv *env, jobject obj, jobject unused, jint index); |
530 (JNIEnv *env, jobject obj, jobject unused, jint index); |
531 |
531 |
532 JNIEXPORT jobjectArray JNICALL JVM_ConstantPoolGetMemberRefInfoAt |
532 JNIEXPORT jobjectArray JNICALL JVM_ConstantPoolGetMemberRefInfoAt |
533 (JNIEnv *env, jobject obj, jobject unused, jint index); |
533 (JNIEnv *env, jobject obj, jobject unused, jint index); |
534 |
534 |
|
535 JNIEXPORT jobjectArray JNICALL JVM_ConstantPoolGetNameAndTypeRefInfoAt |
|
536 (JNIEnv *env, jobject obj, jobject unused, jint index); |
|
537 |
|
538 JNIEXPORT jint JNICALL JVM_ConstantPoolGetNameAndTypeRefIndexAt |
|
539 (JNIEnv *env, jobject obj, jobject unused, jint index); |
|
540 |
|
541 JNIEXPORT jint JNICALL JVM_ConstantPoolGetClassRefIndexAt |
|
542 (JNIEnv *env, jobject obj, jobject unused, jint index); |
|
543 |
535 JNIEXPORT jint JNICALL JVM_ConstantPoolGetIntAt |
544 JNIEXPORT jint JNICALL JVM_ConstantPoolGetIntAt |
536 (JNIEnv *env, jobject obj, jobject unused, jint index); |
545 (JNIEnv *env, jobject obj, jobject unused, jint index); |
537 |
546 |
538 JNIEXPORT jlong JNICALL JVM_ConstantPoolGetLongAt |
547 JNIEXPORT jlong JNICALL JVM_ConstantPoolGetLongAt |
539 (JNIEnv *env, jobject obj, jobject unused, jint index); |
548 (JNIEnv *env, jobject obj, jobject unused, jint index); |
547 JNIEXPORT jstring JNICALL JVM_ConstantPoolGetStringAt |
556 JNIEXPORT jstring JNICALL JVM_ConstantPoolGetStringAt |
548 (JNIEnv *env, jobject obj, jobject unused, jint index); |
557 (JNIEnv *env, jobject obj, jobject unused, jint index); |
549 |
558 |
550 JNIEXPORT jstring JNICALL JVM_ConstantPoolGetUTF8At |
559 JNIEXPORT jstring JNICALL JVM_ConstantPoolGetUTF8At |
551 (JNIEnv *env, jobject obj, jobject unused, jint index); |
560 (JNIEnv *env, jobject obj, jobject unused, jint index); |
|
561 |
|
562 JNIEXPORT jbyte JNICALL JVM_ConstantPoolGetTagAt |
|
563 (JNIEnv *env, jobject unused, jobject jcpool, jint index); |
552 |
564 |
553 /* |
565 /* |
554 * java.security.* |
566 * java.security.* |
555 */ |
567 */ |
556 |
568 |