< prev index next >

src/java.base/share/native/libjava/Class.c

Print this page

        

@@ -50,34 +50,37 @@
 #define CTR "Ljava/lang/reflect/Constructor;"
 #define PD  "Ljava/security/ProtectionDomain;"
 #define BA  "[B"
 
 static JNINativeMethod methods[] = {
-    {"initClassName",    "()" STR,          (void *)&JVM_InitClassName},
-    {"getSuperclass",    "()" CLS,          NULL},
-    {"getInterfaces0",   "()[" CLS,         (void *)&JVM_GetClassInterfaces},
-    {"isInterface",      "()Z",             (void *)&JVM_IsInterface},
-    {"getSigners",       "()[" OBJ,         (void *)&JVM_GetClassSigners},
-    {"setSigners",       "([" OBJ ")V",     (void *)&JVM_SetClassSigners},
-    {"isArray",          "()Z",             (void *)&JVM_IsArrayClass},
-    {"isPrimitive",      "()Z",             (void *)&JVM_IsPrimitiveClass},
-    {"getModifiers",     "()I",             (void *)&JVM_GetClassModifiers},
-    {"getDeclaredFields0","(Z)[" FLD,       (void *)&JVM_GetClassDeclaredFields},
-    {"getDeclaredMethods0","(Z)[" MHD,      (void *)&JVM_GetClassDeclaredMethods},
-    {"getDeclaredConstructors0","(Z)[" CTR, (void *)&JVM_GetClassDeclaredConstructors},
-    {"getProtectionDomain0", "()" PD,       (void *)&JVM_GetProtectionDomain},
-    {"getDeclaredClasses0",  "()[" CLS,     (void *)&JVM_GetDeclaredClasses},
-    {"getDeclaringClass0",   "()" CLS,      (void *)&JVM_GetDeclaringClass},
-    {"getSimpleBinaryName0", "()" STR,      (void *)&JVM_GetSimpleBinaryName},
-    {"getGenericSignature0", "()" STR,      (void *)&JVM_GetClassSignature},
-    {"getRawAnnotations",      "()" BA,     (void *)&JVM_GetClassAnnotations},
-    {"getConstantPool",     "()" CPL,       (void *)&JVM_GetClassConstantPool},
-    {"desiredAssertionStatus0","("CLS")Z",  (void *)&JVM_DesiredAssertionStatus},
-    {"getEnclosingMethod0", "()[" OBJ,      (void *)&JVM_GetEnclosingMethodInfo},
-    {"getRawTypeAnnotations", "()" BA,      (void *)&JVM_GetClassTypeAnnotations},
-    {"getNestHost0",         "()" CLS,      (void *)&JVM_GetNestHost},
-    {"getNestMembers0",      "()[" CLS,     (void *)&JVM_GetNestMembers},
+    {"initClassName",    "()" STR,              (void *)&JVM_InitClassName},
+    {"getSuperclass",    "()" CLS,              NULL},
+    {"getInterfaces0",   "()[" CLS,             (void *)&JVM_GetClassInterfaces},
+    {"isInterface",      "()Z",                 (void *)&JVM_IsInterface},
+    {"getSigners",       "()[" OBJ,             (void *)&JVM_GetClassSigners},
+    {"setSigners",       "([" OBJ ")V",         (void *)&JVM_SetClassSigners},
+    {"isArray",          "()Z",                 (void *)&JVM_IsArrayClass},
+    {"isPrimitive",      "()Z",                 (void *)&JVM_IsPrimitiveClass},
+    {"getModifiers",     "()I",                 (void *)&JVM_GetClassModifiers},
+    {"getDeclaredFields0","(Z)[" FLD,           (void *)&JVM_GetClassDeclaredFields},
+    {"getDeclaredMethods0","(Z)[" MHD,          (void *)&JVM_GetClassDeclaredMethods},
+    {"getDeclaredConstructors0","(Z)[" CTR,     (void *)&JVM_GetClassDeclaredConstructors},
+    {"getProtectionDomain0", "()" PD,           (void *)&JVM_GetProtectionDomain},
+    {"getDeclaredClasses0",  "()[" CLS,         (void *)&JVM_GetDeclaredClasses},
+    {"getDeclaringClass0",   "()" CLS,          (void *)&JVM_GetDeclaringClass},
+    {"getSimpleBinaryName0", "()" STR,          (void *)&JVM_GetSimpleBinaryName},
+    {"getGenericSignature0", "()" STR,          (void *)&JVM_GetClassSignature},
+    {"getRawAnnotations",      "()" BA,         (void *)&JVM_GetClassAnnotations},
+    {"getConstantPool",     "()" CPL,           (void *)&JVM_GetClassConstantPool},
+    {"desiredAssertionStatus0","("CLS")Z",      (void *)&JVM_DesiredAssertionStatus},
+    {"getEnclosingMethod0", "()[" OBJ,          (void *)&JVM_GetEnclosingMethodInfo},
+    {"getRawTypeAnnotations", "()" BA,          (void *)&JVM_GetClassTypeAnnotations},
+    {"getNestHost0",         "()" CLS,          (void *)&JVM_GetNestHost},
+    {"getNestMembers0",      "()[" CLS,         (void *)&JVM_GetNestMembers},
+    {"getPermittedSubtypes0", "()[" CLS,        (void *)&JVM_GetPermittedSubtypes},
+    {"getRecordComponentNames0",  "()[" STR,    (void *)&JVM_GetRecordComponentNames},
+    {"isRecord0",                 "()Z",        (void *)&JVM_IsRecord},
 };
 
 #undef OBJ
 #undef CLS
 #undef STR
< prev index next >