class jdk.internal.reflect.NativeConstructorAccessorImpl extends jdk.internal.reflect.ConstructorAccessorImpl
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.reflect.NativeConstructorAccessorImpl
super_class: jdk.internal.reflect.ConstructorAccessorImpl
{
private static final jdk.internal.misc.Unsafe U;
descriptor: Ljdk/internal/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long GENERATED_OFFSET;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.reflect.Constructor<?> c;
descriptor: Ljava/lang/reflect/Constructor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/reflect/Constructor<*>;
private jdk.internal.reflect.DelegatingConstructorAccessorImpl parent;
descriptor: Ljdk/internal/reflect/DelegatingConstructorAccessorImpl;
flags: (0x0002) ACC_PRIVATE
private int numInvocations;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private volatile int generated;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: invokestatic jdk.internal.misc.Unsafe.getUnsafe:()Ljdk/internal/misc/Unsafe;
putstatic jdk.internal.reflect.NativeConstructorAccessorImpl.U:Ljdk/internal/misc/Unsafe;
1: getstatic jdk.internal.reflect.NativeConstructorAccessorImpl.U:Ljdk/internal/misc/Unsafe;
ldc Ljdk/internal/reflect/NativeConstructorAccessorImpl;
ldc "generated"
invokevirtual jdk.internal.misc.Unsafe.objectFieldOffset:(Ljava/lang/Class;Ljava/lang/String;)J
2: putstatic jdk.internal.reflect.NativeConstructorAccessorImpl.GENERATED_OFFSET:J
3: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.reflect.Constructor<?>);
descriptor: (Ljava/lang/reflect/Constructor;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.internal.reflect.ConstructorAccessorImpl.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.reflect.NativeConstructorAccessorImpl.c:Ljava/lang/reflect/Constructor;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/reflect/NativeConstructorAccessorImpl;
0 3 1 c Ljava/lang/reflect/Constructor<*>;
Signature: (Ljava/lang/reflect/Constructor<*>;)V
MethodParameters:
Name Flags
c
public java.lang.Object newInstance(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield jdk.internal.reflect.NativeConstructorAccessorImpl.numInvocations:I
iconst_1
iadd
dup_x1
putfield jdk.internal.reflect.NativeConstructorAccessorImpl.numInvocations:I
invokestatic jdk.internal.reflect.ReflectionFactory.inflationThreshold:()I
if_icmple 17
1: aload 0
getfield jdk.internal.reflect.NativeConstructorAccessorImpl.c:Ljava/lang/reflect/Constructor;
invokevirtual java.lang.reflect.Constructor.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isHidden:()Z
ifne 17
2: aload 0
getfield jdk.internal.reflect.NativeConstructorAccessorImpl.c:Ljava/lang/reflect/Constructor;
invokevirtual java.lang.reflect.Constructor.getDeclaringClass:()Ljava/lang/Class;
invokestatic sun.reflect.misc.ReflectUtil.isVMAnonymousClass:(Ljava/lang/Class;)Z
ifne 17
3: aload 0
getfield jdk.internal.reflect.NativeConstructorAccessorImpl.generated:I
ifne 17
4: getstatic jdk.internal.reflect.NativeConstructorAccessorImpl.U:Ljdk/internal/misc/Unsafe;
aload 0
getstatic jdk.internal.reflect.NativeConstructorAccessorImpl.GENERATED_OFFSET:J
iconst_0
iconst_1
invokevirtual jdk.internal.misc.Unsafe.compareAndSetInt:(Ljava/lang/Object;JII)Z
ifeq 17
5: new jdk.internal.reflect.MethodAccessorGenerator
dup
invokespecial jdk.internal.reflect.MethodAccessorGenerator.<init>:()V
6: aload 0
getfield jdk.internal.reflect.NativeConstructorAccessorImpl.c:Ljava/lang/reflect/Constructor;
invokevirtual java.lang.reflect.Constructor.getDeclaringClass:()Ljava/lang/Class;
7: aload 0
getfield jdk.internal.reflect.NativeConstructorAccessorImpl.c:Ljava/lang/reflect/Constructor;
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
8: aload 0
getfield jdk.internal.reflect.NativeConstructorAccessorImpl.c:Ljava/lang/reflect/Constructor;
invokevirtual java.lang.reflect.Constructor.getExceptionTypes:()[Ljava/lang/Class;
9: aload 0
getfield jdk.internal.reflect.NativeConstructorAccessorImpl.c:Ljava/lang/reflect/Constructor;
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
10: invokevirtual jdk.internal.reflect.MethodAccessorGenerator.generateConstructor:(Ljava/lang/Class;[Ljava/lang/Class;[Ljava/lang/Class;I)Ljdk/internal/reflect/ConstructorAccessor;
11: checkcast jdk.internal.reflect.ConstructorAccessorImpl
astore 2
start local 2 12: aload 0
getfield jdk.internal.reflect.NativeConstructorAccessorImpl.parent:Ljdk/internal/reflect/DelegatingConstructorAccessorImpl;
aload 2
invokevirtual jdk.internal.reflect.DelegatingConstructorAccessorImpl.setDelegate:(Ljdk/internal/reflect/ConstructorAccessorImpl;)V
end local 2 13: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 2
start local 2 15: aload 0
iconst_0
putfield jdk.internal.reflect.NativeConstructorAccessorImpl.generated:I
16: aload 2
athrow
end local 2 17: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.reflect.NativeConstructorAccessorImpl.c:Ljava/lang/reflect/Constructor;
aload 1
invokestatic jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0:(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/internal/reflect/NativeConstructorAccessorImpl;
0 18 1 args [Ljava/lang/Object;
12 13 2 acc Ljdk/internal/reflect/ConstructorAccessorImpl;
15 17 2 t Ljava/lang/Throwable;
Exception table:
from to target type
5 13 14 Class java.lang.Throwable
Exceptions:
throws java.lang.InstantiationException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
args
void setParent(jdk.internal.reflect.DelegatingConstructorAccessorImpl);
descriptor: (Ljdk/internal/reflect/DelegatingConstructorAccessorImpl;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.reflect.NativeConstructorAccessorImpl.parent:Ljdk/internal/reflect/DelegatingConstructorAccessorImpl;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/reflect/NativeConstructorAccessorImpl;
0 2 1 parent Ljdk/internal/reflect/DelegatingConstructorAccessorImpl;
MethodParameters:
Name Flags
parent
private static native newInstance0(java.lang.reflect.Constructor<?>, []);
descriptor: (Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.lang.InstantiationException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException
Signature: (Ljava/lang/reflect/Constructor<*>;[Ljava/lang/Object;)Ljava/lang/Object;
MethodParameters:
Name Flags
c
args
}
SourceFile: "NativeConstructorAccessorImpl.java"