public class sun.reflect.ReflectionFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.reflect.ReflectionFactory
super_class: java.lang.Object
{
private static final sun.reflect.ReflectionFactory soleInstance;
descriptor: Lsun/reflect/ReflectionFactory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.reflect.ReflectionFactory delegate;
descriptor: Ljdk/internal/reflect/ReflectionFactory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.security.Permission REFLECTION_FACTORY_ACCESS_PERM;
descriptor: Ljava/security/Permission;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new sun.reflect.ReflectionFactory
dup
invokespecial sun.reflect.ReflectionFactory.<init>:()V
putstatic sun.reflect.ReflectionFactory.soleInstance:Lsun/reflect/ReflectionFactory;
1: new sun.reflect.ReflectionFactory$1
dup
invokespecial sun.reflect.ReflectionFactory$1.<init>:()V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast jdk.internal.reflect.ReflectionFactory
putstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
3: new java.lang.RuntimePermission
dup
ldc "reflectionFactoryAccess"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
4: putstatic sun.reflect.ReflectionFactory.REFLECTION_FACTORY_ACCESS_PERM:Ljava/security/Permission;
5: 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/reflect/ReflectionFactory;
public static sun.reflect.ReflectionFactory getReflectionFactory();
descriptor: ()Lsun/reflect/ReflectionFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
getstatic sun.reflect.ReflectionFactory.REFLECTION_FACTORY_ACCESS_PERM:Ljava/security/Permission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic sun.reflect.ReflectionFactory.soleInstance:Lsun/reflect/ReflectionFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 security Ljava/lang/SecurityManager;
public java.lang.reflect.Constructor<?> newConstructorForSerialization(java.lang.Class<?>, java.lang.reflect.Constructor<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/Constructor;)Ljava/lang/reflect/Constructor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
1: aload 2
2: invokevirtual jdk.internal.reflect.ReflectionFactory.newConstructorForSerialization:(Ljava/lang/Class;Ljava/lang/reflect/Constructor;)Ljava/lang/reflect/Constructor;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/reflect/ReflectionFactory;
0 3 1 cl Ljava/lang/Class<*>;
0 3 2 constructorToCall Ljava/lang/reflect/Constructor<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/reflect/Constructor<*>;)Ljava/lang/reflect/Constructor<*>;
MethodParameters:
Name Flags
cl
constructorToCall
public final java.lang.reflect.Constructor<?> newConstructorForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.newConstructorForSerialization:(Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/reflect/Constructor<*>;
MethodParameters:
Name Flags
cl
public final java.lang.reflect.Constructor<?> newConstructorForExternalization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.newConstructorForExternalization:(Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/reflect/Constructor<*>;
MethodParameters:
Name Flags
cl
public final java.lang.invoke.MethodHandle readObjectForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.readObjectForSerialization:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
public final newInstanceForSerialization(java.lang.reflect.Constructor<?>, java.security.ProtectionDomain[]);
descriptor: (Ljava/lang/reflect/Constructor;[Ljava/security/ProtectionDomain;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 3
start local 3 1: aload 3
ifnull 2
aload 2
ifnull 2
aload 2
arraylength
ifne 3
2: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 1
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
areturn
3: StackMap locals:
StackMap stack:
invokestatic jdk.internal.misc.SharedSecrets.getJavaSecurityAccess:()Ljdk/internal/misc/JavaSecurityAccess;
astore 4
start local 4 4: aload 1
invokedynamic run(Ljava/lang/reflect/Constructor;)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;
sun/reflect/ReflectionFactory.lambda$0(Ljava/lang/reflect/Constructor;)Ljava/lang/Object; (6)
()Ljava/lang/Object;
astore 5
start local 5 5: aload 4
aload 5
6: invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
7: new java.security.AccessControlContext
dup
aload 2
invokespecial java.security.AccessControlContext.<init>:([Ljava/security/ProtectionDomain;)V
8: invokeinterface jdk.internal.misc.JavaSecurityAccess.doIntersectionPrivilege:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;
9: areturn
10: StackMap locals: sun.reflect.ReflectionFactory java.lang.reflect.Constructor java.security.ProtectionDomain[] java.lang.SecurityManager jdk.internal.misc.JavaSecurityAccess java.security.PrivilegedAction
StackMap stack: java.lang.reflect.UndeclaredThrowableException
astore 6
start local 6 11: aload 6
invokevirtual java.lang.reflect.UndeclaredThrowableException.getCause:()Ljava/lang/Throwable;
astore 7
start local 7 12: aload 7
instanceof java.lang.InstantiationException
ifeq 14
13: aload 7
checkcast java.lang.InstantiationException
athrow
14: StackMap locals: java.lang.reflect.UndeclaredThrowableException java.lang.Throwable
StackMap stack:
aload 7
instanceof java.lang.reflect.InvocationTargetException
ifeq 16
15: aload 7
checkcast java.lang.reflect.InvocationTargetException
athrow
16: StackMap locals:
StackMap stack:
aload 7
instanceof java.lang.IllegalAccessException
ifeq 18
17: aload 7
checkcast java.lang.IllegalAccessException
athrow
18: StackMap locals:
StackMap stack:
aload 6
athrow
end local 7 end local 6 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 this Lsun/reflect/ReflectionFactory;
0 19 1 cons Ljava/lang/reflect/Constructor<*>;
0 19 2 domains [Ljava/security/ProtectionDomain;
1 19 3 sm Ljava/lang/SecurityManager;
4 19 4 jsa Ljdk/internal/misc/JavaSecurityAccess;
5 19 5 pea Ljava/security/PrivilegedAction<*>;
11 19 6 x Ljava/lang/reflect/UndeclaredThrowableException;
12 19 7 cause Ljava/lang/Throwable;
Exception table:
from to target type
5 9 10 Class java.lang.reflect.UndeclaredThrowableException
Exceptions:
throws java.lang.InstantiationException, java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException
Signature: (Ljava/lang/reflect/Constructor<*>;[Ljava/security/ProtectionDomain;)Ljava/lang/Object;
MethodParameters:
Name Flags
cons
domains
public final java.lang.invoke.MethodHandle readObjectNoDataForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.readObjectNoDataForSerialization:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
public final java.lang.invoke.MethodHandle writeObjectForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.writeObjectForSerialization:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
public final java.lang.invoke.MethodHandle readResolveForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.readResolveForSerialization:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
public final java.lang.invoke.MethodHandle writeReplaceForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.writeReplaceForSerialization:(Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
cl
public final boolean hasStaticInitializerForSerialization(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
aload 1
invokevirtual jdk.internal.reflect.ReflectionFactory.hasStaticInitializerForSerialization:(Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/reflect/ReflectionFactory;
0 1 1 cl Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
cl
public final java.io.OptionalDataException newOptionalDataExceptionForSerialization(boolean);
descriptor: (Z)Ljava/io/OptionalDataException;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic sun.reflect.ReflectionFactory.delegate:Ljdk/internal/reflect/ReflectionFactory;
invokevirtual jdk.internal.reflect.ReflectionFactory.newOptionalDataExceptionForSerialization:()Ljava/lang/reflect/Constructor;
astore 2
start local 2 1: aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.io.OptionalDataException
2: areturn
3: StackMap locals: sun.reflect.ReflectionFactory int java.lang.reflect.Constructor
StackMap stack: java.lang.ReflectiveOperationException
astore 3
start local 3 4: new java.lang.InternalError
dup
ldc "unable to create OptionalDataException"
aload 3
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/reflect/ReflectionFactory;
0 5 1 bool Z
1 5 2 cons Ljava/lang/reflect/Constructor<Ljava/io/OptionalDataException;>;
4 5 3 ex Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
1 2 3 Class java.lang.InstantiationException
1 2 3 Class java.lang.IllegalAccessException
1 2 3 Class java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
bool
private static java.lang.Object lambda$0(java.lang.reflect.Constructor);
descriptor: (Ljava/lang/reflect/Constructor;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=1
0: aload 0
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 1
start local 1 3: new java.lang.reflect.UndeclaredThrowableException
dup
aload 1
invokespecial java.lang.reflect.UndeclaredThrowableException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 LocalVariableTable:
Start End Slot Name Signature
3 4 1 x Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 1 2 Class java.lang.InstantiationException
0 1 2 Class java.lang.reflect.InvocationTargetException
0 1 2 Class java.lang.IllegalAccessException
}
SourceFile: "ReflectionFactory.java"
NestMembers:
sun.reflect.ReflectionFactory$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
sun.reflect.ReflectionFactory$1