class jdk.nashorn.internal.runtime.linker.JavaAdapterServices$MirrorFieldHolder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.internal.runtime.linker.JavaAdapterServices$MirrorFieldHolder
super_class: java.lang.Object
{
private static final java.lang.reflect.Field SOBJ_FIELD;
descriptor: Ljava/lang/reflect/Field;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Field GLOBAL_FIELD;
descriptor: Ljava/lang/reflect/Field;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "sobj"
invokestatic jdk.nashorn.internal.runtime.linker.JavaAdapterServices$MirrorFieldHolder.getMirrorField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
putstatic jdk.nashorn.internal.runtime.linker.JavaAdapterServices$MirrorFieldHolder.SOBJ_FIELD:Ljava/lang/reflect/Field;
1: ldc "global"
invokestatic jdk.nashorn.internal.runtime.linker.JavaAdapterServices$MirrorFieldHolder.getMirrorField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
putstatic jdk.nashorn.internal.runtime.linker.JavaAdapterServices$MirrorFieldHolder.GLOBAL_FIELD:Ljava/lang/reflect/Field;
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 Ljdk/nashorn/internal/runtime/linker/JavaAdapterServices$MirrorFieldHolder;
private static java.lang.reflect.Field getMirrorField(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/reflect/Field;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: ldc Ljdk/nashorn/api/scripting/ScriptObjectMirror;
aload 0
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 1
start local 1 1: aload 1
invokedynamic run(Ljava/lang/reflect/Field;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/nashorn/internal/runtime/linker/JavaAdapterServices$MirrorFieldHolder.lambda$0(Ljava/lang/reflect/Field;)Ljava/lang/Void; (6)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
2: aload 1
3: areturn
end local 1 4: StackMap locals:
StackMap stack: java.lang.NoSuchFieldException
astore 1
start local 1 5: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 fieldName Ljava/lang/String;
1 4 1 field Ljava/lang/reflect/Field;
5 6 1 e Ljava/lang/NoSuchFieldException;
Exception table:
from to target type
0 3 4 Class java.lang.NoSuchFieldException
MethodParameters:
Name Flags
fieldName final
private static java.lang.Void lambda$0(java.lang.reflect.Field);
descriptor: (Ljava/lang/reflect/Field;)Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: aload 0
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
1: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "JavaAdapterServices.java"
NestHost: jdk.nashorn.internal.runtime.linker.JavaAdapterServices
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private MirrorFieldHolder = jdk.nashorn.internal.runtime.linker.JavaAdapterServices$MirrorFieldHolder of jdk.nashorn.internal.runtime.linker.JavaAdapterServices