public class com.oracle.svm.reflect.serialize.SerializationSupport implements com.oracle.svm.core.jdk.serialize.SerializationRegistry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.svm.reflect.serialize.SerializationSupport
super_class: java.lang.Object
{
private final java.util.Map<com.oracle.svm.reflect.serialize.SerializationSupport$SerializationLookupKey, java.lang.Object> constructorAccessors;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lcom/oracle/svm/reflect/serialize/SerializationSupport$SerializationLookupKey;Ljava/lang/Object;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield com.oracle.svm.reflect.serialize.SerializationSupport.constructorAccessors:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/reflect/serialize/SerializationSupport;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.Platforms(value = {Lorg/graalvm/nativeimage/Platform$HOSTED_ONLY;})
public addConstructorAccessor(java.lang.Class<?>, java.lang.Class<?>, );
descriptor: (Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.oracle.svm.reflect.serialize.SerializationSupport$SerializationLookupKey
dup
aload 1
aload 2
invokespecial com.oracle.svm.reflect.serialize.SerializationSupport$SerializationLookupKey.<init>:(Ljava/lang/Class;Ljava/lang/Class;)V
astore 4
start local 4 1: aload 0
getfield com.oracle.svm.reflect.serialize.SerializationSupport.constructorAccessors:Ljava/util/Map;
aload 4
aload 3
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/svm/reflect/serialize/SerializationSupport;
0 2 1 declaringClass Ljava/lang/Class<*>;
0 2 2 targetConstructorClass Ljava/lang/Class<*>;
0 2 3 constructorAccessor Ljava/lang/Object;
1 2 4 key Lcom/oracle/svm/reflect/serialize/SerializationSupport$SerializationLookupKey;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;Ljava/lang/Object;)Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.graalvm.nativeimage.Platforms(value = {Lorg/graalvm/nativeimage/Platform$HOSTED_ONLY;})
MethodParameters:
Name Flags
declaringClass
targetConstructorClass
constructorAccessor
public getSerializationConstructorAccessor(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.svm.reflect.serialize.SerializationSupport.constructorAccessors:Ljava/util/Map;
new com.oracle.svm.reflect.serialize.SerializationSupport$SerializationLookupKey
dup
aload 1
aload 2
invokespecial com.oracle.svm.reflect.serialize.SerializationSupport$SerializationLookupKey.<init>:(Ljava/lang/Class;Ljava/lang/Class;)V
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 4
start local 4 4: aload 4
ldc "$$Lambda$"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 6
5: new java.lang.StringBuilder
dup
ldc "Can't serialize "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ". Lambda class serialization is currently not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.oracle.svm.core.util.VMError.unsupportedFeature:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
6: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
ldc "SerializationConstructorAccessor class not found for declaringClass: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc " (targetConstructorClass: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "). Usually adding "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc " to serialization-config.json fixes the problem."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.oracle.svm.core.util.VMError.unsupportedFeature:(Ljava/lang/String;)Ljava/lang/RuntimeException;
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/svm/reflect/serialize/SerializationSupport;
0 10 1 declaringClass Ljava/lang/Class<*>;
0 10 2 targetConstructorClass Ljava/lang/Class<*>;
1 10 3 constructorAccessor Ljava/lang/Object;
4 10 4 targetConstructorClassName Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
declaringClass
targetConstructorClass
}
SourceFile: "SerializationSupport.java"
NestMembers:
com.oracle.svm.reflect.serialize.SerializationSupport$SerializationLookupKey com.oracle.svm.reflect.serialize.SerializationSupport$StubForAbstractClass
InnerClasses:
private final SerializationLookupKey = com.oracle.svm.reflect.serialize.SerializationSupport$SerializationLookupKey of com.oracle.svm.reflect.serialize.SerializationSupport
public final StubForAbstractClass = com.oracle.svm.reflect.serialize.SerializationSupport$StubForAbstractClass of com.oracle.svm.reflect.serialize.SerializationSupport