public abstract class java.rmi.server.RemoteObject implements java.rmi.Remote, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.rmi.server.RemoteObject
super_class: java.lang.Object
{
protected transient java.rmi.server.RemoteRef ref;
descriptor: Ljava/rmi/server/RemoteRef;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -3215090123894869218
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/rmi/server/RemoteObject;
protected void <init>(java.rmi.server.RemoteRef);
descriptor: (Ljava/rmi/server/RemoteRef;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/rmi/server/RemoteObject;
0 3 1 newref Ljava/rmi/server/RemoteRef;
MethodParameters:
Name Flags
newref
public java.rmi.server.RemoteRef getRef();
descriptor: ()Ljava/rmi/server/RemoteRef;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/rmi/server/RemoteObject;
public static java.rmi.Remote toStub(java.rmi.Remote);
descriptor: (Ljava/rmi/Remote;)Ljava/rmi/Remote;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.rmi.server.RemoteStub
ifne 5
1: aload 0
ifnull 6
2: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic java.lang.reflect.Proxy.isProxyClass:(Ljava/lang/Class;)Z
ifeq 6
3: aload 0
invokestatic java.lang.reflect.Proxy.getInvocationHandler:(Ljava/lang/Object;)Ljava/lang/reflect/InvocationHandler;
instanceof java.rmi.server.RemoteObjectInvocationHandler
4: ifeq 6
5: StackMap locals:
StackMap stack:
aload 0
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.rmi.transport.ObjectTable.getStub:(Ljava/rmi/Remote;)Ljava/rmi/Remote;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 obj Ljava/rmi/Remote;
Exceptions:
throws java.rmi.NoSuchObjectException
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
ifnonnull 1
aload 0
invokespecial java.lang.Object.hashCode:()I
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
invokeinterface java.rmi.server.RemoteRef.remoteHashCode:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/rmi/server/RemoteObject;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.rmi.server.RemoteObject
ifeq 5
1: aload 0
getfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
ifnonnull 4
2: aload 1
aload 0
if_acmpne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
aload 1
checkcast java.rmi.server.RemoteObject
getfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
invokeinterface java.rmi.server.RemoteRef.remoteEquals:(Ljava/rmi/server/RemoteRef;)Z
ireturn
5: StackMap locals:
StackMap stack:
aload 1
ifnull 7
6: aload 1
aload 0
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/rmi/server/RemoteObject;
0 8 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic sun.rmi.server.Util.getUnqualifiedName:(Ljava/lang/Class;)Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
ifnonnull 2
aload 1
goto 3
2: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
invokeinterface java.rmi.server.RemoteRef.remoteToString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/rmi/server/RemoteObject;
1 4 1 classname Ljava/lang/String;
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
ifnonnull 2
1: new java.rmi.MarshalException
dup
ldc "Invalid remote object"
invokespecial java.rmi.MarshalException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
aload 1
invokeinterface java.rmi.server.RemoteRef.getRefClass:(Ljava/io/ObjectOutput;)Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnull 4
aload 2
invokevirtual java.lang.String.length:()I
ifne 7
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
ldc ""
invokevirtual java.io.ObjectOutputStream.writeUTF:(Ljava/lang/String;)V
5: aload 1
aload 0
getfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
6: goto 9
7: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.io.ObjectOutputStream.writeUTF:(Ljava/lang/String;)V
8: aload 0
getfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
aload 1
invokeinterface java.rmi.server.RemoteRef.writeExternal:(Ljava/io/ObjectOutput;)V
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/rmi/server/RemoteObject;
0 10 1 out Ljava/io/ObjectOutputStream;
3 9 2 refClassName Ljava/lang/String;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
out
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.readUTF:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.String.length:()I
ifne 4
2: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.rmi.server.RemoteRef
putfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
3: goto 16
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "sun.rmi.server."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: astore 3
start local 3 6: aload 3
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
start local 4 7: aload 0
aload 4
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast java.rmi.server.RemoteRef
putfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
8: goto 15
StackMap locals: java.rmi.server.RemoteObject java.io.ObjectInputStream java.lang.String java.lang.String java.lang.Class
StackMap stack: java.lang.InstantiationException
9: astore 5
start local 5 10: new java.lang.ClassNotFoundException
dup
aload 3
aload 5
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 11: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 5
start local 5 12: new java.lang.ClassNotFoundException
dup
aload 3
aload 5
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 13: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 5
start local 5 14: new java.lang.ClassNotFoundException
dup
aload 3
aload 5
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 15: StackMap locals:
StackMap stack:
aload 0
getfield java.rmi.server.RemoteObject.ref:Ljava/rmi/server/RemoteRef;
aload 1
invokeinterface java.rmi.server.RemoteRef.readExternal:(Ljava/io/ObjectInput;)V
end local 4 end local 3 16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljava/rmi/server/RemoteObject;
0 17 1 in Ljava/io/ObjectInputStream;
1 17 2 refClassName Ljava/lang/String;
6 16 3 internalRefClassName Ljava/lang/String;
7 16 4 refClass Ljava/lang/Class;
10 11 5 e Ljava/lang/InstantiationException;
12 13 5 e Ljava/lang/IllegalAccessException;
14 15 5 e Ljava/lang/ClassCastException;
Exception table:
from to target type
7 8 9 Class java.lang.InstantiationException
7 8 11 Class java.lang.IllegalAccessException
7 8 13 Class java.lang.ClassCastException
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
in
}
SourceFile: "RemoteObject.java"