160 JVM_LoadZipLibrary();
161
162 JNIEXPORT void * JNICALL
163 JVM_LoadLibrary(const char *name, jboolean throwException);
164
165 JNIEXPORT void JNICALL
166 JVM_UnloadLibrary(void * handle);
167
168 JNIEXPORT void * JNICALL
169 JVM_FindLibraryEntry(void *handle, const char *name);
170
171 JNIEXPORT jboolean JNICALL
172 JVM_IsSupportedJNIVersion(jint version);
173
174 JNIEXPORT jobjectArray JNICALL
175 JVM_GetVmArguments(JNIEnv *env);
176
177 JNIEXPORT jboolean JNICALL
178 JVM_IsPreviewEnabled(void);
179
180 JNIEXPORT jboolean JNICALL
181 JVM_IsContinuationsSupported(void);
182
183 JNIEXPORT jboolean JNICALL
184 JVM_IsForeignLinkerSupported(void);
185
186 JNIEXPORT jboolean JNICALL
187 JVM_IsStaticallyLinked(void);
188
189 JNIEXPORT void JNICALL
190 JVM_InitializeFromArchive(JNIEnv* env, jclass cls);
191
192 JNIEXPORT void JNICALL
193 JVM_RegisterLambdaProxyClassForArchiving(JNIEnv* env, jclass caller,
194 jstring interfaceMethodName,
195 jobject factoryType,
196 jobject interfaceMethodType,
197 jobject implementationMember,
198 jobject dynamicMethodType,
199 jclass lambdaProxyClass);
542 */
543 JNIEXPORT void JNICALL
544 JVM_DefineArchivedModules(JNIEnv *env, jobject platform_loader, jobject system_loader);
545
546 /*
547 * Reflection support functions
548 */
549
550 JNIEXPORT jstring JNICALL
551 JVM_InitClassName(JNIEnv *env, jclass cls);
552
553 JNIEXPORT jobjectArray JNICALL
554 JVM_GetClassInterfaces(JNIEnv *env, jclass cls);
555
556 JNIEXPORT jboolean JNICALL
557 JVM_IsInterface(JNIEnv *env, jclass cls);
558
559 JNIEXPORT jboolean JNICALL
560 JVM_IsHiddenClass(JNIEnv *env, jclass cls);
561
562 JNIEXPORT jobjectArray JNICALL
563 JVM_GetDeclaredClasses(JNIEnv *env, jclass ofClass);
564
565 JNIEXPORT jclass JNICALL
566 JVM_GetDeclaringClass(JNIEnv *env, jclass ofClass);
567
568 JNIEXPORT jstring JNICALL
569 JVM_GetSimpleBinaryName(JNIEnv *env, jclass ofClass);
570
571 /* Generics support (JDK 1.5) */
572 JNIEXPORT jstring JNICALL
573 JVM_GetClassSignature(JNIEnv *env, jclass cls);
574
575 /* Annotations support (JDK 1.5) */
576 JNIEXPORT jbyteArray JNICALL
577 JVM_GetClassAnnotations(JNIEnv *env, jclass cls);
578
579 /* Type use annotations support (JDK 1.8) */
580
581 JNIEXPORT jbyteArray JNICALL
1068 JNIEXPORT void JNICALL
1069 JVM_RawMonitorExit(void *mon);
1070
1071 /*
1072 * java.lang.management support
1073 */
1074 JNIEXPORT void* JNICALL
1075 JVM_GetManagement(jint version);
1076
1077 /*
1078 * com.sun.tools.attach.VirtualMachine support
1079 *
1080 * Initialize the agent properties with the properties maintained in the VM.
1081 */
1082 JNIEXPORT jobject JNICALL
1083 JVM_InitAgentProperties(JNIEnv *env, jobject agent_props);
1084
1085 JNIEXPORT jstring JNICALL
1086 JVM_GetTemporaryDirectory(JNIEnv *env);
1087
1088 /* Generics reflection support.
1089 *
1090 * Returns information about the given class's EnclosingMethod
1091 * attribute, if present, or null if the class had no enclosing
1092 * method.
1093 *
1094 * If non-null, the returned array contains three elements. Element 0
1095 * is the java.lang.Class of which the enclosing method is a member,
1096 * and elements 1 and 2 are the java.lang.Strings for the enclosing
1097 * method's name and descriptor, respectively.
1098 */
1099 JNIEXPORT jobjectArray JNICALL
1100 JVM_GetEnclosingMethodInfo(JNIEnv* env, jclass ofClass);
1101
1102 /*
1103 * Virtual thread support.
1104 */
1105 JNIEXPORT void JNICALL
1106 JVM_VirtualThreadEndFirstTransition(JNIEnv* env, jobject vthread);
1107
|
160 JVM_LoadZipLibrary();
161
162 JNIEXPORT void * JNICALL
163 JVM_LoadLibrary(const char *name, jboolean throwException);
164
165 JNIEXPORT void JNICALL
166 JVM_UnloadLibrary(void * handle);
167
168 JNIEXPORT void * JNICALL
169 JVM_FindLibraryEntry(void *handle, const char *name);
170
171 JNIEXPORT jboolean JNICALL
172 JVM_IsSupportedJNIVersion(jint version);
173
174 JNIEXPORT jobjectArray JNICALL
175 JVM_GetVmArguments(JNIEnv *env);
176
177 JNIEXPORT jboolean JNICALL
178 JVM_IsPreviewEnabled(void);
179
180 JNIEXPORT jboolean JNICALL
181 JVM_IsValhallaEnabled(void);
182
183 JNIEXPORT jboolean JNICALL
184 JVM_IsContinuationsSupported(void);
185
186 JNIEXPORT jboolean JNICALL
187 JVM_IsForeignLinkerSupported(void);
188
189 JNIEXPORT jboolean JNICALL
190 JVM_IsStaticallyLinked(void);
191
192 JNIEXPORT void JNICALL
193 JVM_InitializeFromArchive(JNIEnv* env, jclass cls);
194
195 JNIEXPORT void JNICALL
196 JVM_RegisterLambdaProxyClassForArchiving(JNIEnv* env, jclass caller,
197 jstring interfaceMethodName,
198 jobject factoryType,
199 jobject interfaceMethodType,
200 jobject implementationMember,
201 jobject dynamicMethodType,
202 jclass lambdaProxyClass);
545 */
546 JNIEXPORT void JNICALL
547 JVM_DefineArchivedModules(JNIEnv *env, jobject platform_loader, jobject system_loader);
548
549 /*
550 * Reflection support functions
551 */
552
553 JNIEXPORT jstring JNICALL
554 JVM_InitClassName(JNIEnv *env, jclass cls);
555
556 JNIEXPORT jobjectArray JNICALL
557 JVM_GetClassInterfaces(JNIEnv *env, jclass cls);
558
559 JNIEXPORT jboolean JNICALL
560 JVM_IsInterface(JNIEnv *env, jclass cls);
561
562 JNIEXPORT jboolean JNICALL
563 JVM_IsHiddenClass(JNIEnv *env, jclass cls);
564
565 JNIEXPORT jboolean JNICALL
566 JVM_IsIdentityClass(JNIEnv *env, jclass cls);
567
568 JNIEXPORT jobjectArray JNICALL
569 JVM_GetDeclaredClasses(JNIEnv *env, jclass ofClass);
570
571 JNIEXPORT jclass JNICALL
572 JVM_GetDeclaringClass(JNIEnv *env, jclass ofClass);
573
574 JNIEXPORT jstring JNICALL
575 JVM_GetSimpleBinaryName(JNIEnv *env, jclass ofClass);
576
577 /* Generics support (JDK 1.5) */
578 JNIEXPORT jstring JNICALL
579 JVM_GetClassSignature(JNIEnv *env, jclass cls);
580
581 /* Annotations support (JDK 1.5) */
582 JNIEXPORT jbyteArray JNICALL
583 JVM_GetClassAnnotations(JNIEnv *env, jclass cls);
584
585 /* Type use annotations support (JDK 1.8) */
586
587 JNIEXPORT jbyteArray JNICALL
1074 JNIEXPORT void JNICALL
1075 JVM_RawMonitorExit(void *mon);
1076
1077 /*
1078 * java.lang.management support
1079 */
1080 JNIEXPORT void* JNICALL
1081 JVM_GetManagement(jint version);
1082
1083 /*
1084 * com.sun.tools.attach.VirtualMachine support
1085 *
1086 * Initialize the agent properties with the properties maintained in the VM.
1087 */
1088 JNIEXPORT jobject JNICALL
1089 JVM_InitAgentProperties(JNIEnv *env, jobject agent_props);
1090
1091 JNIEXPORT jstring JNICALL
1092 JVM_GetTemporaryDirectory(JNIEnv *env);
1093
1094 JNIEXPORT jarray JNICALL
1095 JVM_CopyOfSpecialArray(JNIEnv *env, jarray orig, jint from, jint to);
1096
1097 JNIEXPORT jarray JNICALL
1098 JVM_NewNullRestrictedNonAtomicArray(JNIEnv *env, jclass elmClass, jint len, jobject initVal);
1099
1100 JNIEXPORT jarray JNICALL
1101 JVM_NewNullRestrictedAtomicArray(JNIEnv *env, jclass elmClass, jint len, jobject initVal);
1102
1103 JNIEXPORT jarray JNICALL
1104 JVM_NewNullableAtomicArray(JNIEnv *env, jclass elmClass, jint len);
1105
1106 JNIEXPORT jboolean JNICALL
1107 JVM_IsFlatArray(JNIEnv *env, jobject obj);
1108
1109 JNIEXPORT jboolean JNICALL
1110 JVM_IsNullRestrictedArray(JNIEnv *env, jobject obj);
1111
1112 JNIEXPORT jboolean JNICALL
1113 JVM_IsAtomicArray(JNIEnv *env, jobject obj);
1114
1115 /* Generics reflection support.
1116 *
1117 * Returns information about the given class's EnclosingMethod
1118 * attribute, if present, or null if the class had no enclosing
1119 * method.
1120 *
1121 * If non-null, the returned array contains three elements. Element 0
1122 * is the java.lang.Class of which the enclosing method is a member,
1123 * and elements 1 and 2 are the java.lang.Strings for the enclosing
1124 * method's name and descriptor, respectively.
1125 */
1126 JNIEXPORT jobjectArray JNICALL
1127 JVM_GetEnclosingMethodInfo(JNIEnv* env, jclass ofClass);
1128
1129 /*
1130 * Virtual thread support.
1131 */
1132 JNIEXPORT void JNICALL
1133 JVM_VirtualThreadEndFirstTransition(JNIEnv* env, jobject vthread);
1134
|