public class sun.rmi.transport.tcp.TCPEndpoint implements sun.rmi.transport.Endpoint
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.rmi.transport.tcp.TCPEndpoint
super_class: java.lang.Object
{
private java.lang.String host;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int port;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.rmi.server.RMIClientSocketFactory csf;
descriptor: Ljava/rmi/server/RMIClientSocketFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.rmi.server.RMIServerSocketFactory ssf;
descriptor: Ljava/rmi/server/RMIServerSocketFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int listenPort;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private sun.rmi.transport.tcp.TCPTransport transport;
descriptor: Lsun/rmi/transport/tcp/TCPTransport;
flags: (0x0002) ACC_PRIVATE
private static java.lang.String localHost;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean localHostKnown;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.util.Map<sun.rmi.transport.tcp.TCPEndpoint, java.util.LinkedList<sun.rmi.transport.tcp.TCPEndpoint>> localEndpoints;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Lsun/rmi/transport/tcp/TCPEndpoint;Ljava/util/LinkedList<Lsun/rmi/transport/tcp/TCPEndpoint;>;>;
private static final int FORMAT_HOST_PORT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int FORMAT_HOST_PORT_FACTORY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=0
0: iconst_1
putstatic sun.rmi.transport.tcp.TCPEndpoint.localHostKnown:Z
1: invokestatic sun.rmi.transport.tcp.TCPEndpoint.getHostnameProperty:()Ljava/lang/String;
putstatic sun.rmi.transport.tcp.TCPEndpoint.localHost:Ljava/lang/String;
2: getstatic sun.rmi.transport.tcp.TCPEndpoint.localHost:Ljava/lang/String;
ifnonnull 18
3: invokestatic java.net.InetAddress.getLocalHost:()Ljava/net/InetAddress;
astore 0
start local 0 4: aload 0
invokevirtual java.net.InetAddress.getAddress:()[B
astore 1
start local 1 5: aload 1
iconst_0
baload
bipush 127
if_icmpne 10
6: aload 1
iconst_1
baload
ifne 10
7: aload 1
iconst_2
baload
ifne 10
8: aload 1
iconst_3
baload
iconst_1
if_icmpne 10
9: iconst_0
putstatic sun.rmi.transport.tcp.TCPEndpoint.localHostKnown:Z
10: StackMap locals: java.net.InetAddress byte[]
StackMap stack:
ldc "java.rmi.server.useLocalHostName"
invokestatic sun.rmi.transport.tcp.TCPEndpoint.getBoolean:(Ljava/lang/String;)Z
ifeq 13
11: aload 0
invokestatic sun.rmi.transport.tcp.TCPEndpoint$FQDN.attemptFQDN:(Ljava/net/InetAddress;)Ljava/lang/String;
putstatic sun.rmi.transport.tcp.TCPEndpoint.localHost:Ljava/lang/String;
12: goto 18
13: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
putstatic sun.rmi.transport.tcp.TCPEndpoint.localHost:Ljava/lang/String;
end local 1 end local 0 14: goto 18
StackMap locals:
StackMap stack: java.lang.Exception
15: pop
16: iconst_0
putstatic sun.rmi.transport.tcp.TCPEndpoint.localHostKnown:Z
17: aconst_null
putstatic sun.rmi.transport.tcp.TCPEndpoint.localHost:Ljava/lang/String;
18: StackMap locals:
StackMap stack:
getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.BRIEF:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 24
19: getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.BRIEF:Ljava/util/logging/Level;
20: new java.lang.StringBuilder
dup
ldc "localHostKnown = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic sun.rmi.transport.tcp.TCPEndpoint.localHostKnown:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
21: ldc ", localHost = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic sun.rmi.transport.tcp.TCPEndpoint.localHost:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
24: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
25: putstatic sun.rmi.transport.tcp.TCPEndpoint.localEndpoints:Ljava/util/Map;
26: return
LocalVariableTable:
Start End Slot Name Signature
4 14 0 localAddr Ljava/net/InetAddress;
5 14 1 raw [B
Exception table:
from to target type
3 14 15 Class java.lang.Exception
private static int getInt(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new sun.security.action.GetIntegerAction
dup
aload 0
iload 1
invokespecial sun.security.action.GetIntegerAction.<init>:(Ljava/lang/String;I)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
0 1 1 def I
MethodParameters:
Name Flags
name
def
private static boolean getBoolean(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.security.action.GetBooleanAction
dup
aload 0
invokespecial sun.security.action.GetBooleanAction.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private static java.lang.String getHostnameProperty();
descriptor: ()Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new sun.security.action.GetPropertyAction
dup
ldc "java.rmi.server.hostname"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
areturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
aconst_null
aconst_null
invokespecial sun.rmi.transport.tcp.TCPEndpoint.<init>:(Ljava/lang/String;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
0 2 1 host Ljava/lang/String;
0 2 2 port I
MethodParameters:
Name Flags
host
port
public void <init>(java.lang.String, int, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory);
descriptor: (Ljava/lang/String;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield sun.rmi.transport.tcp.TCPEndpoint.listenPort:I
2: aload 0
aconst_null
putfield sun.rmi.transport.tcp.TCPEndpoint.transport:Lsun/rmi/transport/tcp/TCPTransport;
3: aload 1
ifnonnull 5
4: ldc ""
astore 1
5: StackMap locals: sun.rmi.transport.tcp.TCPEndpoint java.lang.String int java.rmi.server.RMIClientSocketFactory java.rmi.server.RMIServerSocketFactory
StackMap stack:
aload 0
aload 1
putfield sun.rmi.transport.tcp.TCPEndpoint.host:Ljava/lang/String;
6: aload 0
iload 2
putfield sun.rmi.transport.tcp.TCPEndpoint.port:I
7: aload 0
aload 3
putfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
8: aload 0
aload 4
putfield sun.rmi.transport.tcp.TCPEndpoint.ssf:Ljava/rmi/server/RMIServerSocketFactory;
9: return
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/transport/tcp/TCPEndpoint;
0 10 1 host Ljava/lang/String;
0 10 2 port I
0 10 3 csf Ljava/rmi/server/RMIClientSocketFactory;
0 10 4 ssf Ljava/rmi/server/RMIServerSocketFactory;
MethodParameters:
Name Flags
host
port
csf
ssf
public static sun.rmi.transport.tcp.TCPEndpoint getLocalEndpoint(int);
descriptor: (I)Lsun/rmi/transport/tcp/TCPEndpoint;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
aconst_null
aconst_null
invokestatic sun.rmi.transport.tcp.TCPEndpoint.getLocalEndpoint:(ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)Lsun/rmi/transport/tcp/TCPEndpoint;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 port I
MethodParameters:
Name Flags
port
public static sun.rmi.transport.tcp.TCPEndpoint getLocalEndpoint(int, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory);
descriptor: (ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)Lsun/rmi/transport/tcp/TCPEndpoint;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: getstatic sun.rmi.transport.tcp.TCPEndpoint.localEndpoints:Ljava/util/Map;
dup
astore 4
monitorenter
2: new sun.rmi.transport.tcp.TCPEndpoint
dup
aconst_null
iload 0
aload 1
aload 2
invokespecial sun.rmi.transport.tcp.TCPEndpoint.<init>:(Ljava/lang/String;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)V
astore 5
start local 5 3: getstatic sun.rmi.transport.tcp.TCPEndpoint.localEndpoints:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.LinkedList
astore 6
start local 6 4: invokestatic sun.rmi.transport.tcp.TCPEndpoint.resampleLocalHost:()Ljava/lang/String;
astore 7
start local 7 5: aload 6
ifnonnull 19
6: new sun.rmi.transport.tcp.TCPEndpoint
dup
aload 7
iload 0
aload 1
aload 2
invokespecial sun.rmi.transport.tcp.TCPEndpoint.<init>:(Ljava/lang/String;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)V
astore 3
7: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 6
8: aload 6
aload 3
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
9: aload 3
iload 0
putfield sun.rmi.transport.tcp.TCPEndpoint.listenPort:I
10: aload 3
new sun.rmi.transport.tcp.TCPTransport
dup
aload 6
invokespecial sun.rmi.transport.tcp.TCPTransport.<init>:(Ljava/util/LinkedList;)V
putfield sun.rmi.transport.tcp.TCPEndpoint.transport:Lsun/rmi/transport/tcp/TCPTransport;
11: getstatic sun.rmi.transport.tcp.TCPEndpoint.localEndpoints:Ljava/util/Map;
aload 5
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.BRIEF:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 35
13: getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.BRIEF:Ljava/util/logging/Level;
14: new java.lang.StringBuilder
dup
ldc "created local endpoint for socket factory "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
15: ldc " on port "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
16: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
18: goto 35
19: StackMap locals: int java.rmi.server.RMIClientSocketFactory java.rmi.server.RMIServerSocketFactory sun.rmi.transport.tcp.TCPEndpoint java.util.Map sun.rmi.transport.tcp.TCPEndpoint java.util.LinkedList java.lang.String
StackMap stack:
aload 6
dup
astore 8
monitorenter
20: aload 6
invokevirtual java.util.LinkedList.getLast:()Ljava/lang/Object;
checkcast sun.rmi.transport.tcp.TCPEndpoint
astore 3
21: aload 3
getfield sun.rmi.transport.tcp.TCPEndpoint.host:Ljava/lang/String;
astore 9
start local 9 22: aload 3
getfield sun.rmi.transport.tcp.TCPEndpoint.port:I
istore 10
start local 10 23: aload 3
getfield sun.rmi.transport.tcp.TCPEndpoint.transport:Lsun/rmi/transport/tcp/TCPTransport;
astore 11
start local 11 24: aload 7
ifnull 31
aload 7
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 31
25: iload 10
ifeq 27
26: aload 6
invokevirtual java.util.LinkedList.clear:()V
27: StackMap locals: int java.rmi.server.RMIClientSocketFactory java.rmi.server.RMIServerSocketFactory sun.rmi.transport.tcp.TCPEndpoint java.util.Map sun.rmi.transport.tcp.TCPEndpoint java.util.LinkedList java.lang.String java.util.LinkedList java.lang.String int sun.rmi.transport.tcp.TCPTransport
StackMap stack:
new sun.rmi.transport.tcp.TCPEndpoint
dup
aload 7
iload 10
aload 1
aload 2
invokespecial sun.rmi.transport.tcp.TCPEndpoint.<init>:(Ljava/lang/String;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)V
astore 3
28: aload 3
iload 0
putfield sun.rmi.transport.tcp.TCPEndpoint.listenPort:I
29: aload 3
aload 11
putfield sun.rmi.transport.tcp.TCPEndpoint.transport:Lsun/rmi/transport/tcp/TCPTransport;
30: aload 6
aload 3
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
end local 11 end local 10 end local 9 31: StackMap locals:
StackMap stack:
aload 8
monitorexit
32: goto 35
StackMap locals:
StackMap stack: java.lang.Throwable
33: aload 8
monitorexit
34: athrow
end local 7 end local 6 end local 5 35: StackMap locals: int java.rmi.server.RMIClientSocketFactory java.rmi.server.RMIServerSocketFactory sun.rmi.transport.tcp.TCPEndpoint java.util.Map
StackMap stack:
aload 4
monitorexit
36: goto 39
StackMap locals:
StackMap stack: java.lang.Throwable
37: aload 4
monitorexit
38: athrow
39: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 port I
0 40 1 csf Ljava/rmi/server/RMIClientSocketFactory;
0 40 2 ssf Ljava/rmi/server/RMIServerSocketFactory;
1 40 3 ep Lsun/rmi/transport/tcp/TCPEndpoint;
3 35 5 endpointKey Lsun/rmi/transport/tcp/TCPEndpoint;
4 35 6 epList Ljava/util/LinkedList<Lsun/rmi/transport/tcp/TCPEndpoint;>;
5 35 7 localHost Ljava/lang/String;
22 31 9 lastHost Ljava/lang/String;
23 31 10 lastPort I
24 31 11 lastTransport Lsun/rmi/transport/tcp/TCPTransport;
Exception table:
from to target type
20 32 33 any
33 34 33 any
2 36 37 any
37 38 37 any
MethodParameters:
Name Flags
port
csf
ssf
private static java.lang.String resampleLocalHost();
descriptor: ()Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=0
0: invokestatic sun.rmi.transport.tcp.TCPEndpoint.getHostnameProperty:()Ljava/lang/String;
astore 0
start local 0 1: getstatic sun.rmi.transport.tcp.TCPEndpoint.localEndpoints:Ljava/util/Map;
dup
astore 1
monitorenter
2: aload 0
ifnull 12
3: getstatic sun.rmi.transport.tcp.TCPEndpoint.localHostKnown:Z
ifne 6
4: aload 0
invokestatic sun.rmi.transport.tcp.TCPEndpoint.setLocalHost:(Ljava/lang/String;)V
5: goto 12
StackMap locals: java.lang.String java.util.Map
StackMap stack:
6: aload 0
getstatic sun.rmi.transport.tcp.TCPEndpoint.localHost:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
7: aload 0
putstatic sun.rmi.transport.tcp.TCPEndpoint.localHost:Ljava/lang/String;
8: getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.BRIEF:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 12
9: getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.BRIEF:Ljava/util/logging/Level;
10: new java.lang.StringBuilder
dup
ldc "updated local hostname to: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic sun.rmi.transport.tcp.TCPEndpoint.localHost:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
getstatic sun.rmi.transport.tcp.TCPEndpoint.localHost:Ljava/lang/String;
aload 1
monitorexit
13: areturn
14: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
15: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 16 0 hostnameProperty Ljava/lang/String;
Exception table:
from to target type
2 13 14 any
14 15 14 any
static void setLocalHost(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: getstatic sun.rmi.transport.tcp.TCPEndpoint.localEndpoints:Ljava/util/Map;
dup
astore 1
monitorenter
1: getstatic sun.rmi.transport.tcp.TCPEndpoint.localHostKnown:Z
ifne 20
2: aload 0
putstatic sun.rmi.transport.tcp.TCPEndpoint.localHost:Ljava/lang/String;
3: iconst_1
putstatic sun.rmi.transport.tcp.TCPEndpoint.localHostKnown:Z
4: getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.BRIEF:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 8
5: getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.BRIEF:Ljava/util/logging/Level;
6: new java.lang.StringBuilder
dup
ldc "local host set to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
8: StackMap locals: java.util.Map
StackMap stack:
getstatic sun.rmi.transport.tcp.TCPEndpoint.localEndpoints:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 19
StackMap locals: java.lang.String java.util.Map top java.util.Iterator
StackMap stack:
9: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.LinkedList
astore 2
start local 2 10: aload 2
dup
astore 4
monitorenter
11: aload 2
invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
astore 6
goto 14
StackMap locals: java.lang.String java.util.Map java.util.LinkedList java.util.Iterator java.util.LinkedList top java.util.Iterator
StackMap stack:
12: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.rmi.transport.tcp.TCPEndpoint
astore 5
start local 5 13: aload 5
aload 0
putfield sun.rmi.transport.tcp.TCPEndpoint.host:Ljava/lang/String;
end local 5 14: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: aload 4
monitorexit
16: goto 19
StackMap locals: java.lang.String java.util.Map java.util.LinkedList java.util.Iterator java.util.LinkedList
StackMap stack: java.lang.Throwable
17: aload 4
monitorexit
18: athrow
end local 2 19: StackMap locals: java.lang.String java.util.Map top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
20: StackMap locals: java.lang.String java.util.Map
StackMap stack:
aload 1
monitorexit
21: goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
22: aload 1
monitorexit
23: athrow
24: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 host Ljava/lang/String;
10 19 2 epList Ljava/util/LinkedList<Lsun/rmi/transport/tcp/TCPEndpoint;>;
13 14 5 ep Lsun/rmi/transport/tcp/TCPEndpoint;
Exception table:
from to target type
11 16 17 any
17 18 17 any
1 21 22 any
22 23 22 any
MethodParameters:
Name Flags
host
static void setDefaultPort(int, java.rmi.server.RMIClientSocketFactory, java.rmi.server.RMIServerSocketFactory);
descriptor: (ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=11, args_size=3
start local 0 start local 1 start local 2 0: new sun.rmi.transport.tcp.TCPEndpoint
dup
aconst_null
iconst_0
aload 1
aload 2
invokespecial sun.rmi.transport.tcp.TCPEndpoint.<init>:(Ljava/lang/String;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)V
astore 3
start local 3 1: getstatic sun.rmi.transport.tcp.TCPEndpoint.localEndpoints:Ljava/util/Map;
dup
astore 4
monitorenter
2: getstatic sun.rmi.transport.tcp.TCPEndpoint.localEndpoints:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.LinkedList
astore 5
start local 5 3: aload 5
dup
astore 6
monitorenter
4: aload 5
invokevirtual java.util.LinkedList.size:()I
istore 7
start local 7 5: aload 5
invokevirtual java.util.LinkedList.getLast:()Ljava/lang/Object;
checkcast sun.rmi.transport.tcp.TCPEndpoint
astore 8
start local 8 6: aload 5
invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
astore 10
goto 9
StackMap locals: int java.rmi.server.RMIClientSocketFactory java.rmi.server.RMIServerSocketFactory sun.rmi.transport.tcp.TCPEndpoint java.util.Map java.util.LinkedList java.util.LinkedList int sun.rmi.transport.tcp.TCPEndpoint top java.util.Iterator
StackMap stack:
7: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.rmi.transport.tcp.TCPEndpoint
astore 9
start local 9 8: aload 9
iload 0
putfield sun.rmi.transport.tcp.TCPEndpoint.port:I
end local 9 9: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: iload 7
iconst_1
if_icmple 13
11: aload 5
invokevirtual java.util.LinkedList.clear:()V
12: aload 5
aload 8
invokevirtual java.util.LinkedList.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 13: StackMap locals: int java.rmi.server.RMIClientSocketFactory java.rmi.server.RMIServerSocketFactory sun.rmi.transport.tcp.TCPEndpoint java.util.Map java.util.LinkedList java.util.LinkedList
StackMap stack:
aload 6
monitorexit
14: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 6
monitorexit
16: athrow
17: StackMap locals:
StackMap stack:
new sun.rmi.transport.tcp.TCPEndpoint
dup
aconst_null
iload 0
aload 1
aload 2
invokespecial sun.rmi.transport.tcp.TCPEndpoint.<init>:(Ljava/lang/String;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)V
astore 6
start local 6 18: getstatic sun.rmi.transport.tcp.TCPEndpoint.localEndpoints:Ljava/util/Map;
aload 6
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.BRIEF:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 26
20: getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.BRIEF:Ljava/util/logging/Level;
21: new java.lang.StringBuilder
dup
ldc "default port for server socket factory "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
22: ldc " and client socket factory "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
23: ldc " set to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
24: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
end local 6 end local 5 26: StackMap locals:
StackMap stack:
aload 4
monitorexit
27: goto 30
StackMap locals:
StackMap stack: java.lang.Throwable
28: aload 4
monitorexit
29: athrow
30: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 port I
0 31 1 csf Ljava/rmi/server/RMIClientSocketFactory;
0 31 2 ssf Ljava/rmi/server/RMIServerSocketFactory;
1 31 3 endpointKey Lsun/rmi/transport/tcp/TCPEndpoint;
3 26 5 epList Ljava/util/LinkedList<Lsun/rmi/transport/tcp/TCPEndpoint;>;
5 13 7 size I
6 13 8 lastEp Lsun/rmi/transport/tcp/TCPEndpoint;
8 9 9 ep Lsun/rmi/transport/tcp/TCPEndpoint;
18 26 6 newEndpointKey Lsun/rmi/transport/tcp/TCPEndpoint;
Exception table:
from to target type
4 14 15 any
15 16 15 any
2 27 28 any
28 29 28 any
MethodParameters:
Name Flags
port
csf
ssf
public sun.rmi.transport.Transport getOutboundTransport();
descriptor: ()Lsun/rmi/transport/Transport;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_0
aconst_null
aconst_null
invokestatic sun.rmi.transport.tcp.TCPEndpoint.getLocalEndpoint:(ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)Lsun/rmi/transport/tcp/TCPEndpoint;
astore 1
start local 1 1: aload 1
getfield sun.rmi.transport.tcp.TCPEndpoint.transport:Lsun/rmi/transport/tcp/TCPTransport;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
1 2 1 localEndpoint Lsun/rmi/transport/tcp/TCPEndpoint;
private static java.util.Collection<sun.rmi.transport.tcp.TCPTransport> allKnownTransports();
descriptor: ()Ljava/util/Collection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=0
0: getstatic sun.rmi.transport.tcp.TCPEndpoint.localEndpoints:Ljava/util/Map;
dup
astore 1
monitorenter
1: new java.util.HashSet
dup
getstatic sun.rmi.transport.tcp.TCPEndpoint.localEndpoints:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
invokespecial java.util.HashSet.<init>:(I)V
astore 0
start local 0 2: getstatic sun.rmi.transport.tcp.TCPEndpoint.localEndpoints:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: java.util.Set java.util.Map top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.LinkedList
astore 2
start local 2 4: aload 2
invokevirtual java.util.LinkedList.getFirst:()Ljava/lang/Object;
checkcast sun.rmi.transport.tcp.TCPEndpoint
astore 4
start local 4 5: aload 0
aload 4
getfield sun.rmi.transport.tcp.TCPEndpoint.transport:Lsun/rmi/transport/tcp/TCPTransport;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 4 end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 1
monitorexit
8: goto 11
end local 0 StackMap locals: top java.util.Map
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
start local 0 11: StackMap locals: java.util.Set
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 9 0 s Ljava/util/Set<Lsun/rmi/transport/tcp/TCPTransport;>;
11 12 0 s Ljava/util/Set<Lsun/rmi/transport/tcp/TCPTransport;>;
4 6 2 epList Ljava/util/LinkedList<Lsun/rmi/transport/tcp/TCPEndpoint;>;
5 6 4 ep Lsun/rmi/transport/tcp/TCPEndpoint;
Exception table:
from to target type
1 8 9 any
9 10 9 any
Signature: ()Ljava/util/Collection<Lsun/rmi/transport/tcp/TCPTransport;>;
public static void shedConnectionCaches();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=0
0: invokestatic sun.rmi.transport.tcp.TCPEndpoint.allKnownTransports:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 1
goto 3
StackMap locals: top java.util.Iterator
StackMap stack:
1: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.rmi.transport.tcp.TCPTransport
astore 0
start local 0 2: aload 0
invokevirtual sun.rmi.transport.tcp.TCPTransport.shedConnectionCaches:()V
end local 0 3: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
LocalVariableTable:
Start End Slot Name Signature
2 3 0 transport Lsun/rmi/transport/tcp/TCPTransport;
public void exportObject(sun.rmi.transport.Target);
descriptor: (Lsun/rmi/transport/Target;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.transport:Lsun/rmi/transport/tcp/TCPTransport;
aload 1
invokevirtual sun.rmi.transport.tcp.TCPTransport.exportObject:(Lsun/rmi/transport/Target;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
0 2 1 target Lsun/rmi/transport/Target;
Exceptions:
throws java.rmi.RemoteException
MethodParameters:
Name Flags
target
public sun.rmi.transport.Channel getChannel();
descriptor: ()Lsun/rmi/transport/Channel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.rmi.transport.tcp.TCPEndpoint.getOutboundTransport:()Lsun/rmi/transport/Transport;
aload 0
invokevirtual sun.rmi.transport.Transport.getChannel:(Lsun/rmi/transport/Endpoint;)Lsun/rmi/transport/Channel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
public java.lang.String getHost();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.host:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
public int getPort();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.port:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
public int getListenPort();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.listenPort:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
public sun.rmi.transport.Transport getInboundTransport();
descriptor: ()Lsun/rmi/transport/Transport;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.transport:Lsun/rmi/transport/tcp/TCPTransport;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
public java.rmi.server.RMIClientSocketFactory getClientSocketFactory();
descriptor: ()Ljava/rmi/server/RMIClientSocketFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
public java.rmi.server.RMIServerSocketFactory getServerSocketFactory();
descriptor: ()Ljava/rmi/server/RMIServerSocketFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.ssf:Ljava/rmi/server/RMIServerSocketFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.host: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;
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.port:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
1: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.ssf:Ljava/rmi/server/RMIServerSocketFactory;
ifnull 2
new java.lang.StringBuilder
dup
ldc ","
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.ssf:Ljava/rmi/server/RMIServerSocketFactory;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack: java.lang.StringBuilder
2: ldc ""
StackMap locals: sun.rmi.transport.tcp.TCPEndpoint
StackMap stack: java.lang.StringBuilder java.lang.String
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
ifnull 5
new java.lang.StringBuilder
dup
ldc ","
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 6
StackMap locals:
StackMap stack: java.lang.StringBuilder
5: ldc ""
StackMap locals: sun.rmi.transport.tcp.TCPEndpoint
StackMap stack: java.lang.StringBuilder java.lang.String
6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.port:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 22
aload 1
instanceof sun.rmi.transport.tcp.TCPEndpoint
ifeq 22
1: aload 1
checkcast sun.rmi.transport.tcp.TCPEndpoint
astore 2
start local 2 2: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.port:I
aload 2
getfield sun.rmi.transport.tcp.TCPEndpoint.port:I
if_icmpne 3
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.host:Ljava/lang/String;
aload 2
getfield sun.rmi.transport.tcp.TCPEndpoint.host:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: StackMap locals: sun.rmi.transport.tcp.TCPEndpoint
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
ifnonnull 5
iconst_1
goto 6
StackMap locals:
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: aload 2
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
ifnonnull 7
iconst_1
goto 8
StackMap locals:
StackMap stack: int
7: iconst_0
StackMap locals: sun.rmi.transport.tcp.TCPEndpoint java.lang.Object sun.rmi.transport.tcp.TCPEndpoint
StackMap stack: int int
8: ixor
ifne 14
9: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.ssf:Ljava/rmi/server/RMIServerSocketFactory;
ifnonnull 10
iconst_1
goto 11
StackMap locals:
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: aload 2
getfield sun.rmi.transport.tcp.TCPEndpoint.ssf:Ljava/rmi/server/RMIServerSocketFactory;
ifnonnull 12
iconst_1
goto 13
StackMap locals:
StackMap stack: int
12: iconst_0
StackMap locals: sun.rmi.transport.tcp.TCPEndpoint java.lang.Object sun.rmi.transport.tcp.TCPEndpoint
StackMap stack: int int
13: ixor
ifeq 15
14: StackMap locals:
StackMap stack:
iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
ifnull 18
16: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 2
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpne 17
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
aload 2
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 18
17: StackMap locals:
StackMap stack:
iconst_0
ireturn
18: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.ssf:Ljava/rmi/server/RMIServerSocketFactory;
ifnull 21
19: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.ssf:Ljava/rmi/server/RMIServerSocketFactory;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 2
getfield sun.rmi.transport.tcp.TCPEndpoint.ssf:Ljava/rmi/server/RMIServerSocketFactory;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpne 20
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.ssf:Ljava/rmi/server/RMIServerSocketFactory;
aload 2
getfield sun.rmi.transport.tcp.TCPEndpoint.ssf:Ljava/rmi/server/RMIServerSocketFactory;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 21
20: StackMap locals:
StackMap stack:
iconst_0
ireturn
21: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 22: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
0 23 1 obj Ljava/lang/Object;
2 22 2 ep Lsun/rmi/transport/tcp/TCPEndpoint;
MethodParameters:
Name Flags
obj
public void write(java.io.ObjectOutput);
descriptor: (Ljava/io/ObjectOutput;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
ifnonnull 5
1: aload 1
iconst_0
invokeinterface java.io.ObjectOutput.writeByte:(I)V
2: aload 1
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.host:Ljava/lang/String;
invokeinterface java.io.ObjectOutput.writeUTF:(Ljava/lang/String;)V
3: aload 1
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.port:I
invokeinterface java.io.ObjectOutput.writeInt:(I)V
4: goto 9
5: StackMap locals:
StackMap stack:
aload 1
iconst_1
invokeinterface java.io.ObjectOutput.writeByte:(I)V
6: aload 1
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.host:Ljava/lang/String;
invokeinterface java.io.ObjectOutput.writeUTF:(Ljava/lang/String;)V
7: aload 1
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.port:I
invokeinterface java.io.ObjectOutput.writeInt:(I)V
8: aload 1
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
invokeinterface java.io.ObjectOutput.writeObject:(Ljava/lang/Object;)V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
0 10 1 out Ljava/io/ObjectOutput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public static sun.rmi.transport.tcp.TCPEndpoint read(java.io.ObjectInput);
descriptor: (Ljava/io/ObjectInput;)Lsun/rmi/transport/tcp/TCPEndpoint;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aconst_null
astore 3
start local 3 1: aload 0
invokeinterface java.io.ObjectInput.readByte:()B
istore 4
start local 4 2: iload 4
tableswitch { // 0 - 1
0: 3
1: 6
default: 11
}
3: StackMap locals: java.io.ObjectInput top top java.rmi.server.RMIClientSocketFactory int
StackMap stack:
aload 0
invokeinterface java.io.ObjectInput.readUTF:()Ljava/lang/String;
astore 1
start local 1 4: aload 0
invokeinterface java.io.ObjectInput.readInt:()I
istore 2
start local 2 5: goto 12
end local 2 end local 1 6: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.io.ObjectInput.readUTF:()Ljava/lang/String;
astore 1
start local 1 7: aload 0
invokeinterface java.io.ObjectInput.readInt:()I
istore 2
start local 2 8: aload 0
invokeinterface java.io.ObjectInput.readObject:()Ljava/lang/Object;
checkcast java.rmi.server.RMIClientSocketFactory
astore 3
9: aload 3
ifnull 12
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic java.lang.reflect.Proxy.isProxyClass:(Ljava/lang/Class;)Z
ifeq 12
10: new java.io.IOException
dup
ldc "Invalid SocketFactory"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 11: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "invalid endpoint format"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
start local 1 start local 2 12: StackMap locals: java.io.ObjectInput java.lang.String int java.rmi.server.RMIClientSocketFactory int
StackMap stack:
new sun.rmi.transport.tcp.TCPEndpoint
dup
aload 1
iload 2
aload 3
aconst_null
invokespecial sun.rmi.transport.tcp.TCPEndpoint.<init>:(Ljava/lang/String;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 in Ljava/io/ObjectInput;
4 6 1 host Ljava/lang/String;
7 11 1 host Ljava/lang/String;
12 13 1 host Ljava/lang/String;
5 6 2 port I
8 11 2 port I
12 13 2 port I
1 13 3 csf Ljava/rmi/server/RMIClientSocketFactory;
2 13 4 format B
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
in
public void writeHostPortFormat(java.io.DataOutput);
descriptor: (Ljava/io/DataOutput;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
ifnull 2
1: new java.lang.InternalError
dup
ldc "TCPEndpoint.writeHostPortFormat: called for endpoint with non-null socket factory"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.host:Ljava/lang/String;
invokeinterface java.io.DataOutput.writeUTF:(Ljava/lang/String;)V
3: aload 1
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.port:I
invokeinterface java.io.DataOutput.writeInt:(I)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
0 5 1 out Ljava/io/DataOutput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public static sun.rmi.transport.tcp.TCPEndpoint readHostPortFormat(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)Lsun/rmi/transport/tcp/TCPEndpoint;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface java.io.DataInput.readUTF:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokeinterface java.io.DataInput.readInt:()I
istore 2
start local 2 2: new sun.rmi.transport.tcp.TCPEndpoint
dup
aload 1
iload 2
invokespecial sun.rmi.transport.tcp.TCPEndpoint.<init>:(Ljava/lang/String;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 in Ljava/io/DataInput;
1 3 1 host Ljava/lang/String;
2 3 2 port I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
private static java.rmi.server.RMISocketFactory chooseFactory();
descriptor: ()Ljava/rmi/server/RMISocketFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: invokestatic java.rmi.server.RMISocketFactory.getSocketFactory:()Ljava/rmi/server/RMISocketFactory;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: getstatic sun.rmi.transport.tcp.TCPTransport.defaultSocketFactory:Ljava/rmi/server/RMISocketFactory;
astore 0
3: StackMap locals: java.rmi.server.RMISocketFactory
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 sf Ljava/rmi/server/RMISocketFactory;
java.net.Socket newSocket();
descriptor: ()Ljava/net/Socket;
flags: (0x0000)
Code:
stack=5, locals=3, args_size=1
start local 0 0: getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 4
1: getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
2: new java.lang.StringBuilder
dup
ldc "opening socket to "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
astore 2
start local 2 5: aload 2
ifnonnull 7
6: invokestatic sun.rmi.transport.tcp.TCPEndpoint.chooseFactory:()Ljava/rmi/server/RMISocketFactory;
astore 2
7: StackMap locals: sun.rmi.transport.tcp.TCPEndpoint top java.rmi.server.RMIClientSocketFactory
StackMap stack:
aload 2
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.host:Ljava/lang/String;
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.port:I
invokeinterface java.rmi.server.RMIClientSocketFactory.createSocket:(Ljava/lang/String;I)Ljava/net/Socket;
astore 1
end local 2 start local 1 8: goto 24
end local 1 StackMap locals: sun.rmi.transport.tcp.TCPEndpoint
StackMap stack: java.net.UnknownHostException
9: astore 2
start local 2 10: new java.rmi.UnknownHostException
dup
11: new java.lang.StringBuilder
dup
ldc "Unknown host: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.host:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
12: invokespecial java.rmi.UnknownHostException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 13: StackMap locals:
StackMap stack: java.net.ConnectException
astore 2
start local 2 14: new java.rmi.ConnectException
dup
15: new java.lang.StringBuilder
dup
ldc "Connection refused to host: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.host:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
16: invokespecial java.rmi.ConnectException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 17: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 18: invokestatic sun.rmi.transport.tcp.TCPEndpoint.shedConnectionCaches:()V
19: goto 21
StackMap locals: sun.rmi.transport.tcp.TCPEndpoint top java.io.IOException
StackMap stack: java.lang.Throwable
20: pop
21: StackMap locals:
StackMap stack:
new java.rmi.ConnectIOException
dup
new java.lang.StringBuilder
dup
ldc "Exception creating connection to: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
22: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.host:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
23: invokespecial java.rmi.ConnectIOException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 start local 1 24: StackMap locals: sun.rmi.transport.tcp.TCPEndpoint java.net.Socket
StackMap stack:
aload 1
iconst_1
invokevirtual java.net.Socket.setTcpNoDelay:(Z)V
25: goto 27
StackMap locals:
StackMap stack: java.lang.Exception
26: pop
27: StackMap locals:
StackMap stack:
aload 1
iconst_1
invokevirtual java.net.Socket.setKeepAlive:(Z)V
28: goto 30
StackMap locals:
StackMap stack: java.lang.Exception
29: pop
30: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
8 9 1 socket Ljava/net/Socket;
24 31 1 socket Ljava/net/Socket;
5 8 2 clientFactory Ljava/rmi/server/RMIClientSocketFactory;
10 13 2 e Ljava/net/UnknownHostException;
14 17 2 e Ljava/net/ConnectException;
18 24 2 e Ljava/io/IOException;
Exception table:
from to target type
4 8 9 Class java.net.UnknownHostException
4 8 13 Class java.net.ConnectException
4 8 17 Class java.io.IOException
18 19 20 Class java.lang.OutOfMemoryError
18 19 20 Class java.lang.Exception
24 25 26 Class java.lang.Exception
27 28 29 Class java.lang.Exception
Exceptions:
throws java.rmi.RemoteException
java.net.ServerSocket newServerSocket();
descriptor: ()Ljava/net/ServerSocket;
flags: (0x0000)
Code:
stack=5, locals=3, args_size=1
start local 0 0: getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
invokevirtual sun.rmi.runtime.Log.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 4
1: getstatic sun.rmi.transport.tcp.TCPTransport.tcpLog:Lsun/rmi/runtime/Log;
getstatic sun.rmi.runtime.Log.VERBOSE:Ljava/util/logging/Level;
2: new java.lang.StringBuilder
dup
ldc "creating server socket on "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokevirtual sun.rmi.runtime.Log.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.ssf:Ljava/rmi/server/RMIServerSocketFactory;
astore 1
start local 1 5: aload 1
ifnonnull 7
6: invokestatic sun.rmi.transport.tcp.TCPEndpoint.chooseFactory:()Ljava/rmi/server/RMISocketFactory;
astore 1
7: StackMap locals: java.rmi.server.RMIServerSocketFactory
StackMap stack:
aload 1
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.listenPort:I
invokeinterface java.rmi.server.RMIServerSocketFactory.createServerSocket:(I)Ljava/net/ServerSocket;
astore 2
start local 2 8: aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.listenPort:I
ifne 10
9: aload 2
invokevirtual java.net.ServerSocket.getLocalPort:()I
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.csf:Ljava/rmi/server/RMIClientSocketFactory;
aload 0
getfield sun.rmi.transport.tcp.TCPEndpoint.ssf:Ljava/rmi/server/RMIServerSocketFactory;
invokestatic sun.rmi.transport.tcp.TCPEndpoint.setDefaultPort:(ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;)V
10: StackMap locals: java.net.ServerSocket
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/rmi/transport/tcp/TCPEndpoint;
5 11 1 serverFactory Ljava/rmi/server/RMIServerSocketFactory;
8 11 2 server Ljava/net/ServerSocket;
Exceptions:
throws java.io.IOException
}
SourceFile: "TCPEndpoint.java"
NestMembers:
sun.rmi.transport.tcp.TCPEndpoint$FQDN
InnerClasses:
private FQDN = sun.rmi.transport.tcp.TCPEndpoint$FQDN of sun.rmi.transport.tcp.TCPEndpoint