class jakarta.el.Jre9Compat extends jakarta.el.JreCompat
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jakarta.el.Jre9Compat
super_class: jakarta.el.JreCompat
{
private static final java.lang.reflect.Method canAccessMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method getModuleMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method isExportedMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=0
0: aconst_null
astore 0
start local 0 1: aconst_null
astore 1
start local 1 2: aconst_null
astore 2
start local 2 3: ldc Ljava/lang/reflect/AccessibleObject;
ldc "canAccess"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 0
4: ldc Ljava/lang/Class;
ldc "getModule"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 1
5: ldc "java.lang.Module"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 6: aload 3
ldc "isExported"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 2
end local 3 7: goto 11
StackMap locals: java.lang.reflect.Method java.lang.reflect.Method java.lang.reflect.Method
StackMap stack: java.lang.NoSuchMethodException
8: pop
goto 11
9: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 3
start local 3 10: new java.lang.RuntimeException
dup
aload 3
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 11: StackMap locals:
StackMap stack:
aload 0
putstatic jakarta.el.Jre9Compat.canAccessMethod:Ljava/lang/reflect/Method;
12: aload 1
putstatic jakarta.el.Jre9Compat.getModuleMethod:Ljava/lang/reflect/Method;
13: aload 2
putstatic jakarta.el.Jre9Compat.isExportedMethod:Ljava/lang/reflect/Method;
end local 2 end local 1 end local 0 14: return
LocalVariableTable:
Start End Slot Name Signature
1 14 0 m1 Ljava/lang/reflect/Method;
2 14 1 m2 Ljava/lang/reflect/Method;
3 14 2 m3 Ljava/lang/reflect/Method;
6 7 3 moduleClass Ljava/lang/Class<*>;
10 11 3 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
3 7 8 Class java.lang.NoSuchMethodException
3 7 9 Class java.lang.ClassNotFoundException
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jakarta.el.JreCompat.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljakarta/el/Jre9Compat;
public static boolean isSupported();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jakarta.el.Jre9Compat.canAccessMethod:Ljava/lang/reflect/Method;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
public boolean canAccess(java.lang.Object, java.lang.reflect.AccessibleObject);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/AccessibleObject;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic jakarta.el.Jre9Compat.canAccessMethod:Ljava/lang/reflect/Method;
aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljakarta/el/Jre9Compat;
0 4 1 base Ljava/lang/Object;
0 4 2 accessibleObject Ljava/lang/reflect/AccessibleObject;
Exception table:
from to target type
0 1 2 Class java.lang.ReflectiveOperationException
0 1 2 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
base
accessibleObject
public boolean isExported(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Class.getPackage:()Ljava/lang/Package;
invokevirtual java.lang.Package.getName:()Ljava/lang/String;
astore 2
start local 2 1: getstatic jakarta.el.Jre9Compat.getModuleMethod:Ljava/lang/reflect/Method;
aload 1
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 2: getstatic jakarta.el.Jre9Compat.isExportedMethod:Ljava/lang/reflect/Method;
aload 3
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
3: ireturn
end local 3 end local 2 4: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
pop
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljakarta/el/Jre9Compat;
0 6 1 type Ljava/lang/Class<*>;
1 4 2 packageName Ljava/lang/String;
2 4 3 module Ljava/lang/Object;
Exception table:
from to target type
0 3 4 Class java.lang.ReflectiveOperationException
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type
}
SourceFile: "Jre9Compat.java"