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);
541 */
542 JNIEXPORT void JNICALL
543 JVM_DefineArchivedModules(JNIEnv *env, jobject platform_loader, jobject system_loader);
544
545 /*
546 * Reflection support functions
547 */
548
549 JNIEXPORT jstring JNICALL
550 JVM_InitClassName(JNIEnv *env, jclass cls);
551
552 JNIEXPORT jobjectArray JNICALL
553 JVM_GetClassInterfaces(JNIEnv *env, jclass cls);
554
555 JNIEXPORT jboolean JNICALL
556 JVM_IsInterface(JNIEnv *env, jclass cls);
557
558 JNIEXPORT jboolean JNICALL
559 JVM_IsHiddenClass(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
1067 JNIEXPORT void JNICALL
1068 JVM_RawMonitorExit(void *mon);
1069
1070 /*
1071 * java.lang.management support
1072 */
1073 JNIEXPORT void* JNICALL
1074 JVM_GetManagement(jint version);
1075
1076 /*
1077 * com.sun.tools.attach.VirtualMachine support
1078 *
1079 * Initialize the agent properties with the properties maintained in the VM.
1080 */
1081 JNIEXPORT jobject JNICALL
1082 JVM_InitAgentProperties(JNIEnv *env, jobject agent_props);
1083
1084 JNIEXPORT jstring JNICALL
1085 JVM_GetTemporaryDirectory(JNIEnv *env);
1086
1087 /* Generics reflection support.
1088 *
1089 * Returns information about the given class's EnclosingMethod
1090 * attribute, if present, or null if the class had no enclosing
1091 * method.
1092 *
1093 * If non-null, the returned array contains three elements. Element 0
1094 * is the java.lang.Class of which the enclosing method is a member,
1095 * and elements 1 and 2 are the java.lang.Strings for the enclosing
1096 * method's name and descriptor, respectively.
1097 */
1098 JNIEXPORT jobjectArray JNICALL
1099 JVM_GetEnclosingMethodInfo(JNIEnv* env, jclass ofClass);
1100
1101 /*
1102 * Virtual thread support.
1103 */
1104 JNIEXPORT void JNICALL
1105 JVM_VirtualThreadStart(JNIEnv* env, jobject vthread);
1106
|
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);
544 */
545 JNIEXPORT void JNICALL
546 JVM_DefineArchivedModules(JNIEnv *env, jobject platform_loader, jobject system_loader);
547
548 /*
549 * Reflection support functions
550 */
551
552 JNIEXPORT jstring JNICALL
553 JVM_InitClassName(JNIEnv *env, jclass cls);
554
555 JNIEXPORT jobjectArray JNICALL
556 JVM_GetClassInterfaces(JNIEnv *env, jclass cls);
557
558 JNIEXPORT jboolean JNICALL
559 JVM_IsInterface(JNIEnv *env, jclass cls);
560
561 JNIEXPORT jboolean JNICALL
562 JVM_IsHiddenClass(JNIEnv *env, jclass cls);
563
564 JNIEXPORT jboolean JNICALL
565 JVM_IsIdentityClass(JNIEnv *env, jclass cls);
566
567 JNIEXPORT jobjectArray JNICALL
568 JVM_GetDeclaredClasses(JNIEnv *env, jclass ofClass);
569
570 JNIEXPORT jclass JNICALL
571 JVM_GetDeclaringClass(JNIEnv *env, jclass ofClass);
572
573 JNIEXPORT jstring JNICALL
574 JVM_GetSimpleBinaryName(JNIEnv *env, jclass ofClass);
575
576 /* Generics support (JDK 1.5) */
577 JNIEXPORT jstring JNICALL
578 JVM_GetClassSignature(JNIEnv *env, jclass cls);
579
580 /* Annotations support (JDK 1.5) */
581 JNIEXPORT jbyteArray JNICALL
582 JVM_GetClassAnnotations(JNIEnv *env, jclass cls);
583
584 /* Type use annotations support (JDK 1.8) */
585
586 JNIEXPORT jbyteArray JNICALL
1073 JNIEXPORT void JNICALL
1074 JVM_RawMonitorExit(void *mon);
1075
1076 /*
1077 * java.lang.management support
1078 */
1079 JNIEXPORT void* JNICALL
1080 JVM_GetManagement(jint version);
1081
1082 /*
1083 * com.sun.tools.attach.VirtualMachine support
1084 *
1085 * Initialize the agent properties with the properties maintained in the VM.
1086 */
1087 JNIEXPORT jobject JNICALL
1088 JVM_InitAgentProperties(JNIEnv *env, jobject agent_props);
1089
1090 JNIEXPORT jstring JNICALL
1091 JVM_GetTemporaryDirectory(JNIEnv *env);
1092
1093 JNIEXPORT jarray JNICALL
1094 JVM_CopyOfSpecialArray(JNIEnv *env, jarray orig, jint from, jint to);
1095
1096 JNIEXPORT jarray JNICALL
1097 JVM_NewNullRestrictedNonAtomicArray(JNIEnv *env, jclass elmClass, jint len, jobject initVal);
1098
1099 JNIEXPORT jarray JNICALL
1100 JVM_NewNullRestrictedAtomicArray(JNIEnv *env, jclass elmClass, jint len, jobject initVal);
1101
1102 JNIEXPORT jarray JNICALL
1103 JVM_NewNullableAtomicArray(JNIEnv *env, jclass elmClass, jint len);
1104
1105 JNIEXPORT jboolean JNICALL
1106 JVM_IsFlatArray(JNIEnv *env, jobject obj);
1107
1108 JNIEXPORT jboolean JNICALL
1109 JVM_IsNullRestrictedArray(JNIEnv *env, jobject obj);
1110
1111 JNIEXPORT jboolean JNICALL
1112 JVM_IsAtomicArray(JNIEnv *env, jobject obj);
1113
1114 /* Generics reflection support.
1115 *
1116 * Returns information about the given class's EnclosingMethod
1117 * attribute, if present, or null if the class had no enclosing
1118 * method.
1119 *
1120 * If non-null, the returned array contains three elements. Element 0
1121 * is the java.lang.Class of which the enclosing method is a member,
1122 * and elements 1 and 2 are the java.lang.Strings for the enclosing
1123 * method's name and descriptor, respectively.
1124 */
1125 JNIEXPORT jobjectArray JNICALL
1126 JVM_GetEnclosingMethodInfo(JNIEnv* env, jclass ofClass);
1127
1128 /*
1129 * Virtual thread support.
1130 */
1131 JNIEXPORT void JNICALL
1132 JVM_VirtualThreadStart(JNIEnv* env, jobject vthread);
1133
|