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: .line 39
            ldc "sun.jvm.hotspot.rmi.startRegistry"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 0 /* tmp */
        start local 0 // java.lang.String tmp
         1: .line 40
            aload 0 /* tmp */
            ifnull 4
            aload 0 /* tmp */
            ldc "false"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 4
         2: .line 41
            iconst_0
            putstatic sun.jvm.hotspot.RMIHelper.startRegistry:Z
         3: .line 42
            goto 5
         4: .line 44
      StackMap locals: java.lang.String
      StackMap stack:
            iconst_1
            putstatic sun.jvm.hotspot.RMIHelper.startRegistry:Z
         5: .line 47
      StackMap locals:
      StackMap stack:
            sipush 1099
            putstatic sun.jvm.hotspot.RMIHelper.port:I
         6: .line 48
            ldc "sun.jvm.hotspot.rmi.port"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 0 /* tmp */
         7: .line 49
            aload 0 /* tmp */
            ifnull 12
         8: .line 51
            aload 0 /* tmp */
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            putstatic sun.jvm.hotspot.RMIHelper.port:I
         9: .line 52
            goto 12
      StackMap locals:
      StackMap stack: java.lang.NumberFormatException
        10: pop
        11: .line 53
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            ldc "invalid port supplied, assuming default"
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        12: .line 57
      StackMap locals:
      StackMap stack:
            ldc "sun.jvm.hotspot.rmi.serverNamePrefix"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 0 /* tmp */
        13: .line 58
            aload 0 /* tmp */
            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 // java.lang.String tmp
        16: .line 59
            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 // sun.jvm.hotspot.RMIHelper this
         0: .line 33
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // sun.jvm.hotspot.RMIHelper this
      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 // java.lang.String uniqueID
        start local 1 // java.rmi.Remote object
         0: .line 62
            aload 0 /* uniqueID */
            invokestatic sun.jvm.hotspot.RMIHelper.getName:(Ljava/lang/String;)Ljava/lang/String;
            astore 2 /* name */
        start local 2 // java.lang.String name
         1: .line 64
            aload 2 /* name */
            aload 1 /* object */
            invokestatic java.rmi.Naming.rebind:(Ljava/lang/String;Ljava/rmi/Remote;)V
         2: .line 65
            goto 13
      StackMap locals: java.lang.String java.rmi.Remote java.lang.String
      StackMap stack: java.rmi.RemoteException
         3: astore 3 /* re */
        start local 3 // java.rmi.RemoteException re
         4: .line 66
            getstatic sun.jvm.hotspot.RMIHelper.startRegistry:Z
            ifeq 10
         5: .line 69
            getstatic sun.jvm.hotspot.RMIHelper.port:I
            invokestatic java.rmi.registry.LocateRegistry.createRegistry:(I)Ljava/rmi/registry/Registry;
            pop
         6: .line 70
            aload 2 /* name */
            aload 1 /* object */
            invokestatic java.rmi.Naming.rebind:(Ljava/lang/String;Ljava/rmi/Remote;)V
         7: .line 71
            goto 13
      StackMap locals: java.lang.String java.rmi.Remote java.lang.String java.rmi.RemoteException
      StackMap stack: java.lang.Exception
         8: astore 4 /* exp */
        start local 4 // java.lang.Exception exp
         9: .line 72
            new sun.jvm.hotspot.debugger.DebuggerException
            dup
            aload 4 /* exp */
            invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 4 // java.lang.Exception exp
        10: .line 75
      StackMap locals:
      StackMap stack:
            new sun.jvm.hotspot.debugger.DebuggerException
            dup
            aload 3 /* re */
            invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.rmi.RemoteException re
        11: .line 77
      StackMap locals: java.lang.String java.rmi.Remote java.lang.String
      StackMap stack: java.lang.Exception
            astore 3 /* exp */
        start local 3 // java.lang.Exception exp
        12: .line 78
            new sun.jvm.hotspot.debugger.DebuggerException
            dup
            aload 3 /* exp */
            invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.lang.Exception exp
        13: .line 80
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.String name
        end local 1 // java.rmi.Remote object
        end local 0 // java.lang.String uniqueID
      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 // java.lang.String uniqueID
         0: .line 83
            aload 0 /* uniqueID */
            invokestatic sun.jvm.hotspot.RMIHelper.getName:(Ljava/lang/String;)Ljava/lang/String;
            astore 1 /* name */
        start local 1 // java.lang.String name
         1: .line 85
            aload 1 /* name */
            invokestatic java.rmi.Naming.unbind:(Ljava/lang/String;)V
         2: .line 86
            goto 5
      StackMap locals: java.lang.String java.lang.String
      StackMap stack: java.lang.Exception
         3: astore 2 /* exp */
        start local 2 // java.lang.Exception exp
         4: .line 87
            new sun.jvm.hotspot.debugger.DebuggerException
            dup
            aload 2 /* exp */
            invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.lang.Exception exp
         5: .line 89
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.String name
        end local 0 // java.lang.String uniqueID
      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 // java.lang.String debugServerID
         0: .line 95
            aload 0 /* debugServerID */
            bipush 64
            invokevirtual java.lang.String.indexOf:(I)I
            istore 1 /* index */
        start local 1 // int index
         1: .line 96
            new java.lang.StringBuffer
            dup
            ldc "//"
            invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
            astore 2 /* nameBuf */
        start local 2 // java.lang.StringBuffer nameBuf
         2: .line 97
            aconst_null
            astore 3 /* uniqueID */
        start local 3 // java.lang.String uniqueID
         3: .line 98
            iload 1 /* index */
            iconst_m1
            if_icmpeq 7
         4: .line 99
            aload 2 /* nameBuf */
            aload 0 /* debugServerID */
            iload 1 /* index */
            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: .line 100
            aload 0 /* debugServerID */
            iconst_0
            iload 1 /* index */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 3 /* uniqueID */
         6: .line 101
            goto 8
         7: .line 102
      StackMap locals: int java.lang.StringBuffer java.lang.String
      StackMap stack:
            aload 2 /* nameBuf */
            aload 0 /* debugServerID */
            invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
            pop
         8: .line 105
      StackMap locals:
      StackMap stack:
            aload 2 /* nameBuf */
            bipush 47
            invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
            pop
         9: .line 106
            aload 2 /* nameBuf */
            getstatic sun.jvm.hotspot.RMIHelper.serverNamePrefix:Ljava/lang/String;
            invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
            pop
        10: .line 107
            aload 3 /* uniqueID */
            ifnull 13
        11: .line 108
            aload 2 /* nameBuf */
            bipush 95
            invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
            pop
        12: .line 109
            aload 2 /* nameBuf */
            aload 3 /* uniqueID */
            invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
            pop
        13: .line 113
      StackMap locals:
      StackMap stack:
            aload 2 /* nameBuf */
            invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
            invokestatic java.rmi.Naming.lookup:(Ljava/lang/String;)Ljava/rmi/Remote;
        14: areturn
        15: .line 114
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 4 /* exp */
        start local 4 // java.lang.Exception exp
        16: .line 115
            new sun.jvm.hotspot.debugger.DebuggerException
            dup
            aload 4 /* exp */
            invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 4 // java.lang.Exception exp
        end local 3 // java.lang.String uniqueID
        end local 2 // java.lang.StringBuffer nameBuf
        end local 1 // int index
        end local 0 // java.lang.String debugServerID
      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 // java.lang.String uniqueID
         0: .line 120
            aconst_null
            astore 1 /* name */
        start local 1 // java.lang.String name
         1: .line 121
            aload 0 /* uniqueID */
            ifnull 4
         2: .line 122
            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 /* uniqueID */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 1 /* name */
         3: .line 123
            goto 5
         4: .line 124
      StackMap locals: java.lang.String
      StackMap stack:
            getstatic sun.jvm.hotspot.RMIHelper.serverNamePrefix:Ljava/lang/String;
            astore 1 /* name */
         5: .line 126
      StackMap locals:
      StackMap stack:
            getstatic sun.jvm.hotspot.RMIHelper.port:I
            sipush 1099
            if_icmpeq 7
         6: .line 127
            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 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 1 /* name */
         7: .line 129
      StackMap locals:
      StackMap stack:
            aload 1 /* name */
            areturn
        end local 1 // java.lang.String name
        end local 0 // java.lang.String uniqueID
      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"