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