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);
532 */
533 JNIEXPORT void JNICALL
534 JVM_DefineArchivedModules(JNIEnv *env, jobject platform_loader, jobject system_loader);
535
536 /*
537 * Reflection support functions
538 */
539
540 JNIEXPORT jstring JNICALL
541 JVM_InitClassName(JNIEnv *env, jclass cls);
542
543 JNIEXPORT jobjectArray JNICALL
544 JVM_GetClassInterfaces(JNIEnv *env, jclass cls);
545
546 JNIEXPORT jboolean JNICALL
547 JVM_IsInterface(JNIEnv *env, jclass cls);
548
549 JNIEXPORT jboolean JNICALL
550 JVM_IsHiddenClass(JNIEnv *env, jclass cls);
551
552 JNIEXPORT jobjectArray JNICALL
553 JVM_GetDeclaredClasses(JNIEnv *env, jclass ofClass);
554
555 JNIEXPORT jclass JNICALL
556 JVM_GetDeclaringClass(JNIEnv *env, jclass ofClass);
557
558 JNIEXPORT jstring JNICALL
559 JVM_GetSimpleBinaryName(JNIEnv *env, jclass ofClass);
560
561 /* Generics support (JDK 1.5) */
562 JNIEXPORT jstring JNICALL
563 JVM_GetClassSignature(JNIEnv *env, jclass cls);
564
565 /* Annotations support (JDK 1.5) */
566 JNIEXPORT jbyteArray JNICALL
567 JVM_GetClassAnnotations(JNIEnv *env, jclass cls);
568
569 /* Type use annotations support (JDK 1.8) */
570
571 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_VirtualThreadStart(JNIEnv* env, jobject vthread);
1107
|
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);
535 */
536 JNIEXPORT void JNICALL
537 JVM_DefineArchivedModules(JNIEnv *env, jobject platform_loader, jobject system_loader);
538
539 /*
540 * Reflection support functions
541 */
542
543 JNIEXPORT jstring JNICALL
544 JVM_InitClassName(JNIEnv *env, jclass cls);
545
546 JNIEXPORT jobjectArray JNICALL
547 JVM_GetClassInterfaces(JNIEnv *env, jclass cls);
548
549 JNIEXPORT jboolean JNICALL
550 JVM_IsInterface(JNIEnv *env, jclass cls);
551
552 JNIEXPORT jboolean JNICALL
553 JVM_IsHiddenClass(JNIEnv *env, jclass cls);
554
555 JNIEXPORT jboolean JNICALL
556 JVM_IsIdentityClass(JNIEnv *env, jclass cls);
557
558 JNIEXPORT jboolean JNICALL
559 JVM_IsImplicitlyConstructibleClass(JNIEnv *env, jclass cls);
560
561 JNIEXPORT jobjectArray JNICALL
562 JVM_GetDeclaredClasses(JNIEnv *env, jclass ofClass);
563
564 JNIEXPORT jclass JNICALL
565 JVM_GetDeclaringClass(JNIEnv *env, jclass ofClass);
566
567 JNIEXPORT jstring JNICALL
568 JVM_GetSimpleBinaryName(JNIEnv *env, jclass ofClass);
569
570 /* Generics support (JDK 1.5) */
571 JNIEXPORT jstring JNICALL
572 JVM_GetClassSignature(JNIEnv *env, jclass cls);
573
574 /* Annotations support (JDK 1.5) */
575 JNIEXPORT jbyteArray JNICALL
576 JVM_GetClassAnnotations(JNIEnv *env, jclass cls);
577
578 /* Type use annotations support (JDK 1.8) */
579
580 JNIEXPORT jbyteArray JNICALL
1077 JNIEXPORT void JNICALL
1078 JVM_RawMonitorExit(void *mon);
1079
1080 /*
1081 * java.lang.management support
1082 */
1083 JNIEXPORT void* JNICALL
1084 JVM_GetManagement(jint version);
1085
1086 /*
1087 * com.sun.tools.attach.VirtualMachine support
1088 *
1089 * Initialize the agent properties with the properties maintained in the VM.
1090 */
1091 JNIEXPORT jobject JNICALL
1092 JVM_InitAgentProperties(JNIEnv *env, jobject agent_props);
1093
1094 JNIEXPORT jstring JNICALL
1095 JVM_GetTemporaryDirectory(JNIEnv *env);
1096
1097 JNIEXPORT jarray JNICALL
1098 JVM_NewNullRestrictedArray(JNIEnv *env, jclass elmClass, jint len);
1099
1100 JNIEXPORT jarray JNICALL
1101 JVM_NewNullRestrictedAtomicArray(JNIEnv *env, jclass elmClass, jint len);
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_VirtualThreadStart(JNIEnv* env, jobject vthread);
1134
|