public class javax.management.remote.JMXConnectorFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.management.remote.JMXConnectorFactory
super_class: java.lang.Object
{
public static final java.lang.String DEFAULT_CLASS_LOADER;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jmx.remote.default.class.loader"
public static final java.lang.String PROTOCOL_PROVIDER_PACKAGES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jmx.remote.protocol.provider.pkgs"
public static final java.lang.String PROTOCOL_PROVIDER_CLASS_LOADER;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jmx.remote.protocol.provider.class.loader"
private static final java.lang.String PROTOCOL_PROVIDER_DEFAULT_PACKAGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.jmx.remote.protocol"
private static final com.sun.jmx.remote.util.ClassLogger logger;
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 "javax.management.remote.misc"
ldc "JMXConnectorFactory"
invokespecial com.sun.jmx.remote.util.ClassLogger.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: putstatic javax.management.remote.JMXConnectorFactory.logger:Lcom/sun/jmx/remote/util/ClassLogger;
2: return
LocalVariableTable:
Start End Slot Name Signature
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 Ljavax/management/remote/JMXConnectorFactory;
public static javax.management.remote.JMXConnector connect(javax.management.remote.JMXServiceURL);
descriptor: (Ljavax/management/remote/JMXServiceURL;)Ljavax/management/remote/JMXConnector;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic javax.management.remote.JMXConnectorFactory.connect:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;)Ljavax/management/remote/JMXConnector;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 serviceURL Ljavax/management/remote/JMXServiceURL;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
serviceURL
public static javax.management.remote.JMXConnector connect(javax.management.remote.JMXServiceURL, java.util.Map<java.lang.String, ?>);
descriptor: (Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;)Ljavax/management/remote/JMXConnector;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Null JMXServiceURL"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic javax.management.remote.JMXConnectorFactory.newJMXConnector:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;)Ljavax/management/remote/JMXConnector;
astore 2
start local 2 3: aload 2
aload 1
invokeinterface javax.management.remote.JMXConnector.connect:(Ljava/util/Map;)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 serviceURL Ljavax/management/remote/JMXServiceURL;
0 5 1 environment Ljava/util/Map<Ljava/lang/String;*>;
3 5 2 conn Ljavax/management/remote/JMXConnector;
Exceptions:
throws java.io.IOException
Signature: (Ljavax/management/remote/JMXServiceURL;Ljava/util/Map<Ljava/lang/String;*>;)Ljavax/management/remote/JMXConnector;
MethodParameters:
Name Flags
serviceURL
environment
private static <K, V> java.util.Map<K, V> newHashMap();
descriptor: ()Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>()Ljava/util/Map<TK;TV;>;
private static <K> java.util.Map<K, java.lang.Object> newHashMap(java.util.Map<K, ?>);
descriptor: (Ljava/util/Map;)Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.HashMap
dup
aload 0
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 map Ljava/util/Map<TK;*>;
Signature: <K:Ljava/lang/Object;>(Ljava/util/Map<TK;*>;)Ljava/util/Map<TK;Ljava/lang/Object;>;
MethodParameters:
Name Flags
map
public static javax.management.remote.JMXConnector newJMXConnector(javax.management.remote.JMXServiceURL, java.util.Map<java.lang.String, ?>);
descriptor: (Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;)Ljavax/management/remote/JMXConnector;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=12, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: invokestatic javax.management.remote.JMXConnectorFactory.newHashMap:()Ljava/util/Map;
astore 2
start local 2 2: goto 5
end local 2 3: StackMap locals:
StackMap stack:
aload 1
invokestatic com.sun.jmx.remote.util.EnvHelp.checkAttributes:(Ljava/util/Map;)V
4: aload 1
invokestatic javax.management.remote.JMXConnectorFactory.newHashMap:(Ljava/util/Map;)Ljava/util/Map;
astore 2
start local 2 5: StackMap locals: java.util.Map
StackMap stack:
aload 2
invokestatic javax.management.remote.JMXConnectorFactory.resolveClassLoader:(Ljava/util/Map;)Ljava/lang/ClassLoader;
astore 3
start local 3 6: ldc Ljavax/management/remote/JMXConnectorProvider;
7: astore 4
start local 4 8: aload 0
invokevirtual javax.management.remote.JMXServiceURL.getProtocol:()Ljava/lang/String;
astore 5
start local 5 9: aload 0
astore 6
start local 6 10: aload 6
aload 2
11: ldc "ClientProvider"
12: aload 4
13: aload 3
14: invokestatic javax.management.remote.JMXConnectorFactory.getProvider:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/lang/Object;
checkcast javax.management.remote.JMXConnectorProvider
astore 7
start local 7 15: aconst_null
astore 8
start local 8 16: aload 7
ifnonnull 38
17: invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
javax/management/remote/JMXConnectorFactory.isSystemProvider(Ljava/util/ServiceLoader$Provider;)Z (6)
(Ljava/util/ServiceLoader$Provider;)Z
18: astore 9
start local 9 19: aconst_null
astore 10
start local 10 20: aload 3
ifnull 32
21: aload 3
22: aload 6
23: aload 2
24: aload 9
invokeinterface java.util.function.Predicate.negate:()Ljava/util/function/Predicate;
25: invokestatic javax.management.remote.JMXConnectorFactory.getConnectorAsService:(Ljava/lang/ClassLoader;Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljava/util/function/Predicate;)Ljavax/management/remote/JMXConnector;
astore 10
26: aload 10
ifnull 32
aload 10
27: areturn
28: StackMap locals: javax.management.remote.JMXServiceURL java.util.Map java.util.Map java.lang.ClassLoader java.lang.Class java.lang.String javax.management.remote.JMXServiceURL javax.management.remote.JMXConnectorProvider java.io.IOException java.util.function.Predicate javax.management.remote.JMXConnector
StackMap stack: javax.management.remote.JMXProviderException
astore 11
start local 11 29: aload 11
athrow
end local 11 30: StackMap locals:
StackMap stack: java.io.IOException
astore 11
start local 11 31: aload 11
astore 8
end local 11 32: StackMap locals:
StackMap stack:
ldc Ljavax/management/remote/JMXConnectorFactory;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
33: aload 6
34: aload 2
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
35: aload 9
36: invokestatic javax.management.remote.JMXConnectorFactory.getConnectorAsService:(Ljava/lang/ClassLoader;Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljava/util/function/Predicate;)Ljavax/management/remote/JMXConnector;
astore 10
37: aload 10
ifnull 38
aload 10
areturn
end local 10 end local 9 38: StackMap locals:
StackMap stack:
aload 7
ifnonnull 44
39: new java.net.MalformedURLException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported protocol: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
40: astore 9
start local 9 41: aload 8
ifnonnull 43
42: aload 9
athrow
43: StackMap locals: java.net.MalformedURLException
StackMap stack:
aload 9
aload 8
invokestatic com.sun.jmx.remote.util.EnvHelp.initCause:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
checkcast java.net.MalformedURLException
athrow
end local 9 44: StackMap locals:
StackMap stack:
aload 2
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
45: astore 9
start local 9 46: aload 7
aload 0
aload 9
invokeinterface javax.management.remote.JMXConnectorProvider.newJMXConnector:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;)Ljavax/management/remote/JMXConnector;
areturn
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 47 0 serviceURL Ljavax/management/remote/JMXServiceURL;
0 47 1 environment Ljava/util/Map<Ljava/lang/String;*>;
2 3 2 envcopy Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
5 47 2 envcopy Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
6 47 3 loader Ljava/lang/ClassLoader;
8 47 4 targetInterface Ljava/lang/Class<Ljavax/management/remote/JMXConnectorProvider;>;
9 47 5 protocol Ljava/lang/String;
10 47 6 providerURL Ljavax/management/remote/JMXServiceURL;
15 47 7 provider Ljavax/management/remote/JMXConnectorProvider;
16 47 8 exception Ljava/io/IOException;
19 38 9 systemProvider Ljava/util/function/Predicate<Ljava/util/ServiceLoader$Provider<*>;>;
20 38 10 connection Ljavax/management/remote/JMXConnector;
29 30 11 e Ljavax/management/remote/JMXProviderException;
31 32 11 e Ljava/io/IOException;
41 44 9 e Ljava/net/MalformedURLException;
46 47 9 fixedenv Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Exception table:
from to target type
21 27 28 Class javax.management.remote.JMXProviderException
21 27 30 Class java.io.IOException
Exceptions:
throws java.io.IOException
Signature: (Ljavax/management/remote/JMXServiceURL;Ljava/util/Map<Ljava/lang/String;*>;)Ljavax/management/remote/JMXConnector;
MethodParameters:
Name Flags
serviceURL
environment
private static java.lang.String resolvePkgs(java.util.Map<java.lang.String, ?>);
descriptor: (Ljava/util/Map;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
ifnull 3
2: aload 0
ldc "jmx.remote.protocol.provider.pkgs"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
ifnonnull 6
4: new javax.management.remote.JMXConnectorFactory$1
dup
invokespecial javax.management.remote.JMXConnectorFactory$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
5: astore 1
6: StackMap locals:
StackMap stack:
aload 1
ifnonnull 8
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.String
ifne 13
9: new java.lang.StringBuilder
dup
ldc "Value of jmx.remote.protocol.provider.pkgs parameter is not a String: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 12: new javax.management.remote.JMXProviderException
dup
aload 2
invokespecial javax.management.remote.JMXProviderException.<init>:(Ljava/lang/String;)V
athrow
end local 2 13: StackMap locals:
StackMap stack:
aload 1
checkcast java.lang.String
astore 2
start local 2 14: aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
15: aconst_null
areturn
16: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "|"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 18
aload 2
ldc "|"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 18
17: aload 2
ldc "||"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iflt 22
18: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Value of jmx.remote.protocol.provider.pkgs contains an empty element: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
19: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 21: new javax.management.remote.JMXProviderException
dup
aload 3
invokespecial javax.management.remote.JMXProviderException.<init>:(Ljava/lang/String;)V
athrow
end local 3 22: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 env Ljava/util/Map<Ljava/lang/String;*>;
1 23 1 pkgsObject Ljava/lang/Object;
12 13 2 msg Ljava/lang/String;
14 23 2 pkgs Ljava/lang/String;
21 22 3 msg Ljava/lang/String;
Exceptions:
throws javax.management.remote.JMXProviderException
Signature: (Ljava/util/Map<Ljava/lang/String;*>;)Ljava/lang/String;
MethodParameters:
Name Flags
env
static <T> T getProvider(javax.management.remote.JMXServiceURL, java.util.Map<java.lang.String, java.lang.Object>, java.lang.String, java.lang.Class<T>, java.lang.ClassLoader);
descriptor: (Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual javax.management.remote.JMXServiceURL.getProtocol:()Ljava/lang/String;
astore 5
start local 5 1: aload 1
invokestatic javax.management.remote.JMXConnectorFactory.resolvePkgs:(Ljava/util/Map;)Ljava/lang/String;
astore 6
start local 6 2: aconst_null
astore 7
start local 7 3: aload 6
ifnull 15
4: aload 5
aload 6
aload 4
aload 2
5: aload 3
6: invokestatic javax.management.remote.JMXConnectorFactory.getProvider:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
7: astore 7
8: aload 7
ifnull 15
9: aload 4
aload 7
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
if_acmpeq 10
iconst_1
goto 11
StackMap locals: java.lang.String java.lang.String java.lang.Object
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: istore 8
start local 8 12: aload 1
ldc "jmx.remote.protocol.provider.class.loader"
iload 8
ifeq 13
aload 4
invokestatic javax.management.remote.JMXConnectorFactory.wrap:(Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
goto 14
StackMap locals: javax.management.remote.JMXServiceURL java.util.Map java.lang.String java.lang.Class java.lang.ClassLoader java.lang.String java.lang.String java.lang.Object int
StackMap stack: java.util.Map java.lang.String
13: aload 4
StackMap locals: javax.management.remote.JMXServiceURL java.util.Map java.lang.String java.lang.Class java.lang.ClassLoader java.lang.String java.lang.String java.lang.Object int
StackMap stack: java.util.Map java.lang.String java.lang.ClassLoader
14: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 15: StackMap locals:
StackMap stack:
aload 7
areturn
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 16 0 serviceURL Ljavax/management/remote/JMXServiceURL;
0 16 1 environment Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
0 16 2 providerClassName Ljava/lang/String;
0 16 3 targetInterface Ljava/lang/Class<TT;>;
0 16 4 loader Ljava/lang/ClassLoader;
1 16 5 protocol Ljava/lang/String;
2 16 6 pkgs Ljava/lang/String;
3 16 7 instance TT;
12 15 8 needsWrap Z
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;Ljava/lang/String;Ljava/lang/Class<TT;>;Ljava/lang/ClassLoader;)TT;
MethodParameters:
Name Flags
serviceURL
environment final
providerClassName
targetInterface
loader final
private static java.lang.ClassLoader wrap(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
new javax.management.remote.JMXConnectorFactory$2
dup
aload 0
invokespecial javax.management.remote.JMXConnectorFactory$2.<init>:(Ljava/lang/ClassLoader;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
1: goto 3
StackMap locals:
StackMap stack:
2: aconst_null
3: StackMap locals:
StackMap stack: java.lang.ClassLoader
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 parent Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
parent final
static boolean isSystemProvider(java.util.ServiceLoader$Provider<?>);
descriptor: (Ljava/util/ServiceLoader$Provider;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.util.ServiceLoader$Provider.type:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Module.isNamed:()Z
ifeq 4
2: aload 1
invokevirtual java.lang.Module.getName:()Ljava/lang/String;
ldc "java.management.rmi"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
StackMap locals: java.lang.Module
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 provider Ljava/util/ServiceLoader$Provider<*>;
1 5 1 providerModule Ljava/lang/Module;
Signature: (Ljava/util/ServiceLoader$Provider<*>;)Z
MethodParameters:
Name Flags
provider
private static javax.management.remote.JMXConnector getConnectorAsService(java.lang.ClassLoader, javax.management.remote.JMXServiceURL, java.util.Map<java.lang.String, ?>, java.util.function.Predicate<java.util.ServiceLoader$Provider<?>>);
descriptor: (Ljava/lang/ClassLoader;Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljava/util/function/Predicate;)Ljavax/management/remote/JMXConnector;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokedynamic apply(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;)Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
javax/management/remote/JMXConnectorFactory.lambda$1(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management/remote/JMXConnectorProvider;)Ljavax/management/remote/JMXConnector; (6)
(Ljavax/management/remote/JMXConnectorProvider;)Ljavax/management/remote/JMXConnector;
1: astore 4
start local 4 2: ldc Ljavax/management/remote/JMXConnectorProvider;
aload 0
aload 1
3: aload 3
aload 4
4: invokestatic javax.management.remote.JMXConnectorFactory.getConnectorAsService:(Ljava/lang/Class;Ljava/lang/ClassLoader;Ljavax/management/remote/JMXServiceURL;Ljava/util/function/Predicate;Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory;)Ljava/lang/Object;
checkcast javax.management.remote.JMXConnector
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 loader Ljava/lang/ClassLoader;
0 5 1 url Ljavax/management/remote/JMXServiceURL;
0 5 2 map Ljava/util/Map<Ljava/lang/String;*>;
0 5 3 filter Ljava/util/function/Predicate<Ljava/util/ServiceLoader$Provider<*>;>;
2 5 4 factory Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory<Ljavax/management/remote/JMXConnectorProvider;Ljavax/management/remote/JMXConnector;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/ClassLoader;Ljavax/management/remote/JMXServiceURL;Ljava/util/Map<Ljava/lang/String;*>;Ljava/util/function/Predicate<Ljava/util/ServiceLoader$Provider<*>;>;)Ljavax/management/remote/JMXConnector;
MethodParameters:
Name Flags
loader
url
map
filter
static <P, C> C getConnectorAsService(java.lang.Class<P>, java.lang.ClassLoader, javax.management.remote.JMXServiceURL, java.util.function.Predicate<java.util.ServiceLoader$Provider<?>>, javax.management.remote.JMXConnectorFactory$ConnectorFactory<P, C>);
descriptor: (Ljava/lang/Class;Ljava/lang/ClassLoader;Ljavax/management/remote/JMXServiceURL;Ljava/util/function/Predicate;Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: ldc Ljavax/management/remote/JMXConnectorProvider;
aload 0
if_acmpeq 5
1: ldc Ljavax/management/remote/JMXConnectorServerProvider;
aload 0
if_acmpeq 5
2: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Unsupported service interface: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 1
ifnonnull 7
6: aload 0
invokestatic java.util.ServiceLoader.loadInstalled:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
goto 8
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
8: StackMap locals:
StackMap stack: java.util.ServiceLoader
astore 5
start local 5 9: aload 5
invokevirtual java.util.ServiceLoader.stream:()Ljava/util/stream/Stream;
aload 3
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
astore 6
start local 6 10: new javax.management.remote.JMXConnectorFactory$ProviderFinder
dup
aload 4
aload 2
invokespecial javax.management.remote.JMXConnectorFactory$ProviderFinder.<init>:(Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory;Ljavax/management/remote/JMXServiceURL;)V
astore 7
start local 7 11: aload 6
aload 7
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
pop
12: aload 7
invokevirtual javax.management.remote.JMXConnectorFactory$ProviderFinder.get:()Ljava/lang/Object;
13: areturn
14: StackMap locals: java.lang.Class java.lang.ClassLoader javax.management.remote.JMXServiceURL java.util.function.Predicate javax.management.remote.JMXConnectorFactory$ConnectorFactory java.util.ServiceLoader java.util.stream.Stream javax.management.remote.JMXConnectorFactory$ProviderFinder
StackMap stack: java.io.UncheckedIOException
astore 8
start local 8 15: aload 8
invokevirtual java.io.UncheckedIOException.getCause:()Ljava/io/IOException;
instanceof javax.management.remote.JMXProviderException
ifeq 17
16: aload 8
invokevirtual java.io.UncheckedIOException.getCause:()Ljava/io/IOException;
checkcast javax.management.remote.JMXProviderException
athrow
17: StackMap locals: java.io.UncheckedIOException
StackMap stack:
aload 8
athrow
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 18 0 providerClass Ljava/lang/Class<TP;>;
0 18 1 loader Ljava/lang/ClassLoader;
0 18 2 url Ljavax/management/remote/JMXServiceURL;
0 18 3 filter Ljava/util/function/Predicate<Ljava/util/ServiceLoader$Provider<*>;>;
0 18 4 factory Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory<TP;TC;>;
9 18 5 serviceLoader Ljava/util/ServiceLoader<TP;>;
10 18 6 stream Ljava/util/stream/Stream<Ljava/util/ServiceLoader$Provider<TP;>;>;
11 18 7 finder Ljavax/management/remote/JMXConnectorFactory$ProviderFinder<TP;TC;>;
15 18 8 e Ljava/io/UncheckedIOException;
Exception table:
from to target type
11 13 14 Class java.io.UncheckedIOException
Exceptions:
throws java.io.IOException
Signature: <P:Ljava/lang/Object;C:Ljava/lang/Object;>(Ljava/lang/Class<TP;>;Ljava/lang/ClassLoader;Ljavax/management/remote/JMXServiceURL;Ljava/util/function/Predicate<Ljava/util/ServiceLoader$Provider<*>;>;Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory<TP;TC;>;)TC;
MethodParameters:
Name Flags
providerClass
loader
url
filter
factory
static <T> T getProvider(java.lang.String, java.lang.String, java.lang.ClassLoader, java.lang.String, java.lang.Class<T>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.util.StringTokenizer
dup
aload 1
ldc "|"
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 5
start local 5 1: goto 27
2: StackMap locals: java.util.StringTokenizer
StackMap stack:
aload 5
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 6
start local 6 3: new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokestatic javax.management.remote.JMXConnectorFactory.protocol2package:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
start local 7 6: aload 7
iconst_1
aload 2
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 8
start local 8 7: goto 10
end local 8 StackMap locals: java.lang.String java.lang.String java.lang.ClassLoader java.lang.String java.lang.Class java.util.StringTokenizer java.lang.String java.lang.String
StackMap stack: java.lang.ClassNotFoundException
8: pop
9: goto 27
start local 8 10: StackMap locals: java.lang.Class
StackMap stack:
aload 4
aload 8
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 17
11: new java.lang.StringBuilder
dup
ldc "Provider class does not implement "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 4
invokevirtual java.lang.Class.getName:()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;
13: aload 8
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: astore 9
start local 9 16: new javax.management.remote.JMXProviderException
dup
aload 9
invokespecial javax.management.remote.JMXProviderException.<init>:(Ljava/lang/String;)V
athrow
end local 9 17: StackMap locals:
StackMap stack:
aload 8
invokestatic com.sun.jmx.mbeanserver.Util.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 9
start local 9 18: aload 9
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
astore 10
start local 10 19: aload 10
20: areturn
end local 10 21: StackMap locals: java.lang.String java.lang.String java.lang.ClassLoader java.lang.String java.lang.Class java.util.StringTokenizer java.lang.String java.lang.String java.lang.Class java.lang.Class
StackMap stack: java.lang.Exception
astore 10
start local 10 22: new java.lang.StringBuilder
dup
ldc "Exception when instantiating provider ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
23: ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: astore 11
start local 11 26: new javax.management.remote.JMXProviderException
dup
aload 11
aload 10
invokespecial javax.management.remote.JMXProviderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 27: StackMap locals: java.lang.String java.lang.String java.lang.ClassLoader java.lang.String java.lang.Class java.util.StringTokenizer
StackMap stack:
aload 5
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 2
28: aconst_null
areturn
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 29 0 protocol Ljava/lang/String;
0 29 1 pkgs Ljava/lang/String;
0 29 2 loader Ljava/lang/ClassLoader;
0 29 3 providerClassName Ljava/lang/String;
0 29 4 targetInterface Ljava/lang/Class<TT;>;
1 29 5 tokenizer Ljava/util/StringTokenizer;
3 27 6 pkg Ljava/lang/String;
6 27 7 className Ljava/lang/String;
7 8 8 providerClass Ljava/lang/Class<*>;
10 27 8 providerClass Ljava/lang/Class<*>;
16 17 9 msg Ljava/lang/String;
18 27 9 providerClassT Ljava/lang/Class<+TT;>;
19 21 10 result TT;
22 27 10 e Ljava/lang/Exception;
26 27 11 msg Ljava/lang/String;
Exception table:
from to target type
6 7 8 Class java.lang.ClassNotFoundException
18 20 21 Class java.lang.Exception
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
protocol
pkgs
loader
providerClassName
targetInterface
static java.lang.ClassLoader resolveClassLoader(java.util.Map<java.lang.String, ?>);
descriptor: (Ljava/util/Map;)Ljava/lang/ClassLoader;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
ifnull 7
2: aload 0
ldc "jmx.remote.protocol.provider.class.loader"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
3: astore 1
4: goto 7
StackMap locals: java.util.Map java.lang.ClassLoader
StackMap stack: java.lang.ClassCastException
5: pop
6: new java.lang.IllegalArgumentException
dup
ldc "The ClassLoader supplied in the environment map using the jmx.remote.protocol.provider.class.loader attribute is not an instance of java.lang.ClassLoader"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
ifnonnull 9
8: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 1
9: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 environment Ljava/util/Map<Ljava/lang/String;*>;
1 10 1 loader Ljava/lang/ClassLoader;
Exception table:
from to target type
2 4 5 Class java.lang.ClassCastException
Signature: (Ljava/util/Map<Ljava/lang/String;*>;)Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
environment
private static java.lang.String protocol2package(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 43
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
bipush 45
bipush 95
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 protocol Ljava/lang/String;
MethodParameters:
Name Flags
protocol
private static javax.management.remote.JMXConnector lambda$1(javax.management.remote.JMXServiceURL, java.util.Map, javax.management.remote.JMXConnectorProvider);
descriptor: (Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management/remote/JMXConnectorProvider;)Ljavax/management/remote/JMXConnector;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 2
aload 0
aload 1
invokeinterface javax.management.remote.JMXConnectorProvider.newJMXConnector:(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;)Ljavax/management/remote/JMXConnector;
areturn
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 p Ljavax/management/remote/JMXConnectorProvider;
Exceptions:
throws java.lang.Exception
}
SourceFile: "JMXConnectorFactory.java"
NestMembers:
javax.management.remote.JMXConnectorFactory$1 javax.management.remote.JMXConnectorFactory$2 javax.management.remote.JMXConnectorFactory$2$1 javax.management.remote.JMXConnectorFactory$ConnectorFactory javax.management.remote.JMXConnectorFactory$ProviderFinder
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Provider = java.util.ServiceLoader$Provider of java.util.ServiceLoader
javax.management.remote.JMXConnectorFactory$1
javax.management.remote.JMXConnectorFactory$2
abstract ConnectorFactory = javax.management.remote.JMXConnectorFactory$ConnectorFactory of javax.management.remote.JMXConnectorFactory
private final ProviderFinder = javax.management.remote.JMXConnectorFactory$ProviderFinder of javax.management.remote.JMXConnectorFactory