public class sun.rmi.server.MarshalInputStream extends java.io.ObjectInputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.rmi.server.MarshalInputStream
super_class: java.io.ObjectInputStream
{
private static final boolean useCodebaseOnlyProperty;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected static java.util.Map<java.lang.String, java.lang.Class<?>> permittedSunClasses;
descriptor: Ljava/util/Map;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<*>;>;
private boolean skipDefaultResolveClass;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.util.Map<java.lang.Object, java.lang.Runnable> doneCallbacks;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Runnable;>;
private boolean useCodebaseOnly;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=0
0: invokedynamic run()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/rmi/server/MarshalInputStream.lambda$0()Ljava/lang/String; (6)
()Ljava/lang/String;
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
2: ldc "false"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: iconst_0
goto 5
StackMap locals:
StackMap stack:
4: iconst_1
5: StackMap locals:
StackMap stack: int
putstatic sun.rmi.server.MarshalInputStream.useCodebaseOnlyProperty:Z
6: new java.util.HashMap
dup
iconst_3
invokespecial java.util.HashMap.<init>:(I)V
7: putstatic sun.rmi.server.MarshalInputStream.permittedSunClasses:Ljava/util/Map;
8: ldc "sun.rmi.server.Activation$ActivationSystemImpl_Stub"
9: astore 0
start local 0 10: ldc "sun.rmi.registry.RegistryImpl_Stub"
astore 1
start local 1 11: getstatic sun.rmi.server.MarshalInputStream.permittedSunClasses:Ljava/util/Map;
aload 0
aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: getstatic sun.rmi.server.MarshalInputStream.permittedSunClasses:Ljava/util/Map;
aload 1
aload 1
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 1 end local 0 13: goto 18
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
14: astore 0
start local 0 15: new java.lang.NoClassDefFoundError
dup
new java.lang.StringBuilder
dup
ldc "Missing system class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: aload 0
invokevirtual java.lang.ClassNotFoundException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial java.lang.NoClassDefFoundError.<init>:(Ljava/lang/String;)V
athrow
end local 0 18: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
10 13 0 system Ljava/lang/String;
11 13 1 registry Ljava/lang/String;
15 18 0 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
8 13 14 Class java.lang.ClassNotFoundException
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.io.ObjectInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
iconst_0
putfield sun.rmi.server.MarshalInputStream.skipDefaultResolveClass:Z
2: aload 0
3: new java.util.HashMap
dup
iconst_3
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.rmi.server.MarshalInputStream.doneCallbacks:Ljava/util/Map;
4: aload 0
getstatic sun.rmi.server.MarshalInputStream.useCodebaseOnlyProperty:Z
putfield sun.rmi.server.MarshalInputStream.useCodebaseOnly:Z
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/rmi/server/MarshalInputStream;
0 6 1 in Ljava/io/InputStream;
Exceptions:
throws java.io.IOException, java.io.StreamCorruptedException
MethodParameters:
Name Flags
in
public java.lang.Runnable getDoneCallback(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Runnable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.rmi.server.MarshalInputStream.doneCallbacks:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Runnable
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/server/MarshalInputStream;
0 1 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
public void setDoneCallback(java.lang.Object, java.lang.Runnable);
descriptor: (Ljava/lang/Object;Ljava/lang/Runnable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.rmi.server.MarshalInputStream.doneCallbacks:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/server/MarshalInputStream;
0 2 1 key Ljava/lang/Object;
0 2 2 callback Ljava/lang/Runnable;
MethodParameters:
Name Flags
key
callback
public void done();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.rmi.server.MarshalInputStream.doneCallbacks:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 1
start local 1 1: goto 4
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Runnable
astore 2
start local 2 3: aload 2
invokeinterface java.lang.Runnable.run:()V
end local 2 4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
getfield sun.rmi.server.MarshalInputStream.doneCallbacks:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/rmi/server/MarshalInputStream;
1 7 1 iter Ljava/util/Iterator<Ljava/lang/Runnable;>;
3 4 2 callback Ljava/lang/Runnable;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.rmi.server.MarshalInputStream.done:()V
1: aload 0
invokespecial java.io.ObjectInputStream.close:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/rmi/server/MarshalInputStream;
Exceptions:
throws java.io.IOException
protected java.lang.Class<?> resolveClass(java.io.ObjectStreamClass);
descriptor: (Ljava/io/ObjectStreamClass;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.rmi.server.MarshalInputStream.readLocation:()Ljava/lang/Object;
astore 2
start local 2 1: aload 1
invokevirtual java.io.ObjectStreamClass.getName:()Ljava/lang/String;
astore 3
start local 3 2: aload 0
getfield sun.rmi.server.MarshalInputStream.skipDefaultResolveClass:Z
ifeq 3
aconst_null
goto 4
StackMap locals: java.lang.Object java.lang.String
StackMap stack:
3: invokestatic sun.rmi.server.MarshalInputStream.latestUserDefinedLoader:()Ljava/lang/ClassLoader;
4: StackMap locals:
StackMap stack: java.lang.ClassLoader
astore 4
start local 4 5: aconst_null
astore 5
start local 5 6: aload 0
getfield sun.rmi.server.MarshalInputStream.useCodebaseOnly:Z
ifne 8
aload 2
instanceof java.lang.String
ifeq 8
7: aload 2
checkcast java.lang.String
astore 5
8: StackMap locals: java.lang.ClassLoader java.lang.String
StackMap stack:
aload 5
aload 3
9: aload 4
10: invokestatic java.rmi.server.RMIClassLoader.loadClass:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
11: areturn
12: StackMap locals:
StackMap stack: java.security.AccessControlException
astore 6
start local 6 13: aload 0
aload 3
aload 6
invokevirtual sun.rmi.server.MarshalInputStream.checkSunClass:(Ljava/lang/String;Ljava/security/AccessControlException;)Ljava/lang/Class;
areturn
end local 6 14: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 6
start local 6 15: aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isLowerCase:(C)Z
ifeq 20
16: aload 3
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 20
17: aload 0
aload 1
invokespecial java.io.ObjectInputStream.resolveClass:(Ljava/io/ObjectStreamClass;)Ljava/lang/Class;
18: areturn
19: StackMap locals: sun.rmi.server.MarshalInputStream java.io.ObjectStreamClass java.lang.Object java.lang.String java.lang.ClassLoader java.lang.String java.lang.ClassNotFoundException
StackMap stack: java.lang.ClassNotFoundException
pop
20: StackMap locals:
StackMap stack:
aload 6
athrow
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 21 0 this Lsun/rmi/server/MarshalInputStream;
0 21 1 classDesc Ljava/io/ObjectStreamClass;
1 21 2 annotation Ljava/lang/Object;
2 21 3 className Ljava/lang/String;
5 21 4 defaultLoader Ljava/lang/ClassLoader;
6 21 5 codebase Ljava/lang/String;
13 14 6 e Ljava/security/AccessControlException;
15 21 6 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
8 11 12 Class java.security.AccessControlException
8 11 14 Class java.lang.ClassNotFoundException
15 18 19 Class java.lang.ClassNotFoundException
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
Signature: (Ljava/io/ObjectStreamClass;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
classDesc
protected java.lang.Class<?> resolveProxyClass(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.rmi.server.MarshalInputStream.readLocation:()Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield sun.rmi.server.MarshalInputStream.skipDefaultResolveClass:Z
ifeq 2
aconst_null
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: invokestatic sun.rmi.server.MarshalInputStream.latestUserDefinedLoader:()Ljava/lang/ClassLoader;
3: StackMap locals:
StackMap stack: java.lang.ClassLoader
astore 3
start local 3 4: aconst_null
astore 4
start local 4 5: aload 0
getfield sun.rmi.server.MarshalInputStream.useCodebaseOnly:Z
ifne 7
aload 2
instanceof java.lang.String
ifeq 7
6: aload 2
checkcast java.lang.String
astore 4
7: StackMap locals: java.lang.ClassLoader java.lang.String
StackMap stack:
aload 4
aload 1
8: aload 3
9: invokestatic java.rmi.server.RMIClassLoader.loadProxyClass:(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
areturn
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 Lsun/rmi/server/MarshalInputStream;
0 10 1 interfaces [Ljava/lang/String;
1 10 2 annotation Ljava/lang/Object;
4 10 3 defaultLoader Ljava/lang/ClassLoader;
5 10 4 codebase Ljava/lang/String;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
Signature: ([Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
interfaces
private static java.lang.ClassLoader latestUserDefinedLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.internal.misc.VM.latestUserDefinedLoader:()Ljava/lang/ClassLoader;
areturn
LocalVariableTable:
Start End Slot Name Signature
private java.lang.Class<?> checkSunClass(java.lang.String, java.security.AccessControlException);
descriptor: (Ljava/lang/String;Ljava/security/AccessControlException;)Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual java.security.AccessControlException.getPermission:()Ljava/security/Permission;
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 3
ifnull 4
3: aload 3
invokevirtual java.security.Permission.getName:()Ljava/lang/String;
astore 4
4: StackMap locals: java.security.Permission java.lang.String
StackMap stack:
getstatic sun.rmi.server.MarshalInputStream.permittedSunClasses:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 5
start local 5 5: aload 4
ifnull 9
6: aload 5
ifnull 9
7: aload 4
ldc "accessClassInPackage.sun.rmi.server"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
8: aload 4
ldc "accessClassInPackage.sun.rmi.registry"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
9: StackMap locals: java.lang.Class
StackMap stack:
aload 2
athrow
10: StackMap locals:
StackMap stack:
aload 5
areturn
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 11 0 this Lsun/rmi/server/MarshalInputStream;
0 11 1 className Ljava/lang/String;
0 11 2 e Ljava/security/AccessControlException;
1 11 3 perm Ljava/security/Permission;
2 11 4 name Ljava/lang/String;
5 11 5 resolvedClass Ljava/lang/Class<*>;
Exceptions:
throws java.security.AccessControlException
Signature: (Ljava/lang/String;Ljava/security/AccessControlException;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
className
e
protected java.lang.Object readLocation();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.rmi.server.MarshalInputStream.readObject:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/server/MarshalInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
void skipDefaultResolveClass();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.rmi.server.MarshalInputStream.skipDefaultResolveClass:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/server/MarshalInputStream;
void useCodebaseOnly();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.rmi.server.MarshalInputStream.useCodebaseOnly:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/server/MarshalInputStream;
private static java.lang.String lambda$0();
descriptor: ()Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=0, args_size=0
0: ldc "java.rmi.server.useCodebaseOnly"
ldc "true"
1: invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2: areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "MarshalInputStream.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles