< prev index next >
src/java.base/share/native/include/jvm.h
Print this page
*** 61,71 ****
* 2. There is a change in the contract between VM and Java classes.
* For example, if the VM relies on a new private field in Thread
* class.
*/
! #define JVM_INTERFACE_VERSION 4
JNIEXPORT jint JNICALL
JVM_GetInterfaceVersion(void);
/*************************************************************************
--- 61,71 ----
* 2. There is a change in the contract between VM and Java classes.
* For example, if the VM relies on a new private field in Thread
* class.
*/
! #define JVM_INTERFACE_VERSION 5
JNIEXPORT jint JNICALL
JVM_GetInterfaceVersion(void);
/*************************************************************************
*** 497,506 ****
--- 497,509 ----
(JNIEnv *env, jobject unused, jobject jcpool, jint index);
JNIEXPORT jclass JNICALL JVM_ConstantPoolGetClassAtIfLoaded
(JNIEnv *env, jobject unused, jobject jcpool, jint index);
+ JNIEXPORT jint JNICALL JVM_ConstantPoolGetClassRefIndexAt
+ (JNIEnv *env, jobject obj, jobject unused, jint index);
+
JNIEXPORT jobject JNICALL JVM_ConstantPoolGetMethodAt
(JNIEnv *env, jobject unused, jobject jcpool, jint index);
JNIEXPORT jobject JNICALL JVM_ConstantPoolGetMethodAtIfLoaded
(JNIEnv *env, jobject unused, jobject jcpool, jint index);
*** 512,521 ****
--- 515,530 ----
(JNIEnv *env, jobject unused, jobject jcpool, jint index);
JNIEXPORT jobjectArray JNICALL JVM_ConstantPoolGetMemberRefInfoAt
(JNIEnv *env, jobject unused, jobject jcpool, jint index);
+ JNIEXPORT jint JNICALL JVM_ConstantPoolGetNameAndTypeRefIndexAt
+ (JNIEnv *env, jobject obj, jobject unused, jint index);
+
+ JNIEXPORT jobjectArray JNICALL JVM_ConstantPoolGetNameAndTypeRefInfoAt
+ (JNIEnv *env, jobject obj, jobject unused, jint index);
+
JNIEXPORT jint JNICALL JVM_ConstantPoolGetIntAt
(JNIEnv *env, jobject unused, jobject jcpool, jint index);
JNIEXPORT jlong JNICALL JVM_ConstantPoolGetLongAt
(JNIEnv *env, jobject unused, jobject jcpool, jint index);
*** 530,539 ****
--- 539,551 ----
(JNIEnv *env, jobject unused, jobject jcpool, jint index);
JNIEXPORT jstring JNICALL JVM_ConstantPoolGetUTF8At
(JNIEnv *env, jobject unused, jobject jcpool, jint index);
+ JNIEXPORT jbyte JNICALL JVM_ConstantPoolGetTagAt
+ (JNIEnv *env, jobject unused, jobject jcpool, jint index);
+
/*
* Parameter reflection
*/
JNIEXPORT jobjectArray JNICALL
< prev index next >