public final class sun.management.snmp.AdaptorBootstrap
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.management.snmp.AdaptorBootstrap
super_class: java.lang.Object
{
private static final sun.management.snmp.util.MibLogger log;
descriptor: Lsun/management/snmp/util/MibLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private com.sun.jmx.snmp.daemon.SnmpAdaptorServer adaptor;
descriptor: Lcom/sun/jmx/snmp/daemon/SnmpAdaptorServer;
flags: (0x0002) ACC_PRIVATE
private sun.management.snmp.jvminstr.JVM_MANAGEMENT_MIB_IMPL jvmmib;
descriptor: Lsun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new sun.management.snmp.util.MibLogger
dup
ldc Lsun/management/snmp/AdaptorBootstrap;
invokespecial sun.management.snmp.util.MibLogger.<init>:(Ljava/lang/Class;)V
putstatic sun.management.snmp.AdaptorBootstrap.log:Lsun/management/snmp/util/MibLogger;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(com.sun.jmx.snmp.daemon.SnmpAdaptorServer, sun.management.snmp.jvminstr.JVM_MANAGEMENT_MIB_IMPL);
descriptor: (Lcom/sun/jmx/snmp/daemon/SnmpAdaptorServer;Lsun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield sun.management.snmp.AdaptorBootstrap.jvmmib:Lsun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL;
2: aload 0
aload 1
putfield sun.management.snmp.AdaptorBootstrap.adaptor:Lcom/sun/jmx/snmp/daemon/SnmpAdaptorServer;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/management/snmp/AdaptorBootstrap;
0 4 1 snmpas Lcom/sun/jmx/snmp/daemon/SnmpAdaptorServer;
0 4 2 mib Lsun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL;
MethodParameters:
Name Flags
snmpas
mib
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;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 basename Ljava/lang/String;
1 4 1 fileSeparator Ljava/lang/String;
MethodParameters:
Name Flags
basename
private static java.util.List<sun.management.snmp.jvminstr.NotificationTarget> getTargetList(com.sun.jmx.snmp.InetAddressAcl, int);
descriptor: (Lcom/sun/jmx/snmp/InetAddressAcl;I)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
1: astore 2
start local 2 2: aload 0
ifnull 26
3: getstatic sun.management.snmp.AdaptorBootstrap.log:Lsun/management/snmp/util/MibLogger;
invokevirtual sun.management.snmp.util.MibLogger.isDebugOn:()Z
ifeq 5
4: getstatic sun.management.snmp.AdaptorBootstrap.log:Lsun/management/snmp/util/MibLogger;
ldc "getTargetList"
ldc "jmxremote.AdaptorBootstrap.getTargetList.processing"
invokestatic sun.management.Agent.getText:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.management.snmp.util.MibLogger.debug:(Ljava/lang/String;Ljava/lang/String;)V
5: StackMap locals: java.util.ArrayList
StackMap stack:
aload 0
invokeinterface com.sun.jmx.snmp.InetAddressAcl.getTrapDestinations:()Ljava/util/Enumeration;
astore 3
start local 3 6: goto 25
7: StackMap locals: java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.net.InetAddress
astore 4
start local 4 8: aload 0
aload 4
invokeinterface com.sun.jmx.snmp.InetAddressAcl.getTrapCommunities:(Ljava/net/InetAddress;)Ljava/util/Enumeration;
9: astore 5
start local 5 10: goto 24
11: StackMap locals: java.net.InetAddress java.util.Enumeration
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 12: new sun.management.snmp.jvminstr.NotificationTargetImpl
dup
aload 4
13: iload 1
14: aload 6
15: invokespecial sun.management.snmp.jvminstr.NotificationTargetImpl.<init>:(Ljava/net/InetAddress;ILjava/lang/String;)V
16: astore 7
start local 7 17: getstatic sun.management.snmp.AdaptorBootstrap.log:Lsun/management/snmp/util/MibLogger;
invokevirtual sun.management.snmp.util.MibLogger.isDebugOn:()Z
ifeq 23
18: getstatic sun.management.snmp.AdaptorBootstrap.log:Lsun/management/snmp/util/MibLogger;
ldc "getTargetList"
19: ldc "jmxremote.AdaptorBootstrap.getTargetList.adding"
iconst_1
anewarray java.lang.String
dup
iconst_0
20: aload 7
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
21: invokestatic sun.management.Agent.getText:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
22: invokevirtual sun.management.snmp.util.MibLogger.debug:(Ljava/lang/String;Ljava/lang/String;)V
23: StackMap locals: java.lang.String sun.management.snmp.jvminstr.NotificationTarget
StackMap stack:
aload 2
aload 7
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 24: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 11
end local 5 end local 4 25: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 7
end local 3 26: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 acl Lcom/sun/jmx/snmp/InetAddressAcl;
0 27 1 defaultTrapPort I
2 27 2 result Ljava/util/ArrayList<Lsun/management/snmp/jvminstr/NotificationTarget;>;
6 26 3 td Ljava/util/Enumeration;
8 25 4 targetAddr Ljava/net/InetAddress;
10 25 5 tc Ljava/util/Enumeration;
12 24 6 community Ljava/lang/String;
17 24 7 target Lsun/management/snmp/jvminstr/NotificationTarget;
Signature: (Lcom/sun/jmx/snmp/InetAddressAcl;I)Ljava/util/List<Lsun/management/snmp/jvminstr/NotificationTarget;>;
MethodParameters:
Name Flags
acl
defaultTrapPort
public static synchronized sun.management.snmp.AdaptorBootstrap initialize();
descriptor: ()Lsun/management/snmp/AdaptorBootstrap;
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.snmp.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.snmp.AdaptorBootstrap.initialize:(Ljava/lang/String;Ljava/util/Properties;)Lsun/management/snmp/AdaptorBootstrap;
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 sun.management.snmp.AdaptorBootstrap initialize(java.lang.String, java.util.Properties);
descriptor: (Ljava/lang/String;Ljava/util/Properties;)Lsun/management/snmp/AdaptorBootstrap;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=8, locals=12, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.length:()I
ifne 1
ldc "161"
astore 0
1: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 2
start local 2 2: goto 5
end local 2 StackMap locals:
StackMap stack: java.lang.NumberFormatException
3: astore 3
start local 3 4: new sun.management.AgentConfigurationError
dup
ldc "agent.err.invalid.snmp.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 5: StackMap locals: int
StackMap stack:
iload 2
ifge 7
6: new sun.management.AgentConfigurationError
dup
ldc "agent.err.invalid.snmp.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
7: StackMap locals:
StackMap stack:
aload 1
ldc "com.sun.management.snmp.trap"
8: ldc "162"
9: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
10: astore 3
start local 3 11: aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
start local 4 12: goto 15
end local 4 StackMap locals: java.lang.String java.util.Properties int java.lang.String
StackMap stack: java.lang.NumberFormatException
13: astore 5
start local 5 14: new sun.management.AgentConfigurationError
dup
ldc "agent.err.invalid.snmp.trap.port"
aload 5
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 3
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
end local 5 start local 4 15: StackMap locals: int
StackMap stack:
iload 4
ifge 17
16: new sun.management.AgentConfigurationError
dup
ldc "agent.err.invalid.snmp.trap.port"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 3
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 1
ldc "com.sun.management.snmp.interface"
18: ldc "localhost"
19: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
20: astore 5
start local 5 21: ldc "snmp.acl"
invokestatic sun.management.snmp.AdaptorBootstrap.getDefaultFileName:(Ljava/lang/String;)Ljava/lang/String;
22: astore 6
start local 6 23: aload 1
ldc "com.sun.management.snmp.acl.file"
24: aload 6
25: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
26: astore 7
start local 7 27: aload 1
ldc "com.sun.management.snmp.acl"
ldc "true"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
28: astore 8
start local 8 29: aload 8
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
30: istore 9
start local 9 31: iload 9
ifeq 32
aload 7
invokestatic sun.management.snmp.AdaptorBootstrap.checkAclFile:(Ljava/lang/String;)V
32: StackMap locals: java.lang.String java.util.Properties int java.lang.String int java.lang.String java.lang.String java.lang.String java.lang.String int
StackMap stack:
aconst_null
astore 10
start local 10 33: iload 2
iload 4
aload 5
34: iload 9
aload 7
35: invokestatic sun.management.snmp.AdaptorBootstrap.getAdaptorBootstrap:(IILjava/lang/String;ZLjava/lang/String;)Lsun/management/snmp/AdaptorBootstrap;
astore 10
36: goto 39
StackMap locals: java.lang.String java.util.Properties int java.lang.String int java.lang.String java.lang.String java.lang.String java.lang.String int sun.management.snmp.AdaptorBootstrap
StackMap stack: java.lang.Exception
37: astore 11
start local 11 38: new sun.management.AgentConfigurationError
dup
ldc "agent.err.exception"
aload 11
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 11
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
end local 11 39: StackMap locals:
StackMap stack:
aload 10
areturn
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 40 0 portStr Ljava/lang/String;
0 40 1 props Ljava/util/Properties;
2 3 2 port I
5 40 2 port I
4 5 3 x Ljava/lang/NumberFormatException;
11 40 3 trapPortStr Ljava/lang/String;
12 13 4 trapPort I
15 40 4 trapPort I
14 15 5 x Ljava/lang/NumberFormatException;
21 40 5 addrStr Ljava/lang/String;
23 40 6 defaultAclFileName Ljava/lang/String;
27 40 7 aclFileName Ljava/lang/String;
29 40 8 useAclStr Ljava/lang/String;
31 40 9 useAcl Z
33 40 10 adaptor Lsun/management/snmp/AdaptorBootstrap;
38 39 11 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.NumberFormatException
11 12 13 Class java.lang.NumberFormatException
33 36 37 Class java.lang.Exception
MethodParameters:
Name Flags
portStr
props
private static sun.management.snmp.AdaptorBootstrap getAdaptorBootstrap(int, int, java.lang.String, boolean, java.lang.String);
descriptor: (IILjava/lang/String;ZLjava/lang/String;)Lsun/management/snmp/AdaptorBootstrap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=10, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokestatic java.net.InetAddress.getByName:(Ljava/lang/String;)Ljava/net/InetAddress;
astore 5
start local 5 1: goto 4
end local 5 StackMap locals:
StackMap stack: java.net.UnknownHostException
2: astore 6
start local 6 3: new sun.management.AgentConfigurationError
dup
ldc "agent.err.unknown.snmp.interface"
aload 6
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
end local 6 start local 5 4: StackMap locals: java.net.InetAddress
StackMap stack:
getstatic sun.management.snmp.AdaptorBootstrap.log:Lsun/management/snmp/util/MibLogger;
invokevirtual sun.management.snmp.util.MibLogger.isDebugOn:()Z
ifeq 16
5: getstatic sun.management.snmp.AdaptorBootstrap.log:Lsun/management/snmp/util/MibLogger;
ldc "initialize"
6: new java.lang.StringBuilder
dup
ldc "jmxremote.AdaptorBootstrap.getTargetList.starting\n\tcom.sun.management.snmp.port="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
8: ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "com.sun.management.snmp.trap"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
9: ldc "\n\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "com.sun.management.snmp.interface"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
10: iload 3
ifeq 12
new java.lang.StringBuilder
dup
ldc "\n\tcom.sun.management.snmp.acl.file="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 13
StackMap locals: int int java.lang.String int java.lang.String java.net.InetAddress
StackMap stack: sun.management.snmp.util.MibLogger java.lang.String java.lang.StringBuilder
12: ldc "\n\tNo ACL"
13: StackMap locals: int int java.lang.String int java.lang.String java.net.InetAddress
StackMap stack: sun.management.snmp.util.MibLogger java.lang.String java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.management.Agent.getText:(Ljava/lang/String;)Ljava/lang/String;
15: invokevirtual sun.management.snmp.util.MibLogger.debug:(Ljava/lang/String;Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
iload 3
ifeq 17
new com.sun.jmx.snmp.IPAcl.SnmpAcl
dup
ldc "user.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aload 4
invokespecial com.sun.jmx.snmp.IPAcl.SnmpAcl.<init>:(Ljava/lang/String;Ljava/lang/String;)V
goto 18
17: StackMap locals:
StackMap stack:
aconst_null
18: StackMap locals:
StackMap stack: com.sun.jmx.snmp.IPAcl.SnmpAcl
astore 6
start local 6 19: goto 22
end local 6 StackMap locals:
StackMap stack: java.net.UnknownHostException
20: astore 7
start local 7 21: new sun.management.AgentConfigurationError
dup
ldc "agent.err.unknown.snmp.interface"
aload 7
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 7
invokevirtual java.net.UnknownHostException.getMessage:()Ljava/lang/String;
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
end local 7 start local 6 22: StackMap locals: com.sun.jmx.snmp.InetAddressAcl
StackMap stack:
new com.sun.jmx.snmp.daemon.SnmpAdaptorServer
dup
aload 6
iload 0
aload 5
invokespecial com.sun.jmx.snmp.daemon.SnmpAdaptorServer.<init>:(Lcom/sun/jmx/snmp/InetAddressAcl;ILjava/net/InetAddress;)V
23: astore 7
start local 7 24: aload 7
new sun.management.snmp.util.JvmContextFactory
dup
invokespecial sun.management.snmp.util.JvmContextFactory.<init>:()V
invokevirtual com.sun.jmx.snmp.daemon.SnmpAdaptorServer.setUserDataFactory:(Lcom/sun/jmx/snmp/agent/SnmpUserDataFactory;)V
25: aload 7
iload 1
invokevirtual com.sun.jmx.snmp.daemon.SnmpAdaptorServer.setTrapPort:(I)V
26: new sun.management.snmp.jvminstr.JVM_MANAGEMENT_MIB_IMPL
dup
invokespecial sun.management.snmp.jvminstr.JVM_MANAGEMENT_MIB_IMPL.<init>:()V
astore 8
start local 8 27: aload 8
invokevirtual sun.management.snmp.jvminstr.JVM_MANAGEMENT_MIB_IMPL.init:()V
28: goto 31
StackMap locals: int int java.lang.String int java.lang.String java.net.InetAddress com.sun.jmx.snmp.InetAddressAcl com.sun.jmx.snmp.daemon.SnmpAdaptorServer sun.management.snmp.jvminstr.JVM_MANAGEMENT_MIB_IMPL
StackMap stack: java.lang.IllegalAccessException
29: astore 9
start local 9 30: new sun.management.AgentConfigurationError
dup
ldc "agent.err.snmp.mib.init.failed"
aload 9
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 9
invokevirtual java.lang.IllegalAccessException.getMessage:()Ljava/lang/String;
aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
end local 9 31: StackMap locals:
StackMap stack:
aload 8
aload 6
iload 1
invokestatic sun.management.snmp.AdaptorBootstrap.getTargetList:(Lcom/sun/jmx/snmp/InetAddressAcl;I)Ljava/util/List;
invokevirtual sun.management.snmp.jvminstr.JVM_MANAGEMENT_MIB_IMPL.addTargets:(Ljava/util/List;)V
32: aload 7
ldc 9223372036854775807
invokevirtual com.sun.jmx.snmp.daemon.SnmpAdaptorServer.start:(J)V
33: goto 43
StackMap locals:
StackMap stack: java.lang.Exception
34: astore 9
start local 9 35: aload 9
astore 10
start local 10 36: aload 9
instanceof com.sun.jmx.snmp.daemon.CommunicationException
ifeq 39
37: aload 10
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 11
start local 11 38: aload 11
ifnull 39
aload 11
astore 10
end local 11 39: StackMap locals: java.lang.Exception java.lang.Throwable
StackMap stack:
new sun.management.AgentConfigurationError
dup
ldc "agent.err.snmp.adaptor.start.failed"
aload 10
iconst_2
anewarray java.lang.String
dup
iconst_0
40: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
41: new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
42: aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/String;)V
athrow
end local 10 end local 9 43: StackMap locals:
StackMap stack:
aload 7
invokevirtual com.sun.jmx.snmp.daemon.SnmpAdaptorServer.isActive:()Z
ifne 47
44: new sun.management.AgentConfigurationError
dup
ldc "agent.err.snmp.adaptor.start.failed"
iconst_1
anewarray java.lang.String
dup
iconst_0
45: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
46: aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
47: StackMap locals:
StackMap stack:
aload 7
aload 8
invokevirtual com.sun.jmx.snmp.daemon.SnmpAdaptorServer.addMib:(Lcom/sun/jmx/snmp/agent/SnmpMibAgent;)Lcom/sun/jmx/snmp/agent/SnmpMibHandler;
pop
48: aload 8
aload 7
invokevirtual sun.management.snmp.jvminstr.JVM_MANAGEMENT_MIB_IMPL.setSnmpAdaptor:(Lcom/sun/jmx/snmp/agent/SnmpMibHandler;)V
49: goto 53
StackMap locals:
StackMap stack: java.lang.RuntimeException
50: astore 9
start local 9 51: new sun.management.snmp.AdaptorBootstrap
dup
aload 7
aload 8
invokespecial sun.management.snmp.AdaptorBootstrap.<init>:(Lcom/sun/jmx/snmp/daemon/SnmpAdaptorServer;Lsun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL;)V
invokevirtual sun.management.snmp.AdaptorBootstrap.terminate:()V
52: aload 9
athrow
end local 9 53: StackMap locals:
StackMap stack:
getstatic sun.management.snmp.AdaptorBootstrap.log:Lsun/management/snmp/util/MibLogger;
ldc "initialize"
54: ldc "jmxremote.AdaptorBootstrap.getTargetList.initialize1"
invokestatic sun.management.Agent.getText:(Ljava/lang/String;)Ljava/lang/String;
55: invokevirtual sun.management.snmp.util.MibLogger.debug:(Ljava/lang/String;Ljava/lang/String;)V
56: getstatic sun.management.snmp.AdaptorBootstrap.log:Lsun/management/snmp/util/MibLogger;
ldc "initialize"
57: ldc "jmxremote.AdaptorBootstrap.getTargetList.initialize2"
iconst_2
anewarray java.lang.String
dup
iconst_0
58: aload 5
invokevirtual java.net.InetAddress.toString:()Ljava/lang/String;
aastore
dup
iconst_1
aload 7
invokevirtual com.sun.jmx.snmp.daemon.SnmpAdaptorServer.getPort:()I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
aastore
59: invokestatic sun.management.Agent.getText:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
60: invokevirtual sun.management.snmp.util.MibLogger.config:(Ljava/lang/String;Ljava/lang/String;)V
61: new sun.management.snmp.AdaptorBootstrap
dup
aload 7
aload 8
invokespecial sun.management.snmp.AdaptorBootstrap.<init>:(Lcom/sun/jmx/snmp/daemon/SnmpAdaptorServer;Lsun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL;)V
areturn
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 62 0 port I
0 62 1 trapPort I
0 62 2 bindAddress Ljava/lang/String;
0 62 3 useAcl Z
0 62 4 aclFileName Ljava/lang/String;
1 2 5 address Ljava/net/InetAddress;
4 62 5 address Ljava/net/InetAddress;
3 4 6 e Ljava/net/UnknownHostException;
19 20 6 acl Lcom/sun/jmx/snmp/InetAddressAcl;
22 62 6 acl Lcom/sun/jmx/snmp/InetAddressAcl;
21 22 7 e Ljava/net/UnknownHostException;
24 62 7 adaptor Lcom/sun/jmx/snmp/daemon/SnmpAdaptorServer;
27 62 8 mib Lsun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL;
30 31 9 x Ljava/lang/IllegalAccessException;
35 43 9 x Ljava/lang/Exception;
36 43 10 t Ljava/lang/Throwable;
38 39 11 next Ljava/lang/Throwable;
51 53 9 x Ljava/lang/RuntimeException;
Exception table:
from to target type
0 1 2 Class java.net.UnknownHostException
16 19 20 Class java.net.UnknownHostException
27 28 29 Class java.lang.IllegalAccessException
32 33 34 Class java.lang.Exception
47 49 50 Class java.lang.RuntimeException
MethodParameters:
Name Flags
port
trapPort
bindAddress
useAcl
aclFileName
private static void checkAclFile(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, 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.acl.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.acl.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.acl.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 15
9: aload 2
aload 1
invokevirtual sun.management.FileSystem.isAccessUserOnly:(Ljava/io/File;)Z
ifne 15
10: new sun.management.AgentConfigurationError
dup
ldc "agent.err.acl.file.access.notrestricted"
iconst_1
anewarray java.lang.String
dup
iconst_0
11: aload 0
12: aastore
invokespecial sun.management.AgentConfigurationError.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
athrow
13: StackMap locals: java.lang.String java.io.File sun.management.FileSystem
StackMap stack: java.io.IOException
pop
14: new sun.management.AgentConfigurationError
dup
ldc "agent.err.acl.file.read.failed"
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
15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 aclFileName Ljava/lang/String;
3 16 1 file Ljava/io/File;
8 16 2 fs Lsun/management/FileSystem;
Exception table:
from to target type
8 13 13 Class java.io.IOException
MethodParameters:
Name Flags
aclFileName
public synchronized int getPort();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.management.snmp.AdaptorBootstrap.adaptor:Lcom/sun/jmx/snmp/daemon/SnmpAdaptorServer;
ifnull 1
aload 0
getfield sun.management.snmp.AdaptorBootstrap.adaptor:Lcom/sun/jmx/snmp/daemon/SnmpAdaptorServer;
invokevirtual com.sun.jmx.snmp.daemon.SnmpAdaptorServer.getPort:()I
ireturn
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/management/snmp/AdaptorBootstrap;
public synchronized void terminate();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.management.snmp.AdaptorBootstrap.adaptor:Lcom/sun/jmx/snmp/daemon/SnmpAdaptorServer;
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.management.snmp.AdaptorBootstrap.jvmmib:Lsun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL;
invokevirtual sun.management.snmp.jvminstr.JVM_MANAGEMENT_MIB_IMPL.terminate:()V
2: goto 11
StackMap locals:
StackMap stack: java.lang.Exception
3: astore 1
start local 1 4: getstatic sun.management.snmp.AdaptorBootstrap.log:Lsun/management/snmp/util/MibLogger;
ldc "jmxremote.AdaptorBootstrap.getTargetList.terminate"
5: aload 1
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
6: invokevirtual sun.management.snmp.util.MibLogger.debug:(Ljava/lang/String;Ljava/lang/String;)V
end local 1 7: aload 0
aconst_null
putfield sun.management.snmp.AdaptorBootstrap.jvmmib:Lsun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL;
goto 12
8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
9: aload 0
aconst_null
putfield sun.management.snmp.AdaptorBootstrap.jvmmib:Lsun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL;
10: aload 2
athrow
11: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.management.snmp.AdaptorBootstrap.jvmmib:Lsun/management/snmp/jvminstr/JVM_MANAGEMENT_MIB_IMPL;
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.management.snmp.AdaptorBootstrap.adaptor:Lcom/sun/jmx/snmp/daemon/SnmpAdaptorServer;
invokevirtual com.sun.jmx.snmp.daemon.SnmpAdaptorServer.stop:()V
13: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 1
15: aload 0
aconst_null
putfield sun.management.snmp.AdaptorBootstrap.adaptor:Lcom/sun/jmx/snmp/daemon/SnmpAdaptorServer;
16: aload 1
athrow
17: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.management.snmp.AdaptorBootstrap.adaptor:Lcom/sun/jmx/snmp/daemon/SnmpAdaptorServer;
18: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/management/snmp/AdaptorBootstrap;
4 7 1 x Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
1 7 8 any
12 14 14 any
}
SourceFile: "AdaptorBootstrap.java"
NestMembers:
sun.management.snmp.AdaptorBootstrap$DefaultValues sun.management.snmp.AdaptorBootstrap$PropertyNames
InnerClasses:
public abstract DefaultValues = sun.management.snmp.AdaptorBootstrap$DefaultValues of sun.management.snmp.AdaptorBootstrap
public abstract PropertyNames = sun.management.snmp.AdaptorBootstrap$PropertyNames of sun.management.snmp.AdaptorBootstrap