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 volatile sun.rmi.server.MarshalInputStream$StreamChecker streamChecker;
descriptor: Lsun/rmi/server/MarshalInputStream$StreamChecker;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
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: new sun.security.action.GetPropertyAction
dup
1: ldc "java.rmi.server.useCodebaseOnly"
ldc "true"
2: invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
4: ldc "false"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
5: iconst_0
goto 7
StackMap locals:
StackMap stack:
6: iconst_1
7: StackMap locals:
StackMap stack: int
putstatic sun.rmi.server.MarshalInputStream.useCodebaseOnlyProperty:Z
8: new java.util.HashMap
dup
iconst_3
invokespecial java.util.HashMap.<init>:(I)V
9: putstatic sun.rmi.server.MarshalInputStream.permittedSunClasses:Ljava/util/Map;
10: ldc "sun.rmi.server.Activation$ActivationSystemImpl_Stub"
11: astore 0
start local 0 12: ldc "sun.rmi.registry.RegistryImpl_Stub"
astore 1
start local 1 13: 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
14: 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 15: goto 20
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
16: astore 0
start local 0 17: new java.lang.NoClassDefFoundError
dup
new java.lang.StringBuilder
dup
ldc "Missing system class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: 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;
19: invokespecial java.lang.NoClassDefFoundError.<init>:(Ljava/lang/String;)V
athrow
end local 0 20: StackMap locals:
StackMap stack:
new sun.security.action.LoadLibraryAction
dup
ldc "rmi"
invokespecial sun.security.action.LoadLibraryAction.<init>:(Ljava/lang/String;)V
21: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
22: return
LocalVariableTable:
Start End Slot Name Signature
12 15 0 system Ljava/lang/String;
13 15 1 registry Ljava/lang/String;
17 20 0 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
10 15 16 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
aconst_null
putfield sun.rmi.server.MarshalInputStream.streamChecker:Lsun/rmi/server/MarshalInputStream$StreamChecker;
2: aload 0
iconst_0
putfield sun.rmi.server.MarshalInputStream.skipDefaultResolveClass:Z
3: aload 0
4: new java.util.HashMap
dup
iconst_3
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.rmi.server.MarshalInputStream.doneCallbacks:Ljava/util/Map;
5: aload 0
getstatic sun.rmi.server.MarshalInputStream.useCodebaseOnlyProperty:Z
putfield sun.rmi.server.MarshalInputStream.useCodebaseOnly:Z
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/rmi/server/MarshalInputStream;
0 7 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
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=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.rmi.server.MarshalInputStream.streamChecker:Lsun/rmi/server/MarshalInputStream$StreamChecker;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface sun.rmi.server.MarshalInputStream$StreamChecker.checkProxyInterfaceNames:([Ljava/lang/String;)V
3: StackMap locals: sun.rmi.server.MarshalInputStream$StreamChecker
StackMap stack:
aload 0
invokevirtual sun.rmi.server.MarshalInputStream.readLocation:()Ljava/lang/Object;
astore 3
start local 3 4: aload 0
getfield sun.rmi.server.MarshalInputStream.skipDefaultResolveClass:Z
ifeq 5
aconst_null
goto 6
StackMap locals: java.lang.Object
StackMap stack:
5: invokestatic sun.rmi.server.MarshalInputStream.latestUserDefinedLoader:()Ljava/lang/ClassLoader;
6: StackMap locals:
StackMap stack: java.lang.ClassLoader
astore 4
start local 4 7: aconst_null
astore 5
start local 5 8: aload 0
getfield sun.rmi.server.MarshalInputStream.useCodebaseOnly:Z
ifne 10
aload 3
instanceof java.lang.String
ifeq 10
9: aload 3
checkcast java.lang.String
astore 5
10: StackMap locals: java.lang.ClassLoader java.lang.String
StackMap stack:
aload 5
aload 1
11: aload 4
12: invokestatic java.rmi.server.RMIClassLoader.loadProxyClass:(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
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 13 0 this Lsun/rmi/server/MarshalInputStream;
0 13 1 interfaces [Ljava/lang/String;
1 13 2 checker Lsun/rmi/server/MarshalInputStream$StreamChecker;
4 13 3 annotation Ljava/lang/Object;
7 13 4 defaultLoader Ljava/lang/ClassLoader;
8 13 5 codebase Ljava/lang/String;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
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 sun.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
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;
synchronized void setStreamChecker(sun.rmi.server.MarshalInputStream$StreamChecker);
descriptor: (Lsun/rmi/server/MarshalInputStream$StreamChecker;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.rmi.server.MarshalInputStream.streamChecker:Lsun/rmi/server/MarshalInputStream$StreamChecker;
1: invokestatic sun.misc.SharedSecrets.getJavaObjectInputStreamAccess:()Lsun/misc/JavaObjectInputStreamAccess;
aload 0
aload 1
invokeinterface sun.misc.JavaObjectInputStreamAccess.setValidator:(Ljava/io/ObjectInputStream;Lsun/misc/ObjectStreamClassValidator;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/rmi/server/MarshalInputStream;
0 3 1 checker Lsun/rmi/server/MarshalInputStream$StreamChecker;
MethodParameters:
Name Flags
checker
protected java.io.ObjectStreamClass readClassDescriptor();
descriptor: ()Ljava/io/ObjectStreamClass;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.io.ObjectInputStream.readClassDescriptor:()Ljava/io/ObjectStreamClass;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual sun.rmi.server.MarshalInputStream.validateDesc:(Ljava/io/ObjectStreamClass;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/rmi/server/MarshalInputStream;
1 3 1 descriptor Ljava/io/ObjectStreamClass;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
private void validateDesc(java.io.ObjectStreamClass);
descriptor: (Ljava/io/ObjectStreamClass;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 3
monitorenter
1: aload 0
getfield sun.rmi.server.MarshalInputStream.streamChecker:Lsun/rmi/server/MarshalInputStream$StreamChecker;
astore 2
start local 2 2: aload 3
monitorexit
3: goto 6
end local 2 StackMap locals: sun.rmi.server.MarshalInputStream java.io.ObjectStreamClass top sun.rmi.server.MarshalInputStream
StackMap stack: java.lang.Throwable
4: aload 3
monitorexit
5: athrow
start local 2 6: StackMap locals: sun.rmi.server.MarshalInputStream java.io.ObjectStreamClass sun.rmi.server.MarshalInputStream$StreamChecker
StackMap stack:
aload 2
ifnull 8
7: aload 2
aload 1
invokeinterface sun.rmi.server.MarshalInputStream$StreamChecker.validateDescriptor:(Ljava/io/ObjectStreamClass;)V
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/rmi/server/MarshalInputStream;
0 9 1 descriptor Ljava/io/ObjectStreamClass;
2 4 2 checker Lsun/rmi/server/MarshalInputStream$StreamChecker;
6 9 2 checker Lsun/rmi/server/MarshalInputStream$StreamChecker;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
descriptor
}
SourceFile: "MarshalInputStream.java"
NestMembers:
sun.rmi.server.MarshalInputStream$StreamChecker
InnerClasses:
abstract StreamChecker = sun.rmi.server.MarshalInputStream$StreamChecker of sun.rmi.server.MarshalInputStream