public class sun.jvm.hotspot.RMIHelper
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.RMIHelper
super_class: java.lang.Object
{
private static final boolean startRegistry;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static int port;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String serverNamePrefix;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "sun.jvm.hotspot.rmi.startRegistry"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnull 4
aload 0
ldc "false"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: iconst_0
putstatic sun.jvm.hotspot.RMIHelper.startRegistry:Z
3: goto 5
4: StackMap locals: java.lang.String
StackMap stack:
iconst_1
putstatic sun.jvm.hotspot.RMIHelper.startRegistry:Z
5: StackMap locals:
StackMap stack:
sipush 1099
putstatic sun.jvm.hotspot.RMIHelper.port:I
6: ldc "sun.jvm.hotspot.rmi.port"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
7: aload 0
ifnull 12
8: aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putstatic sun.jvm.hotspot.RMIHelper.port:I
9: goto 12
StackMap locals:
StackMap stack: java.lang.NumberFormatException
10: pop
11: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "invalid port supplied, assuming default"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
ldc "sun.jvm.hotspot.rmi.serverNamePrefix"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
13: aload 0
ifnull 14
getstatic sun.jvm.hotspot.RMIHelper.serverNamePrefix:Ljava/lang/String;
goto 15
StackMap locals:
StackMap stack:
14: ldc "SARemoteDebugger"
StackMap locals:
StackMap stack: java.lang.String
15: putstatic sun.jvm.hotspot.RMIHelper.serverNamePrefix:Ljava/lang/String;
end local 0 16: return
LocalVariableTable:
Start End Slot Name Signature
1 16 0 tmp Ljava/lang/String;
Exception table:
from to target type
8 9 10 Class java.lang.NumberFormatException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/RMIHelper;
public static void rebind(java.lang.String, java.rmi.Remote);
descriptor: (Ljava/lang/String;Ljava/rmi/Remote;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic sun.jvm.hotspot.RMIHelper.getName:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
aload 1
invokestatic java.rmi.Naming.rebind:(Ljava/lang/String;Ljava/rmi/Remote;)V
2: goto 13
StackMap locals: java.lang.String java.rmi.Remote java.lang.String
StackMap stack: java.rmi.RemoteException
3: astore 3
start local 3 4: getstatic sun.jvm.hotspot.RMIHelper.startRegistry:Z
ifeq 10
5: getstatic sun.jvm.hotspot.RMIHelper.port:I
invokestatic java.rmi.registry.LocateRegistry.createRegistry:(I)Ljava/rmi/registry/Registry;
pop
6: aload 2
aload 1
invokestatic java.rmi.Naming.rebind:(Ljava/lang/String;Ljava/rmi/Remote;)V
7: goto 13
StackMap locals: java.lang.String java.rmi.Remote java.lang.String java.rmi.RemoteException
StackMap stack: java.lang.Exception
8: astore 4
start local 4 9: new sun.jvm.hotspot.debugger.DebuggerException
dup
aload 4
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 10: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.DebuggerException
dup
aload 3
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 11: StackMap locals: java.lang.String java.rmi.Remote java.lang.String
StackMap stack: java.lang.Exception
astore 3
start local 3 12: new sun.jvm.hotspot.debugger.DebuggerException
dup
aload 3
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 uniqueID Ljava/lang/String;
0 14 1 object Ljava/rmi/Remote;
1 14 2 name Ljava/lang/String;
4 11 3 re Ljava/rmi/RemoteException;
9 10 4 exp Ljava/lang/Exception;
12 13 3 exp Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.rmi.RemoteException
5 7 8 Class java.lang.Exception
1 2 11 Class java.lang.Exception
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
uniqueID
object
public static void unbind(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokestatic sun.jvm.hotspot.RMIHelper.getName:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic java.rmi.Naming.unbind:(Ljava/lang/String;)V
2: goto 5
StackMap locals: java.lang.String java.lang.String
StackMap stack: java.lang.Exception
3: astore 2
start local 2 4: new sun.jvm.hotspot.debugger.DebuggerException
dup
aload 2
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 uniqueID Ljava/lang/String;
1 6 1 name Ljava/lang/String;
4 5 2 exp Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
uniqueID
public static java.rmi.Remote lookup(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/rmi/Remote;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
bipush 64
invokevirtual java.lang.String.indexOf:(I)I
istore 1
start local 1 1: new java.lang.StringBuffer
dup
ldc "//"
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: iload 1
iconst_m1
if_icmpeq 7
4: aload 2
aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
5: aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
6: goto 8
7: StackMap locals: int java.lang.StringBuffer java.lang.String
StackMap stack:
aload 2
aload 0
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
8: StackMap locals:
StackMap stack:
aload 2
bipush 47
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
9: aload 2
getstatic sun.jvm.hotspot.RMIHelper.serverNamePrefix:Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
10: aload 3
ifnull 13
11: aload 2
bipush 95
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
12: aload 2
aload 3
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokestatic java.rmi.Naming.lookup:(Ljava/lang/String;)Ljava/rmi/Remote;
14: areturn
15: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 16: new sun.jvm.hotspot.debugger.DebuggerException
dup
aload 4
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 debugServerID Ljava/lang/String;
1 17 1 index I
2 17 2 nameBuf Ljava/lang/StringBuffer;
3 17 3 uniqueID Ljava/lang/String;
16 17 4 exp Ljava/lang/Exception;
Exception table:
from to target type
13 14 15 Class java.lang.Exception
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
debugServerID
private static java.lang.String getName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
ifnull 4
2: new java.lang.StringBuilder
dup
getstatic sun.jvm.hotspot.RMIHelper.serverNamePrefix:Ljava/lang/String;
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
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: goto 5
4: StackMap locals: java.lang.String
StackMap stack:
getstatic sun.jvm.hotspot.RMIHelper.serverNamePrefix:Ljava/lang/String;
astore 1
5: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.RMIHelper.port:I
sipush 1099
if_icmpeq 7
6: new java.lang.StringBuilder
dup
ldc "//localhost:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic sun.jvm.hotspot.RMIHelper.port:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 uniqueID Ljava/lang/String;
1 8 1 name Ljava/lang/String;
MethodParameters:
Name Flags
uniqueID
}
SourceFile: "RMIHelper.java"