public class sun.invoke.util.VerifyAccess
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.invoke.util.VerifyAccess
super_class: java.lang.Object
{
private static final int UNCONDITIONAL_ALLOWED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 32
private static final int MODULE_ALLOWED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private static final int PACKAGE_ONLY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int PACKAGE_ALLOWED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int PROTECTED_OR_PACKAGE_ALLOWED;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 12
private static final int ALL_ACCESS_MODES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/invoke/util/VerifyAccess;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.invoke.util.VerifyAccess.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/invoke/util/VerifyAccess;
public static boolean isMemberAccessible(java.lang.Class<?>, java.lang.Class<?>, int, java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Class;ILjava/lang/Class;I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
ifne 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
getstatic sun.invoke.util.VerifyAccess.$assertionsDisabled:Z
ifne 4
iload 4
iconst_1
iand
ifeq 3
2: iload 4
bipush -64
iand
ifeq 4
StackMap locals:
StackMap stack:
3: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 3
iload 4
invokestatic sun.invoke.util.VerifyAccess.isClassAccessible:(Ljava/lang/Class;Ljava/lang/Class;I)Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
aload 3
if_acmpne 9
7: iload 4
iconst_2
iand
ifeq 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
iload 2
bipush 7
iand
tableswitch { // 0 - 4
0: 24
1: 10
2: 29
3: 37
4: 11
default: 37
}
10: StackMap locals:
StackMap stack:
iconst_1
ireturn
11: StackMap locals:
StackMap stack:
getstatic sun.invoke.util.VerifyAccess.$assertionsDisabled:Z
ifne 12
aload 1
invokevirtual java.lang.Class.isInterface:()Z
ifeq 12
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
iload 4
bipush 12
iand
ifeq 15
13: aload 1
aload 3
invokestatic sun.invoke.util.VerifyAccess.isSamePackage:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 15
14: iconst_1
ireturn
15: StackMap locals:
StackMap stack:
iload 4
iconst_4
iand
ifne 17
16: iconst_0
ireturn
17: StackMap locals:
StackMap stack:
iload 2
bipush 8
iand
ifeq 20
18: aload 0
aload 3
invokestatic sun.invoke.util.VerifyAccess.isRelatedClass:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 20
19: iconst_0
ireturn
20: StackMap locals:
StackMap stack:
iload 4
iconst_4
iand
ifeq 23
21: aload 3
aload 1
invokestatic sun.invoke.util.VerifyAccess.isSubClass:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 23
22: iconst_1
ireturn
23: StackMap locals:
StackMap stack:
iconst_0
ireturn
24: StackMap locals:
StackMap stack:
getstatic sun.invoke.util.VerifyAccess.$assertionsDisabled:Z
ifne 25
aload 1
invokevirtual java.lang.Class.isInterface:()Z
ifeq 25
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
25: StackMap locals:
StackMap stack:
iload 4
bipush 8
iand
ifeq 28
26: aload 1
aload 3
invokestatic sun.invoke.util.VerifyAccess.isSamePackage:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 28
27: iconst_1
ireturn
StackMap locals:
StackMap stack:
28: iconst_0
ireturn
29: StackMap locals:
StackMap stack:
iload 4
iconst_2
iand
ifeq 32
30: aload 1
aload 3
invokestatic jdk.internal.reflect.Reflection.areNestMates:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 32
31: iconst_1
goto 33
StackMap locals:
StackMap stack:
32: iconst_0
StackMap locals:
StackMap stack: int
33: istore 5
start local 5 34: getstatic sun.invoke.util.VerifyAccess.$assertionsDisabled:Z
ifne 36
iload 5
ifeq 35
aload 0
aload 1
if_acmpeq 36
StackMap locals: int
StackMap stack:
35: iload 5
ifeq 36
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
36: StackMap locals:
StackMap stack:
iload 5
ireturn
end local 5 37: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "bad modifiers: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokestatic java.lang.reflect.Modifier.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 refc Ljava/lang/Class<*>;
0 38 1 defc Ljava/lang/Class<*>;
0 38 2 mods I
0 38 3 lookupClass Ljava/lang/Class<*>;
0 38 4 allowedModes I
34 37 5 canAccess Z
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;ILjava/lang/Class<*>;I)Z
MethodParameters:
Name Flags
refc
defc
mods
lookupClass
allowedModes
static boolean isRelatedClass(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpeq 4
1: aload 0
aload 1
invokestatic sun.invoke.util.VerifyAccess.isSubClass:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 4
2: aload 1
aload 0
invokestatic sun.invoke.util.VerifyAccess.isSubClass:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 4
3: iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 refc Ljava/lang/Class<*>;
0 5 1 lookupClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
refc
lookupClass
static boolean isSubClass(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 3
1: aload 0
invokevirtual java.lang.Class.isInterface:()Z
ifne 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 lookupClass Ljava/lang/Class<*>;
0 4 1 defc Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
lookupClass
defc
static int getClassModifiers(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.isArray:()Z
ifne 1
aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getModifiers:()I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.internal.reflect.Reflection.getClassAccessFlags:(Ljava/lang/Class;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)I
MethodParameters:
Name Flags
c
public static boolean isClassAccessible(java.lang.Class<?>, java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Class;I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifne 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
getstatic sun.invoke.util.VerifyAccess.$assertionsDisabled:Z
ifne 4
iload 2
iconst_1
iand
ifeq 3
2: iload 2
bipush -64
iand
ifeq 4
StackMap locals:
StackMap stack:
3: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.invoke.util.VerifyAccess.getClassModifiers:(Ljava/lang/Class;)I
istore 3
start local 3 5: iload 3
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 24
6: aload 1
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 4
start local 4 7: aload 0
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 5
start local 5 8: aload 4
ifnonnull 11
9: getstatic sun.invoke.util.VerifyAccess.$assertionsDisabled:Z
ifne 10
aload 5
ifnull 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals: int java.lang.Module java.lang.Module
StackMap stack:
iconst_1
ireturn
11: StackMap locals:
StackMap stack:
iload 2
bipush 16
iand
ifeq 14
12: aload 4
aload 5
if_acmpne 14
13: iconst_1
ireturn
14: StackMap locals:
StackMap stack:
iload 2
bipush 32
iand
ifne 16
15: aload 4
aload 5
invokevirtual java.lang.Module.canRead:(Ljava/lang/Module;)Z
ifeq 23
16: StackMap locals:
StackMap stack:
iload 2
bipush 16
iand
ifeq 19
17: aload 5
aload 0
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
aload 4
invokevirtual java.lang.Module.isExported:(Ljava/lang/String;Ljava/lang/Module;)Z
ifeq 21
18: iconst_1
ireturn
19: StackMap locals:
StackMap stack:
aload 5
aload 0
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
invokevirtual java.lang.Module.isExported:(Ljava/lang/String;)Z
ifeq 21
20: iconst_1
ireturn
21: StackMap locals:
StackMap stack:
invokestatic jdk.internal.misc.VM.isModuleSystemInited:()Z
ifne 23
22: iconst_1
ireturn
23: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 5 end local 4 24: StackMap locals:
StackMap stack:
iload 2
bipush 8
iand
ifeq 27
25: aload 1
aload 0
invokestatic sun.invoke.util.VerifyAccess.isSamePackage:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifeq 27
26: iconst_1
ireturn
27: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 refc Ljava/lang/Class<*>;
0 28 1 lookupClass Ljava/lang/Class<*>;
0 28 2 allowedModes I
5 28 3 mods I
7 24 4 lookupModule Ljava/lang/Module;
8 24 5 refModule Ljava/lang/Module;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;I)Z
MethodParameters:
Name Flags
refc
lookupClass
allowedModes
public static boolean isTypeVisible(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 3
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 0
StackMap locals:
StackMap stack:
3: aload 0
invokevirtual java.lang.Class.isArray:()Z
ifne 2
4: aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifne 5
aload 0
ldc Ljava/lang/Object;
if_acmpne 6
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 7: aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 8: aload 2
aload 3
if_acmpne 10
9: iconst_1
ireturn
10: StackMap locals: java.lang.ClassLoader java.lang.ClassLoader
StackMap stack:
aload 3
ifnonnull 12
aload 2
ifnull 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 2
ifnonnull 14
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
ldc "java."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 14
13: iconst_1
ireturn
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 4
start local 4 15: new sun.invoke.util.VerifyAccess$1
dup
aload 4
aload 3
invokespecial sun.invoke.util.VerifyAccess$1.<init>:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
16: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Class
astore 5
start local 5 17: aload 0
aload 5
if_acmpne 18
iconst_1
ireturn
StackMap locals: java.lang.String java.lang.Class
StackMap stack:
18: iconst_0
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 type Ljava/lang/Class<*>;
0 19 1 refc Ljava/lang/Class<*>;
7 19 2 typeLoader Ljava/lang/ClassLoader;
8 19 3 refcLoader Ljava/lang/ClassLoader;
15 19 4 name Ljava/lang/String;
17 19 5 res Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type
refc
public static boolean isTypeVisible(java.lang.invoke.MethodType, java.lang.Class<?>);
descriptor: (Ljava/lang/invoke/MethodType;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
aload 1
invokestatic sun.invoke.util.VerifyAccess.isTypeVisible:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
istore 3
start local 3 4: goto 8
5: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
aload 1
invokestatic sun.invoke.util.VerifyAccess.isTypeVisible:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 3
if_icmplt 5
end local 3 end local 2 9: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 type Ljava/lang/invoke/MethodType;
0 10 1 refc Ljava/lang/Class<*>;
3 9 2 n I
4 9 3 max I
Signature: (Ljava/lang/invoke/MethodType;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type
refc
public static boolean isSameModule(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
aload 1
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 class1 Ljava/lang/Class<*>;
0 2 1 class2 Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
class1
class2
public static boolean isSamePackage(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
if_acmpeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
aload 1
invokevirtual java.lang.Class.getPackageName:()Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 class1 Ljava/lang/Class<*>;
0 5 1 class2 Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
class1
class2
public static boolean isSamePackageMember(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic sun.invoke.util.VerifyAccess.isSamePackage:(Ljava/lang/Class;Ljava/lang/Class;)Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.invoke.util.VerifyAccess.getOutermostEnclosingClass:(Ljava/lang/Class;)Ljava/lang/Class;
aload 1
invokestatic sun.invoke.util.VerifyAccess.getOutermostEnclosingClass:(Ljava/lang/Class;)Ljava/lang/Class;
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 class1 Ljava/lang/Class<*>;
0 7 1 class2 Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
class1
class2
private static java.lang.Class<?> getOutermostEnclosingClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: aload 0
astore 2
start local 2 2: goto 4
3: StackMap locals: java.lang.Class java.lang.Class
StackMap stack:
aload 2
astore 1
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.Class.getEnclosingClass:()Ljava/lang/Class;
dup
astore 2
ifnonnull 3
end local 2 5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 c Ljava/lang/Class<*>;
1 6 1 pkgmem Ljava/lang/Class<*>;
2 5 2 enc Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
c
private static boolean loadersAreRelated(java.lang.ClassLoader, java.lang.ClassLoader, boolean);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/ClassLoader;Z)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
if_acmpeq 2
aload 0
ifnull 2
1: aload 1
ifnonnull 3
iload 2
ifne 3
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 1
astore 3
start local 3 4: goto 7
5: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 3
aload 0
if_acmpne 6
iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 3
StackMap locals:
StackMap stack:
7: aload 3
ifnonnull 5
end local 3 8: iload 2
ifeq 9
iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
astore 3
start local 3 10: goto 13
11: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 3
aload 1
if_acmpne 12
iconst_1
ireturn
12: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 3
StackMap locals:
StackMap stack:
13: aload 3
ifnonnull 11
end local 3 14: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 loader1 Ljava/lang/ClassLoader;
0 15 1 loader2 Ljava/lang/ClassLoader;
0 15 2 loader1MustBeParent Z
4 8 3 scan2 Ljava/lang/ClassLoader;
10 14 3 scan1 Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
loader1
loader2
loader1MustBeParent
public static boolean classLoaderIsAncestor(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
iconst_1
invokestatic sun.invoke.util.VerifyAccess.loadersAreRelated:(Ljava/lang/ClassLoader;Ljava/lang/ClassLoader;Z)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 parentClass Ljava/lang/Class<*>;
0 1 1 childClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
parentClass
childClass
}
SourceFile: "VerifyAccess.java"
NestMembers:
sun.invoke.util.VerifyAccess$1
InnerClasses:
sun.invoke.util.VerifyAccess$1