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
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 /* Generics reflection support.
1098 *
1099 * Returns information about the given class's EnclosingMethod
1100 * attribute, if present, or null if the class had no enclosing
1101 * method.
1102 *
1103 * If non-null, the returned array contains three elements. Element 0
1104 * is the java.lang.Class of which the enclosing method is a member,
1105 * and elements 1 and 2 are the java.lang.Strings for the enclosing
1106 * method's name and descriptor, respectively.
1107 */
1108 JNIEXPORT jobjectArray JNICALL
1109 JVM_GetEnclosingMethodInfo(JNIEnv* env, jclass ofClass);
1110
1111 /*
1112 * Virtual thread support.
1113 */
1114 JNIEXPORT void JNICALL
1115 JVM_VirtualThreadStart(JNIEnv* env, jobject vthread);
1116
|
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
1083 JNIEXPORT void JNICALL
1084 JVM_RawMonitorExit(void *mon);
1085
1086 /*
1087 * java.lang.management support
1088 */
1089 JNIEXPORT void* JNICALL
1090 JVM_GetManagement(jint version);
1091
1092 /*
1093 * com.sun.tools.attach.VirtualMachine support
1094 *
1095 * Initialize the agent properties with the properties maintained in the VM.
1096 */
1097 JNIEXPORT jobject JNICALL
1098 JVM_InitAgentProperties(JNIEnv *env, jobject agent_props);
1099
1100 JNIEXPORT jstring JNICALL
1101 JVM_GetTemporaryDirectory(JNIEnv *env);
1102
1103 JNIEXPORT jarray JNICALL
1104 JVM_CopyOfSpecialArray(JNIEnv *env, jarray orig, jint from, jint to);
1105
1106 JNIEXPORT jarray JNICALL
1107 JVM_NewNullRestrictedNonAtomicArray(JNIEnv *env, jclass elmClass, jint len, jobject initVal);
1108
1109 JNIEXPORT jarray JNICALL
1110 JVM_NewNullRestrictedAtomicArray(JNIEnv *env, jclass elmClass, jint len, jobject initVal);
1111
1112 JNIEXPORT jarray JNICALL
1113 JVM_NewNullableAtomicArray(JNIEnv *env, jclass elmClass, jint len);
1114
1115 JNIEXPORT jboolean JNICALL
1116 JVM_IsFlatArray(JNIEnv *env, jobject obj);
1117
1118 JNIEXPORT jboolean JNICALL
1119 JVM_IsNullRestrictedArray(JNIEnv *env, jobject obj);
1120
1121 JNIEXPORT jboolean JNICALL
1122 JVM_IsAtomicArray(JNIEnv *env, jobject obj);
1123
1124 /* Generics reflection support.
1125 *
1126 * Returns information about the given class's EnclosingMethod
1127 * attribute, if present, or null if the class had no enclosing
1128 * method.
1129 *
1130 * If non-null, the returned array contains three elements. Element 0
1131 * is the java.lang.Class of which the enclosing method is a member,
1132 * and elements 1 and 2 are the java.lang.Strings for the enclosing
1133 * method's name and descriptor, respectively.
1134 */
1135 JNIEXPORT jobjectArray JNICALL
1136 JVM_GetEnclosingMethodInfo(JNIEnv* env, jclass ofClass);
1137
1138 /*
1139 * Virtual thread support.
1140 */
1141 JNIEXPORT void JNICALL
1142 JVM_VirtualThreadStart(JNIEnv* env, jobject vthread);
1143
|