public final class sun.management.jmxremote.ConnectorBootstrap
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.management.jmxremote.ConnectorBootstrap
super_class: java.lang.Object
{
private static final com.sun.jmx.remote.util.ClassLogger log;
descriptor: Lcom/sun/jmx/remote/util/ClassLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new com.sun.jmx.remote.util.ClassLogger
dup
ldc Lsun/management/jmxremote/ConnectorBootstrap;
invokevirtual java.lang.Class.getPackage:()Ljava/lang/Package;
invokevirtual java.lang.Package.getName:()Ljava/lang/String;
1: ldc "ConnectorBootstrap"
2: invokespecial com.sun.jmx.remote.util.ClassLogger.<init>:(Ljava/lang/String;Ljava/lang/String;)V
3: putstatic sun.management.jmxremote.ConnectorBootstrap.log:Lcom/sun/jmx/remote/util/ClassLogger;
4: return
LocalVariableTable:
Start End Slot Name Signature
public static synchronized javax.management.remote.JMXConnectorServer initialize();
descriptor: ()Ljavax/management/remote/JMXConnectorServer;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=0
0: invokestatic sun.management.Agent.loadManagementProperties:()Ljava/util/Properties;
astore 0
start local 0 1: aload 0
ifnonnull 2
aconst_null
areturn
2: StackMap locals: java.util.Properties
StackMap stack:
aload 0
ldc "com.sun.management.jmxremote.port"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 3: aload 1
aload 0
invokestatic sun.management.jmxremote.ConnectorBootstrap.initialize:(Ljava/lang/String;Ljava/util/Properties;)Ljavax/management/remote/JMXConnectorServer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 props Ljava/util/Properties;
3 4 1 portStr Ljava/lang/String;
public static synchronized javax.management.remote.JMXConnectorServer initialize(java.lang.String, java.util.Properties);
descriptor: (Ljava/lang/String;Ljava/util/Properties;)Ljavax/management/remote/JMXConnectorServer;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=14, locals=22, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 2
start local 2 1: goto 4
end local 2 StackMap locals:
StackMap stack: java.lang.NumberFormatException
2: astore 3
start local 3 3: new sun.management.AgentConfigurationError
dup
ldc "agent.err.invalid.jmxremote.port"
aload 3
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
end local 3 start local 2 4: StackMap locals: int
StackMap stack:
iload 2
ifge 6
5: new sun.management.AgentConfigurationError
dup
ldc "agent.err.invalid.jmxremote.port"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
ldc "com.sun.management.jmxremote.authenticate"
7: ldc "true"
8: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
9: astore 3
start local 3 10: aload 3
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
11: istore 4
start local 4 12: aload 1
ldc "com.sun.management.jmxremote.ssl"
13: ldc "true"
14: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
15: astore 5
start local 5 16: aload 5
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
17: istore 6
start local 6 18: aload 1
ldc "com.sun.management.jmxremote.registry.ssl"
19: ldc "false"
20: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
21: astore 7
start local 7 22: aload 7
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
23: istore 8
start local 8 24: aload 1
ldc "com.sun.management.jmxremote.ssl.enabled.cipher.suites"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
25: astore 9
start local 9 26: aconst_null
astore 10
start local 10 27: aload 9
ifnull 36
28: new java.util.StringTokenizer
dup
aload 9
ldc ","
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 11
start local 11 29: aload 11
invokevirtual java.util.StringTokenizer.countTokens:()I
istore 12
start local 12 30: iload 12
anewarray java.lang.String
astore 10
31: iconst_0
istore 13
start local 13 32: goto 35
33: StackMap locals: java.lang.String java.util.Properties int java.lang.String int java.lang.String int java.lang.String int java.lang.String java.lang.String[] java.util.StringTokenizer int int
StackMap stack:
aload 10
iload 13
aload 11
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
aastore
34: iinc 13 1
StackMap locals:
StackMap stack:
35: iload 13
iload 12
if_icmplt 33
end local 13 end local 12 end local 11 36: StackMap locals:
StackMap stack:
aload 1
ldc "com.sun.management.jmxremote.ssl.enabled.protocols"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
37: astore 11
start local 11 38: aconst_null
astore 12
start local 12 39: aload 11
ifnull 48
40: new java.util.StringTokenizer
dup
aload 11
ldc ","
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 13
start local 13 41: aload 13
invokevirtual java.util.StringTokenizer.countTokens:()I
istore 14
start local 14 42: iload 14
anewarray java.lang.String
astore 12
43: iconst_0
istore 15
start local 15 44: goto 47
45: StackMap locals: java.lang.String java.util.Properties int java.lang.String int java.lang.String int java.lang.String int java.lang.String java.lang.String[] java.lang.String java.lang.String[] java.util.StringTokenizer int int
StackMap stack:
aload 12
iload 15
aload 13
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
aastore
46: iinc 15 1
StackMap locals:
StackMap stack:
47: iload 15
iload 14
if_icmplt 45
end local 15 end local 14 end local 13 48: StackMap locals:
StackMap stack:
aload 1
ldc "com.sun.management.jmxremote.ssl.need.client.auth"
49: ldc "false"
50: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
51: astore 13
start local 13 52: aload 13
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
53: istore 14
start local 14 54: aload 1
ldc "com.sun.management.jmxremote.ssl.config.file"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
55: astore 15
start local 15 56: aconst_null
astore 16
start local 16 57: aconst_null
astore 17
start local 17 58: aconst_null
astore 18
start local 18 59: iload 4
ifeq 72
60: aload 1
ldc "com.sun.management.jmxremote.login.config"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
61: astore 16
62: aload 16
ifnonnull 68
63: aload 1
ldc "com.sun.management.jmxremote.password.file"
64: ldc "jmxremote.password"
invokestatic sun.management.jmxremote.ConnectorBootstrap.getDefaultFileName:(Ljava/lang/String;)Ljava/lang/String;
65: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
66: astore 17
67: aload 17
invokestatic sun.management.jmxremote.ConnectorBootstrap.checkPasswordFile:(Ljava/lang/String;)V
68: StackMap locals: java.lang.String java.util.Properties int java.lang.String int java.lang.String int java.lang.String int java.lang.String java.lang.String[] java.lang.String java.lang.String[] java.lang.String int java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 1
ldc "com.sun.management.jmxremote.access.file"
69: ldc "jmxremote.access"
invokestatic sun.management.jmxremote.ConnectorBootstrap.getDefaultFileName:(Ljava/lang/String;)Ljava/lang/String;
70: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 18
71: aload 18
invokestatic sun.management.jmxremote.ConnectorBootstrap.checkAccessFile:(Ljava/lang/String;)V
72: StackMap locals:
StackMap stack:
getstatic sun.management.jmxremote.ConnectorBootstrap.log:Lcom/sun/jmx/remote/util/ClassLogger;
invokevirtual com.sun.jmx.remote.util.ClassLogger.debugOn:()Z
ifeq 109
73: getstatic sun.management.jmxremote.ConnectorBootstrap.log:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "initialize"
74: new java.lang.StringBuilder
dup
ldc "jmxremote.ConnectorBootstrap.initialize"
invokestatic sun.management.Agent.getText:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
75: ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "com.sun.management.jmxremote.port"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
76: ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "com.sun.management.jmxremote.ssl"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 6
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
77: ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "com.sun.management.jmxremote.registry.ssl"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 8
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
78: ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "com.sun.management.jmxremote.ssl.config.file"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
79: ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "com.sun.management.jmxremote.ssl.enabled.cipher.suites"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
80: aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
81: ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "com.sun.management.jmxremote.ssl.enabled.protocols"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
82: aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
83: ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "com.sun.management.jmxremote.ssl.need.client.auth"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
84: iload 14
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
85: ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "com.sun.management.jmxremote.authenticate"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
86: iload 4
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
87: iload 4
ifeq 97
88: aload 16
ifnonnull 93
89: new java.lang.StringBuilder
dup
ldc "\n\tcom.sun.management.jmxremote.password.file="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
90: aload 17
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
91: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
92: goto 99
93: StackMap locals: java.lang.String java.util.Properties int java.lang.String int java.lang.String int java.lang.String int java.lang.String java.lang.String[] java.lang.String java.lang.String[] java.lang.String int java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack: com.sun.jmx.remote.util.ClassLogger java.lang.String java.lang.StringBuilder
new java.lang.StringBuilder
dup
ldc "\n\tcom.sun.management.jmxremote.login.config="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
94: aload 16
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
95: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
96: goto 99
StackMap locals: java.lang.String java.util.Properties int java.lang.String int java.lang.String int java.lang.String int java.lang.String java.lang.String[] java.lang.String java.lang.String[] java.lang.String int java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack: com.sun.jmx.remote.util.ClassLogger java.lang.String java.lang.StringBuilder
97: new java.lang.StringBuilder
dup
ldc "\n\t"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
98: ldc "jmxremote.ConnectorBootstrap.initialize.noAuthentication"
invokestatic sun.management.Agent.getText:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
99: StackMap locals: java.lang.String java.util.Properties int java.lang.String int java.lang.String int java.lang.String int java.lang.String java.lang.String[] java.lang.String java.lang.String[] java.lang.String int java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack: com.sun.jmx.remote.util.ClassLogger java.lang.String java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
100: iload 4
ifeq 105
101: new java.lang.StringBuilder
dup
ldc "\n\tcom.sun.management.jmxremote.access.file="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
102: aload 18
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
103: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
104: goto 106
StackMap locals: java.lang.String java.util.Properties int java.lang.String int java.lang.String int java.lang.String int java.lang.String java.lang.String[] java.lang.String java.lang.String[] java.lang.String int java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack: com.sun.jmx.remote.util.ClassLogger java.lang.String java.lang.StringBuilder
105: ldc ""
106: StackMap locals: java.lang.String java.util.Properties int java.lang.String int java.lang.String int java.lang.String int java.lang.String java.lang.String[] java.lang.String java.lang.String[] java.lang.String int java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack: com.sun.jmx.remote.util.ClassLogger java.lang.String java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
107: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
108: invokevirtual com.sun.jmx.remote.util.ClassLogger.debug:(Ljava/lang/String;Ljava/lang/String;)V
109: StackMap locals:
StackMap stack:
invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
astore 19
start local 19 110: aconst_null
astore 20
start local 20 111: aload 19
iload 2
iload 6
iload 8
112: aload 15
aload 10
113: aload 12
iload 14
114: iload 4
aload 16
115: aload 17
aload 18
116: invokestatic sun.management.jmxremote.ConnectorBootstrap.exportMBeanServer:(Ljavax/management/MBeanServer;IZZLjava/lang/String;[Ljava/lang/String;[Ljava/lang/String;ZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljavax/management/remote/JMXConnectorServer;
astore 20
117: aload 20
invokevirtual javax.management.remote.JMXConnectorServer.getAddress:()Ljavax/management/remote/JMXServiceURL;
astore 21
start local 21 118: getstatic sun.management.jmxremote.ConnectorBootstrap.log:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "initialize"
119: ldc "jmxremote.ConnectorBootstrap.initialize.ready"
iconst_1
anewarray java.lang.String
dup
iconst_0
120: new javax.management.remote.JMXServiceURL
dup
aload 21
invokevirtual javax.management.remote.JMXServiceURL.getProtocol:()Ljava/lang/String;
121: aload 21
invokevirtual javax.management.remote.JMXServiceURL.getHost:()Ljava/lang/String;
122: aload 21
invokevirtual javax.management.remote.JMXServiceURL.getPort:()I
123: new java.lang.StringBuilder
dup
ldc "/jndi/rmi://"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 21
invokevirtual javax.management.remote.JMXServiceURL.getHost:()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;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
124: ldc "jmxrmi"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
125: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
126: invokespecial javax.management.remote.JMXServiceURL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
127: invokevirtual javax.management.remote.JMXServiceURL.toString:()Ljava/lang/String;
aastore
128: invokestatic sun.management.Agent.getText:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
129: invokevirtual com.sun.jmx.remote.util.ClassLogger.config:(Ljava/lang/String;Ljava/lang/String;)V
end local 21 130: goto 133
StackMap locals: java.lang.String java.util.Properties int java.lang.String int java.lang.String int java.lang.String int java.lang.String java.lang.String[] java.lang.String java.lang.String[] java.lang.String int java.lang.String java.lang.String java.lang.String java.lang.String javax.management.MBeanServer javax.management.remote.JMXConnectorServer
StackMap stack: java.lang.Exception
131: astore 21
start local 21 132: new sun.management.AgentConfigurationError
dup
ldc "agent.err.exception"
aload 21
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 21
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
end local 21 133: StackMap locals:
StackMap stack:
aload 20
areturn
end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 134 0 portStr Ljava/lang/String;
0 134 1 props Ljava/util/Properties;
1 2 2 port I
4 134 2 port I
3 4 3 x Ljava/lang/NumberFormatException;
10 134 3 useAuthenticationStr Ljava/lang/String;
12 134 4 useAuthentication Z
16 134 5 useSslStr Ljava/lang/String;
18 134 6 useSsl Z
22 134 7 useRegistrySslStr Ljava/lang/String;
24 134 8 useRegistrySsl Z
26 134 9 enabledCipherSuites Ljava/lang/String;
27 134 10 enabledCipherSuitesList [Ljava/lang/String;
29 36 11 st Ljava/util/StringTokenizer;
30 36 12 tokens I
32 36 13 i I
38 134 11 enabledProtocols Ljava/lang/String;
39 134 12 enabledProtocolsList [Ljava/lang/String;
41 48 13 st Ljava/util/StringTokenizer;
42 48 14 tokens I
44 48 15 i I
52 134 13 sslNeedClientAuthStr Ljava/lang/String;
54 134 14 sslNeedClientAuth Z
56 134 15 sslConfigFileName Ljava/lang/String;
57 134 16 loginConfigName Ljava/lang/String;
58 134 17 passwordFileName Ljava/lang/String;
59 134 18 accessFileName Ljava/lang/String;
110 134 19 mbs Ljavax/management/MBeanServer;
111 134 20 cs Ljavax/management/remote/JMXConnectorServer;
118 130 21 url Ljavax/management/remote/JMXServiceURL;
132 133 21 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.NumberFormatException
111 130 131 Class java.lang.Exception
MethodParameters:
Name Flags
portStr
props
public static javax.management.remote.JMXConnectorServer startLocalConnectorServer();
descriptor: ()Ljavax/management/remote/JMXConnectorServer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=9, args_size=0
0: ldc "java.rmi.server.randomIDs"
ldc "true"
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 0
start local 0 2: aload 0
ldc "com.sun.jmx.remote.rmi.exporter"
new sun.management.jmxremote.ConnectorBootstrap$PermanentExporter
dup
invokespecial sun.management.jmxremote.ConnectorBootstrap$PermanentExporter.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
ldc "jmx.remote.rmi.server.credential.types"
iconst_2
anewarray java.lang.String
dup
iconst_0
4: ldc [Ljava/lang/String;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
ldc Ljava/lang/String;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
5: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: ldc "localhost"
astore 1
start local 1 7: aconst_null
astore 2
start local 2 8: aload 1
invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
astore 2
9: aload 2
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
astore 1
10: goto 12
StackMap locals: java.util.Map java.lang.String java.net.InetAddress
StackMap stack: java.net.UnknownHostException
11: pop
12: StackMap locals:
StackMap stack:
aload 2
ifnull 13
aload 2
invokevirtual java.net.InetAddress.isLoopbackAddress:()Z
ifne 14
13: StackMap locals:
StackMap stack:
ldc "127.0.0.1"
astore 1
14: StackMap locals:
StackMap stack:
invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
astore 3
start local 3 15: new javax.management.remote.JMXServiceURL
dup
ldc "rmi"
aload 1
iconst_0
invokespecial javax.management.remote.JMXServiceURL.<init>:(Ljava/lang/String;Ljava/lang/String;I)V
astore 4
start local 4 16: invokestatic sun.management.Agent.getManagementProperties:()Ljava/util/Properties;
astore 5
start local 5 17: aload 5
ifnonnull 19
18: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 5
19: StackMap locals: javax.management.MBeanServer javax.management.remote.JMXServiceURL java.util.Properties
StackMap stack:
aload 5
20: ldc "com.sun.management.jmxremote.local.only"
ldc "true"
21: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 22: aload 6
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 7
start local 7 23: iload 7
ifeq 27
24: aload 0
ldc "jmx.remote.rmi.server.socket.factory"
25: new sun.management.jmxremote.LocalRMIServerSocketFactory
dup
invokespecial sun.management.jmxremote.LocalRMIServerSocketFactory.<init>:()V
26: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
27: StackMap locals: java.lang.String int
StackMap stack:
aload 4
aload 0
aload 3
invokestatic javax.management.remote.JMXConnectorServerFactory.newJMXConnectorServer:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management/MBeanServer;)Ljavax/management/remote/JMXConnectorServer;
28: astore 8
start local 8 29: aload 8
invokevirtual javax.management.remote.JMXConnectorServer.start:()V
30: aload 8
31: areturn
end local 8 end local 7 end local 6 end local 5 end local 4 32: StackMap locals: java.util.Map java.lang.String java.net.InetAddress javax.management.MBeanServer
StackMap stack: java.lang.Exception
astore 4
start local 4 33: new sun.management.AgentConfigurationError
dup
ldc "agent.err.exception"
aload 4
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 4
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
2 34 0 env Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
7 34 1 localhost Ljava/lang/String;
8 34 2 lh Ljava/net/InetAddress;
15 34 3 mbs Ljavax/management/MBeanServer;
16 32 4 url Ljavax/management/remote/JMXServiceURL;
17 32 5 props Ljava/util/Properties;
22 32 6 useLocalOnlyStr Ljava/lang/String;
23 32 7 useLocalOnly Z
29 32 8 server Ljavax/management/remote/JMXConnectorServer;
33 34 4 e Ljava/lang/Exception;
Exception table:
from to target type
8 10 11 Class java.net.UnknownHostException
15 31 32 Class java.lang.Exception
private static void checkPasswordFile(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=4, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
new sun.management.AgentConfigurationError
dup
ldc "agent.err.password.file.notset"
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: aload 1
invokevirtual java.io.File.exists:()Z
ifne 5
4: new sun.management.AgentConfigurationError
dup
ldc "agent.err.password.file.notfound"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
5: StackMap locals: java.io.File
StackMap stack:
aload 1
invokevirtual java.io.File.canRead:()Z
ifne 7
6: new sun.management.AgentConfigurationError
dup
ldc "agent.err.password.file.not.readable"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
invokestatic sun.management.FileSystem.open:()Lsun/management/FileSystem;
astore 2
start local 2 8: aload 2
aload 1
invokevirtual sun.management.FileSystem.supportsFileSecurity:(Ljava/io/File;)Z
ifeq 21
9: aload 2
aload 1
invokevirtual sun.management.FileSystem.isAccessUserOnly:(Ljava/io/File;)Z
ifne 21
10: ldc "jmxremote.ConnectorBootstrap.initialize.password.readonly"
iconst_1
anewarray java.lang.String
dup
iconst_0
11: aload 0
aastore
12: invokestatic sun.management.Agent.getText:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 13: getstatic sun.management.jmxremote.ConnectorBootstrap.log:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "initialize"
aload 3
invokevirtual com.sun.jmx.remote.util.ClassLogger.config:(Ljava/lang/String;Ljava/lang/String;)V
14: new sun.management.AgentConfigurationError
dup
ldc "agent.err.password.file.access.notrestricted"
iconst_1
anewarray java.lang.String
dup
iconst_0
15: aload 0
16: aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
end local 3 17: StackMap locals: java.lang.String java.io.File sun.management.FileSystem
StackMap stack: java.io.IOException
astore 3
start local 3 18: new sun.management.AgentConfigurationError
dup
ldc "agent.err.password.file.read.failed"
19: aload 3
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
20: aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
end local 3 21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 passwordFileName Ljava/lang/String;
3 22 1 file Ljava/io/File;
8 22 2 fs Lsun/management/FileSystem;
13 17 3 msg Ljava/lang/String;
18 21 3 e Ljava/io/IOException;
Exception table:
from to target type
8 17 17 Class java.io.IOException
MethodParameters:
Name Flags
passwordFileName
private static void checkAccessFile(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
new sun.management.AgentConfigurationError
dup
ldc "agent.err.access.file.notset"
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: aload 1
invokevirtual java.io.File.exists:()Z
ifne 5
4: new sun.management.AgentConfigurationError
dup
ldc "agent.err.access.file.notfound"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
5: StackMap locals: java.io.File
StackMap stack:
aload 1
invokevirtual java.io.File.canRead:()Z
ifne 7
6: new sun.management.AgentConfigurationError
dup
ldc "agent.err.access.file.not.readable"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 accessFileName Ljava/lang/String;
3 8 1 file Ljava/io/File;
MethodParameters:
Name Flags
accessFileName
private static void checkRestrictedFile(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=4, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
new sun.management.AgentConfigurationError
dup
ldc "agent.err.file.not.set"
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: aload 1
invokevirtual java.io.File.exists:()Z
ifne 5
4: new sun.management.AgentConfigurationError
dup
ldc "agent.err.file.not.found"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
5: StackMap locals: java.io.File
StackMap stack:
aload 1
invokevirtual java.io.File.canRead:()Z
ifne 7
6: new sun.management.AgentConfigurationError
dup
ldc "agent.err.file.not.readable"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
invokestatic sun.management.FileSystem.open:()Lsun/management/FileSystem;
astore 2
start local 2 8: aload 2
aload 1
invokevirtual sun.management.FileSystem.supportsFileSecurity:(Ljava/io/File;)Z
ifeq 21
9: aload 2
aload 1
invokevirtual sun.management.FileSystem.isAccessUserOnly:(Ljava/io/File;)Z
ifne 21
10: ldc "jmxremote.ConnectorBootstrap.initialize.file.readonly"
iconst_1
anewarray java.lang.String
dup
iconst_0
11: aload 0
aastore
12: invokestatic sun.management.Agent.getText:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 13: getstatic sun.management.jmxremote.ConnectorBootstrap.log:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "initialize"
aload 3
invokevirtual com.sun.jmx.remote.util.ClassLogger.config:(Ljava/lang/String;Ljava/lang/String;)V
14: new sun.management.AgentConfigurationError
dup
15: ldc "agent.err.file.access.not.restricted"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
16: aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
end local 3 17: StackMap locals: java.lang.String java.io.File sun.management.FileSystem
StackMap stack: java.io.IOException
astore 3
start local 3 18: new sun.management.AgentConfigurationError
dup
19: ldc "agent.err.file.read.failed"
aload 3
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
20: aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
end local 3 21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 restrictedFileName Ljava/lang/String;
3 22 1 file Ljava/io/File;
8 22 2 fs Lsun/management/FileSystem;
13 17 3 msg Ljava/lang/String;
18 21 3 e Ljava/io/IOException;
Exception table:
from to target type
8 17 17 Class java.io.IOException
MethodParameters:
Name Flags
restrictedFileName
private static java.lang.String getDefaultFileName(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: getstatic java.io.File.separator:Ljava/lang/String;
astore 1
start local 1 1: new java.lang.StringBuilder
dup
ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "lib"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "management"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 basename Ljava/lang/String;
1 5 1 fileSeparator Ljava/lang/String;
MethodParameters:
Name Flags
basename
private static javax.rmi.ssl.SslRMIServerSocketFactory createSslRMIServerSocketFactory(java.lang.String, java.lang.String[], java.lang.String[], boolean);
descriptor: (Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Z)Ljavax/rmi/ssl/SslRMIServerSocketFactory;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=17, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnonnull 6
1: new javax.rmi.ssl.SslRMIServerSocketFactory
dup
2: aload 1
3: aload 2
4: iload 3
5: invokespecial javax.rmi.ssl.SslRMIServerSocketFactory.<init>:([Ljava/lang/String;[Ljava/lang/String;Z)V
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.management.jmxremote.ConnectorBootstrap.checkRestrictedFile:(Ljava/lang/String;)V
7: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 4
start local 4 8: new java.io.FileInputStream
dup
aload 0
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
astore 5
start local 5 9: new java.io.BufferedInputStream
dup
aload 5
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 6
start local 6 10: aload 4
aload 6
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
end local 6 11: goto 15
StackMap locals: java.lang.String java.lang.String[] java.lang.String[] int java.util.Properties java.io.InputStream
StackMap stack: java.lang.Throwable
12: astore 7
13: aload 5
invokevirtual java.io.InputStream.close:()V
14: aload 7
athrow
15: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.io.InputStream.close:()V
16: aload 4
ldc "javax.net.ssl.keyStore"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
17: astore 6
start local 6 18: aload 4
ldc "javax.net.ssl.keyStorePassword"
ldc ""
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
19: astore 7
start local 7 20: aload 4
ldc "javax.net.ssl.trustStore"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
21: astore 8
start local 8 22: aload 4
ldc "javax.net.ssl.trustStorePassword"
ldc ""
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
23: astore 9
start local 9 24: aconst_null
astore 10
start local 10 25: aload 7
invokevirtual java.lang.String.length:()I
ifeq 27
26: aload 7
invokevirtual java.lang.String.toCharArray:()[C
astore 10
27: StackMap locals: java.lang.String java.lang.String[] java.lang.String[] int java.util.Properties java.io.InputStream java.lang.String java.lang.String java.lang.String java.lang.String char[]
StackMap stack:
aconst_null
astore 11
start local 11 28: aload 9
invokevirtual java.lang.String.length:()I
ifeq 30
29: aload 9
invokevirtual java.lang.String.toCharArray:()[C
astore 11
30: StackMap locals: char[]
StackMap stack:
aconst_null
astore 12
start local 12 31: aload 6
ifnull 40
32: invokestatic java.security.KeyStore.getDefaultType:()Ljava/lang/String;
invokestatic java.security.KeyStore.getInstance:(Ljava/lang/String;)Ljava/security/KeyStore;
astore 12
33: new java.io.FileInputStream
dup
aload 6
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
astore 13
start local 13 34: aload 12
aload 13
aload 10
invokevirtual java.security.KeyStore.load:(Ljava/io/InputStream;[C)V
35: goto 39
StackMap locals: java.lang.String java.lang.String[] java.lang.String[] int java.util.Properties java.io.InputStream java.lang.String java.lang.String java.lang.String java.lang.String char[] char[] java.security.KeyStore java.io.FileInputStream
StackMap stack: java.lang.Throwable
36: astore 14
37: aload 13
invokevirtual java.io.FileInputStream.close:()V
38: aload 14
athrow
39: StackMap locals:
StackMap stack:
aload 13
invokevirtual java.io.FileInputStream.close:()V
end local 13 40: StackMap locals:
StackMap stack:
invokestatic javax.net.ssl.KeyManagerFactory.getDefaultAlgorithm:()Ljava/lang/String;
41: invokestatic javax.net.ssl.KeyManagerFactory.getInstance:(Ljava/lang/String;)Ljavax/net/ssl/KeyManagerFactory;
astore 13
start local 13 42: aload 13
aload 12
aload 10
invokevirtual javax.net.ssl.KeyManagerFactory.init:(Ljava/security/KeyStore;[C)V
43: aconst_null
astore 14
start local 14 44: aload 8
ifnull 53
45: invokestatic java.security.KeyStore.getDefaultType:()Ljava/lang/String;
invokestatic java.security.KeyStore.getInstance:(Ljava/lang/String;)Ljava/security/KeyStore;
astore 14
46: new java.io.FileInputStream
dup
aload 8
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
astore 15
start local 15 47: aload 14
aload 15
aload 11
invokevirtual java.security.KeyStore.load:(Ljava/io/InputStream;[C)V
48: goto 52
StackMap locals: java.lang.String java.lang.String[] java.lang.String[] int java.util.Properties java.io.InputStream java.lang.String java.lang.String java.lang.String java.lang.String char[] char[] java.security.KeyStore javax.net.ssl.KeyManagerFactory java.security.KeyStore java.io.FileInputStream
StackMap stack: java.lang.Throwable
49: astore 16
50: aload 15
invokevirtual java.io.FileInputStream.close:()V
51: aload 16
athrow
52: StackMap locals:
StackMap stack:
aload 15
invokevirtual java.io.FileInputStream.close:()V
end local 15 53: StackMap locals:
StackMap stack:
invokestatic javax.net.ssl.TrustManagerFactory.getDefaultAlgorithm:()Ljava/lang/String;
54: invokestatic javax.net.ssl.TrustManagerFactory.getInstance:(Ljava/lang/String;)Ljavax/net/ssl/TrustManagerFactory;
astore 15
start local 15 55: aload 15
aload 14
invokevirtual javax.net.ssl.TrustManagerFactory.init:(Ljava/security/KeyStore;)V
56: ldc "SSL"
invokestatic javax.net.ssl.SSLContext.getInstance:(Ljava/lang/String;)Ljavax/net/ssl/SSLContext;
astore 16
start local 16 57: aload 16
aload 13
invokevirtual javax.net.ssl.KeyManagerFactory.getKeyManagers:()[Ljavax/net/ssl/KeyManager;
aload 15
invokevirtual javax.net.ssl.TrustManagerFactory.getTrustManagers:()[Ljavax/net/ssl/TrustManager;
aconst_null
invokevirtual javax.net.ssl.SSLContext.init:([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V
58: new sun.management.jmxremote.SSLContextRMIServerSocketFactory
dup
59: aload 16
60: aload 1
61: aload 2
62: iload 3
63: invokespecial sun.management.jmxremote.SSLContextRMIServerSocketFactory.<init>:(Ljavax/net/ssl/SSLContext;[Ljava/lang/String;[Ljava/lang/String;Z)V
64: areturn
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 65: StackMap locals: java.lang.String java.lang.String[] java.lang.String[] int
StackMap stack: java.lang.Exception
astore 4
start local 4 66: new sun.management.AgentConfigurationError
dup
ldc "agent.err.exception"
aload 4
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 4
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 67 0 sslConfigFileName Ljava/lang/String;
0 67 1 enabledCipherSuites [Ljava/lang/String;
0 67 2 enabledProtocols [Ljava/lang/String;
0 67 3 sslNeedClientAuth Z
8 65 4 p Ljava/util/Properties;
9 65 5 in Ljava/io/InputStream;
10 11 6 bin Ljava/io/BufferedInputStream;
18 65 6 keyStore Ljava/lang/String;
20 65 7 keyStorePassword Ljava/lang/String;
22 65 8 trustStore Ljava/lang/String;
24 65 9 trustStorePassword Ljava/lang/String;
25 65 10 keyStorePasswd [C
28 65 11 trustStorePasswd [C
31 65 12 ks Ljava/security/KeyStore;
34 40 13 ksfis Ljava/io/FileInputStream;
42 65 13 kmf Ljavax/net/ssl/KeyManagerFactory;
44 65 14 ts Ljava/security/KeyStore;
47 53 15 tsfis Ljava/io/FileInputStream;
55 65 15 tmf Ljavax/net/ssl/TrustManagerFactory;
57 65 16 ctx Ljavax/net/ssl/SSLContext;
66 67 4 e Ljava/lang/Exception;
Exception table:
from to target type
9 12 12 any
34 36 36 any
47 49 49 any
7 64 65 Class java.lang.Exception
MethodParameters:
Name Flags
sslConfigFileName
enabledCipherSuites
enabledProtocols
sslNeedClientAuth
private static javax.management.remote.JMXConnectorServer exportMBeanServer(javax.management.MBeanServer, int, boolean, boolean, java.lang.String, java.lang.String[], java.lang.String[], boolean, boolean, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljavax/management/MBeanServer;IZZLjava/lang/String;[Ljava/lang/String;[Ljava/lang/String;ZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljavax/management/remote/JMXConnectorServer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=19, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: ldc "java.rmi.server.randomIDs"
ldc "true"
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
1: new javax.management.remote.JMXServiceURL
dup
ldc "rmi"
aconst_null
iconst_0
invokespecial javax.management.remote.JMXServiceURL.<init>:(Ljava/lang/String;Ljava/lang/String;I)V
astore 12
start local 12 2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 13
start local 13 3: new sun.management.jmxremote.ConnectorBootstrap$PermanentExporter
dup
invokespecial sun.management.jmxremote.ConnectorBootstrap$PermanentExporter.<init>:()V
astore 14
start local 14 4: aload 13
ldc "com.sun.jmx.remote.rmi.exporter"
aload 14
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 13
ldc "jmx.remote.rmi.server.credential.types"
iconst_2
anewarray java.lang.String
dup
iconst_0
6: ldc [Ljava/lang/String;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
ldc Ljava/lang/String;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
7: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: iload 8
ifeq 19
9: aload 9
ifnull 11
10: aload 13
ldc "jmx.remote.x.login.config"
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: StackMap locals: javax.management.remote.JMXServiceURL java.util.Map sun.management.jmxremote.ConnectorBootstrap$PermanentExporter
StackMap stack:
aload 10
ifnull 13
12: aload 13
ldc "jmx.remote.x.password.file"
aload 10
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: StackMap locals:
StackMap stack:
aload 13
ldc "jmx.remote.x.access.file"
aload 11
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 13
ldc "jmx.remote.x.password.file"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 16
15: aload 13
ldc "jmx.remote.x.login.config"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 19
16: StackMap locals:
StackMap stack:
aload 13
ldc "jmx.remote.authenticator"
17: new sun.management.jmxremote.ConnectorBootstrap$AccessFileCheckerAuthenticator
dup
aload 13
invokespecial sun.management.jmxremote.ConnectorBootstrap$AccessFileCheckerAuthenticator.<init>:(Ljava/util/Map;)V
18: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: StackMap locals:
StackMap stack:
aconst_null
astore 15
start local 15 20: aconst_null
astore 16
start local 16 21: iload 2
ifne 22
iload 3
ifeq 26
22: StackMap locals: java.rmi.server.RMIClientSocketFactory java.rmi.server.RMIServerSocketFactory
StackMap stack:
new javax.rmi.ssl.SslRMIClientSocketFactory
dup
invokespecial javax.rmi.ssl.SslRMIClientSocketFactory.<init>:()V
astore 15
23: aload 4
aload 5
24: aload 6
iload 7
25: invokestatic sun.management.jmxremote.ConnectorBootstrap.createSslRMIServerSocketFactory:(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Z)Ljavax/rmi/ssl/SslRMIServerSocketFactory;
astore 16
26: StackMap locals:
StackMap stack:
iload 2
ifeq 33
27: aload 13
ldc "jmx.remote.rmi.client.socket.factory"
28: aload 15
29: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
30: aload 13
ldc "jmx.remote.rmi.server.socket.factory"
31: aload 16
32: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
33: StackMap locals:
StackMap stack:
aconst_null
astore 17
start local 17 34: aload 12
aload 13
aload 0
invokestatic javax.management.remote.JMXConnectorServerFactory.newJMXConnectorServer:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management/MBeanServer;)Ljavax/management/remote/JMXConnectorServer;
35: astore 17
36: aload 17
invokevirtual javax.management.remote.JMXConnectorServer.start:()V
37: goto 46
StackMap locals: javax.management.MBeanServer int int int java.lang.String java.lang.String[] java.lang.String[] int int java.lang.String java.lang.String java.lang.String javax.management.remote.JMXServiceURL java.util.Map sun.management.jmxremote.ConnectorBootstrap$PermanentExporter java.rmi.server.RMIClientSocketFactory java.rmi.server.RMIServerSocketFactory javax.management.remote.JMXConnectorServer
StackMap stack: java.io.IOException
38: astore 18
start local 18 39: aload 17
ifnonnull 43
40: new sun.management.AgentConfigurationError
dup
ldc "agent.err.connector.server.io.error"
41: aload 18
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 12
invokevirtual javax.management.remote.JMXServiceURL.toString:()Ljava/lang/String;
42: aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
43: StackMap locals: java.io.IOException
StackMap stack:
new sun.management.AgentConfigurationError
dup
ldc "agent.err.connector.server.io.error"
44: aload 18
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 17
invokevirtual javax.management.remote.JMXConnectorServer.getAddress:()Ljavax/management/remote/JMXServiceURL;
invokevirtual javax.management.remote.JMXServiceURL.toString:()Ljava/lang/String;
45: aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
end local 18 46: StackMap locals:
StackMap stack:
iload 3
ifeq 52
47: new sun.management.jmxremote.SingleEntryRegistry
dup
iload 1
aload 15
aload 16
48: ldc "jmxrmi"
aload 14
getfield sun.management.jmxremote.ConnectorBootstrap$PermanentExporter.firstExported:Ljava/rmi/Remote;
49: invokespecial sun.management.jmxremote.SingleEntryRegistry.<init>:(ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Ljava/lang/String;Ljava/rmi/Remote;)V
50: pop
51: goto 56
52: StackMap locals:
StackMap stack:
new sun.management.jmxremote.SingleEntryRegistry
dup
iload 1
53: ldc "jmxrmi"
aload 14
getfield sun.management.jmxremote.ConnectorBootstrap$PermanentExporter.firstExported:Ljava/rmi/Remote;
54: invokespecial sun.management.jmxremote.SingleEntryRegistry.<init>:(ILjava/lang/String;Ljava/rmi/Remote;)V
55: pop
56: StackMap locals:
StackMap stack:
aload 17
areturn
end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 57 0 mbs Ljavax/management/MBeanServer;
0 57 1 port I
0 57 2 useSsl Z
0 57 3 useRegistrySsl Z
0 57 4 sslConfigFileName Ljava/lang/String;
0 57 5 enabledCipherSuites [Ljava/lang/String;
0 57 6 enabledProtocols [Ljava/lang/String;
0 57 7 sslNeedClientAuth Z
0 57 8 useAuthentication Z
0 57 9 loginConfigName Ljava/lang/String;
0 57 10 passwordFileName Ljava/lang/String;
0 57 11 accessFileName Ljava/lang/String;
2 57 12 url Ljavax/management/remote/JMXServiceURL;
3 57 13 env Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
4 57 14 exporter Lsun/management/jmxremote/ConnectorBootstrap$PermanentExporter;
20 57 15 csf Ljava/rmi/server/RMIClientSocketFactory;
21 57 16 ssf Ljava/rmi/server/RMIServerSocketFactory;
34 57 17 connServer Ljavax/management/remote/JMXConnectorServer;
39 46 18 e Ljava/io/IOException;
Exception table:
from to target type
34 37 38 Class java.io.IOException
Exceptions:
throws java.io.IOException, java.net.MalformedURLException
MethodParameters:
Name Flags
mbs
port
useSsl
useRegistrySsl
sslConfigFileName
enabledCipherSuites
enabledProtocols
sslNeedClientAuth
useAuthentication
loginConfigName
passwordFileName
accessFileName
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/management/jmxremote/ConnectorBootstrap;
}
SourceFile: "ConnectorBootstrap.java"
NestMembers:
sun.management.jmxremote.ConnectorBootstrap$AccessFileCheckerAuthenticator sun.management.jmxremote.ConnectorBootstrap$DefaultValues sun.management.jmxremote.ConnectorBootstrap$PermanentExporter sun.management.jmxremote.ConnectorBootstrap$PropertyNames
InnerClasses:
private AccessFileCheckerAuthenticator = sun.management.jmxremote.ConnectorBootstrap$AccessFileCheckerAuthenticator of sun.management.jmxremote.ConnectorBootstrap
public abstract DefaultValues = sun.management.jmxremote.ConnectorBootstrap$DefaultValues of sun.management.jmxremote.ConnectorBootstrap
private PermanentExporter = sun.management.jmxremote.ConnectorBootstrap$PermanentExporter of sun.management.jmxremote.ConnectorBootstrap
public abstract PropertyNames = sun.management.jmxremote.ConnectorBootstrap$PropertyNames of sun.management.jmxremote.ConnectorBootstrap