public final class com.sun.naming.internal.VersionHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.naming.internal.VersionHelper
super_class: java.lang.Object
{
private static final com.sun.naming.internal.VersionHelper helper;
descriptor: Lcom/sun/naming/internal/VersionHelper;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean TRUST_URL_CODE_BASE;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final java.lang.String[] PROPS;
descriptor: [Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
public static final int INITIAL_CONTEXT_FACTORY;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int OBJECT_FACTORIES;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int URL_PKG_PREFIXES;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int STATE_FACTORIES;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int PROVIDER_URL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int DNS_URL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int CONTROL_FACTORIES;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: new com.sun.naming.internal.VersionHelper
dup
invokespecial com.sun.naming.internal.VersionHelper.<init>:()V
putstatic com.sun.naming.internal.VersionHelper.helper:Lcom/sun/naming/internal/VersionHelper;
1: invokedynamic run()Ljava/security/PrivilegedAction;
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;
com/sun/naming/internal/VersionHelper.lambda$0()Ljava/lang/String; (6)
()Ljava/lang/String;
2: astore 0
start local 0 3: aload 0
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 1
start local 1 4: ldc "true"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
putstatic com.sun.naming.internal.VersionHelper.TRUST_URL_CODE_BASE:Z
end local 1 end local 0 5: bipush 7
anewarray java.lang.String
dup
iconst_0
6: ldc "java.naming.factory.initial"
aastore
dup
iconst_1
7: ldc "java.naming.factory.object"
aastore
dup
iconst_2
8: ldc "java.naming.factory.url.pkgs"
aastore
dup
iconst_3
9: ldc "java.naming.factory.state"
aastore
dup
iconst_4
10: ldc "java.naming.provider.url"
aastore
dup
iconst_5
11: ldc "java.naming.dns.url"
aastore
dup
bipush 6
12: ldc "java.naming.factory.control"
aastore
13: putstatic com.sun.naming.internal.VersionHelper.PROPS:[Ljava/lang/String;
14: return
LocalVariableTable:
Start End Slot Name Signature
3 5 0 act Ljava/security/PrivilegedAction<Ljava/lang/String;>;
4 5 1 trust Ljava/lang/String;
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/naming/internal/VersionHelper;
public static com.sun.naming.internal.VersionHelper getVersionHelper();
descriptor: ()Lcom/sun/naming/internal/VersionHelper;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.naming.internal.VersionHelper.helper:Lcom/sun/naming/internal/VersionHelper;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Class<?> loadClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
invokevirtual com.sun.naming.internal.VersionHelper.getContextClassLoader:()Ljava/lang/ClassLoader;
invokevirtual com.sun.naming.internal.VersionHelper.loadClass:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/naming/internal/VersionHelper;
0 1 1 className Ljava/lang/String;
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
className
public java.lang.Class<?> loadClass(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.naming.internal.VersionHelper.TRUST_URL_CODE_BASE:Z
ifeq 5
1: aload 0
invokevirtual com.sun.naming.internal.VersionHelper.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 2: aload 2
invokestatic com.sun.naming.internal.VersionHelper.getUrlArray:(Ljava/lang/String;)[Ljava/net/URL;
aload 3
invokestatic java.net.URLClassLoader.newInstance:([Ljava/net/URL;Ljava/lang/ClassLoader;)Ljava/net/URLClassLoader;
3: astore 4
start local 4 4: aload 0
aload 1
aload 4
invokevirtual com.sun.naming.internal.VersionHelper.loadClass:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
areturn
end local 4 end local 3 5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/naming/internal/VersionHelper;
0 6 1 className Ljava/lang/String;
0 6 2 codebase Ljava/lang/String;
2 5 3 parent Ljava/lang/ClassLoader;
4 5 4 cl Ljava/lang/ClassLoader;
Exceptions:
throws java.lang.ClassNotFoundException, java.net.MalformedURLException
Signature: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
className
codebase
java.lang.Class<?> loadClass(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iconst_1
aload 2
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 3
start local 3 1: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/naming/internal/VersionHelper;
0 2 1 className Ljava/lang/String;
0 2 2 cl Ljava/lang/ClassLoader;
1 2 3 cls Ljava/lang/Class<*>;
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
className
cl
java.lang.String getJndiProperty(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: iload 1
invokedynamic run(I)Ljava/security/PrivilegedAction;
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;
com/sun/naming/internal/VersionHelper.lambda$1(I)Ljava/lang/String; (6)
()Ljava/lang/String;
astore 2
start local 2 1: aload 2
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/naming/internal/VersionHelper;
0 2 1 i I
1 2 2 act Ljava/security/PrivilegedAction<Ljava/lang/String;>;
MethodParameters:
Name Flags
i
java.lang.String[] getJndiProperties();
descriptor: ()[Ljava/lang/String;
flags: (0x0000)
Code:
stack=5, locals=5, args_size=1
start local 0 0: invokedynamic run()Ljava/security/PrivilegedAction;
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;
com/sun/naming/internal/VersionHelper.lambda$2()Ljava/util/Properties; (6)
()Ljava/util/Properties;
astore 1
start local 1 1: aload 1
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.util.Properties
astore 2
start local 2 2: aload 2
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: java.security.PrivilegedAction java.util.Properties
StackMap stack:
getstatic com.sun.naming.internal.VersionHelper.PROPS:[Ljava/lang/String;
arraylength
anewarray java.lang.String
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 9
7: StackMap locals: java.lang.String[] int
StackMap stack:
aload 3
iload 4
aload 2
getstatic com.sun.naming.internal.VersionHelper.PROPS:[Ljava/lang/String;
iload 4
aaload
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aastore
8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
getstatic com.sun.naming.internal.VersionHelper.PROPS:[Ljava/lang/String;
arraylength
if_icmplt 7
end local 4 10: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/naming/internal/VersionHelper;
1 11 1 act Ljava/security/PrivilegedAction<Ljava/util/Properties;>;
2 11 2 sysProps Ljava/util/Properties;
5 11 3 jProps [Ljava/lang/String;
6 10 4 i I
private static java.lang.String resolveName(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 13
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 0
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.isArray:()Z
ifne 4
6: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 7: aload 2
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 8: iload 3
iconst_m1
if_icmpeq 14
9: new java.lang.StringBuilder
dup
aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
end local 3 end local 2 12: goto 14
13: StackMap locals:
StackMap stack:
aload 1
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 c Ljava/lang/Class<*>;
0 15 1 name Ljava/lang/String;
7 12 2 baseName Ljava/lang/String;
8 12 3 index I
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/String;
MethodParameters:
Name Flags
c
name
java.io.InputStream getResourceAsStream(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokedynamic run(Ljava/lang/Class;Ljava/lang/String;)Ljava/security/PrivilegedAction;
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;
com/sun/naming/internal/VersionHelper.lambda$3(Ljava/lang/Class;Ljava/lang/String;)Ljava/io/InputStream; (6)
()Ljava/io/InputStream;
astore 3
start local 3 1: aload 3
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.io.InputStream
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/naming/internal/VersionHelper;
0 2 1 c Ljava/lang/Class<*>;
0 2 2 name Ljava/lang/String;
1 2 3 act Ljava/security/PrivilegedAction<Ljava/io/InputStream;>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/io/InputStream;
MethodParameters:
Name Flags
c
name
java.io.InputStream getJavaHomeConfStream(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0000)
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokedynamic run(Ljava/lang/String;)Ljava/security/PrivilegedAction;
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;
com/sun/naming/internal/VersionHelper.lambda$4(Ljava/lang/String;)Ljava/io/InputStream; (6)
()Ljava/io/InputStream;
astore 2
start local 2 1: aload 2
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.io.InputStream
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/naming/internal/VersionHelper;
0 2 1 filename Ljava/lang/String;
1 2 2 act Ljava/security/PrivilegedAction<Ljava/io/InputStream;>;
MethodParameters:
Name Flags
filename
javax.naming.NamingEnumeration<java.io.InputStream> getResources(java.lang.ClassLoader, java.lang.String);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;)Ljavax/naming/NamingEnumeration;
flags: (0x0000)
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokedynamic run(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/security/PrivilegedExceptionAction;
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;
com/sun/naming/internal/VersionHelper.lambda$5(Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/util/Enumeration; (6)
()Ljava/util/Enumeration;
astore 4
start local 4 1: aload 4
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.util.Enumeration
astore 3
start local 3 2: goto 5
end local 3 StackMap locals: com.sun.naming.internal.VersionHelper java.lang.ClassLoader java.lang.String top java.security.PrivilegedExceptionAction
StackMap stack: java.security.PrivilegedActionException
3: astore 5
start local 5 4: aload 5
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
checkcast java.io.IOException
athrow
end local 5 start local 3 5: StackMap locals: com.sun.naming.internal.VersionHelper java.lang.ClassLoader java.lang.String java.util.Enumeration java.security.PrivilegedExceptionAction
StackMap stack:
new com.sun.naming.internal.VersionHelper$InputStreamEnumeration
dup
aload 0
aload 3
invokespecial com.sun.naming.internal.VersionHelper$InputStreamEnumeration.<init>:(Lcom/sun/naming/internal/VersionHelper;Ljava/util/Enumeration;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/naming/internal/VersionHelper;
0 6 1 cl Ljava/lang/ClassLoader;
0 6 2 name Ljava/lang/String;
2 3 3 urls Ljava/util/Enumeration<Ljava/net/URL;>;
5 6 3 urls Ljava/util/Enumeration<Ljava/net/URL;>;
1 6 4 act Ljava/security/PrivilegedExceptionAction<Ljava/util/Enumeration<Ljava/net/URL;>;>;
4 5 5 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
1 2 3 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/ClassLoader;Ljava/lang/String;)Ljavax/naming/NamingEnumeration<Ljava/io/InputStream;>;
MethodParameters:
Name Flags
cl
name
java.lang.ClassLoader getContextClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokedynamic run()Ljava/security/PrivilegedAction;
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;
com/sun/naming/internal/VersionHelper.lambda$6()Ljava/lang/ClassLoader; (6)
()Ljava/lang/ClassLoader;
astore 1
start local 1 1: aload 1
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/naming/internal/VersionHelper;
1 2 1 act Ljava/security/PrivilegedAction<Ljava/lang/ClassLoader;>;
private static java.net.URL[] getUrlArray(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=6, args_size=1
start local 0 0: new java.util.StringTokenizer
dup
aload 0
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: goto 4
3: StackMap locals: java.util.StringTokenizer java.util.List
StackMap stack:
aload 2
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
5: aload 2
invokeinterface java.util.List.size:()I
anewarray java.lang.String
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 10
8: StackMap locals: java.lang.String[] int
StackMap stack:
aload 3
iload 4
aload 2
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
aastore
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 3
arraylength
if_icmplt 8
end local 4 11: aload 3
arraylength
anewarray java.net.URL
astore 4
start local 4 12: iconst_0
istore 5
start local 5 13: goto 16
14: StackMap locals: java.lang.String java.util.StringTokenizer java.util.List java.lang.String[] java.net.URL[] int
StackMap stack:
aload 4
iload 5
new java.net.URL
dup
aload 3
iload 5
aaload
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
aastore
15: iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
aload 4
arraylength
if_icmplt 14
end local 5 17: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 codebase Ljava/lang/String;
1 18 1 parser Ljava/util/StringTokenizer;
2 18 2 list Ljava/util/List<Ljava/lang/String;>;
6 18 3 url [Ljava/lang/String;
7 11 4 i I
12 18 4 urlArray [Ljava/net/URL;
13 17 5 i I
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
codebase
private static java.lang.String lambda$0();
descriptor: ()Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=0, args_size=0
0: ldc "com.sun.jndi.ldap.object.trustURLCodebase"
ldc "false"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$1(int);
descriptor: (I)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
0: getstatic com.sun.naming.internal.VersionHelper.PROPS:[Ljava/lang/String;
iload 0
aaload
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
3: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
private static java.util.Properties lambda$2();
descriptor: ()Ljava/util/Properties;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.lang.System.getProperties:()Ljava/util/Properties;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
3: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
private static java.io.InputStream lambda$3(java.lang.Class, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
0: aload 0
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
pop
1: aload 0
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
aload 0
aload 1
invokestatic com.sun.naming.internal.VersionHelper.resolveName:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.Module.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
2: areturn
3: StackMap locals:
StackMap stack: java.io.IOException
pop
4: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 2 3 Class java.io.IOException
private static java.io.InputStream lambda$4(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=1
0: ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc "conf"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 6: new java.io.FileInputStream
dup
aload 2
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
7: areturn
end local 2 end local 1 8: StackMap locals: java.lang.String
StackMap stack: java.lang.Exception
pop
9: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
1 8 1 javahome Ljava/lang/String;
6 8 2 pathname Ljava/lang/String;
Exception table:
from to target type
0 2 8 Class java.lang.Exception
3 7 8 Class java.lang.Exception
private static java.util.Enumeration lambda$5(java.lang.ClassLoader, java.lang.String);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/util/Enumeration;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
ifnonnull 2
1: aload 1
invokestatic java.lang.ClassLoader.getSystemResources:(Ljava/lang/String;)Ljava/util/Enumeration;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.ClassLoader.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
StackMap locals:
StackMap stack: java.util.Enumeration
3: areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
private static java.lang.ClassLoader lambda$6();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=0
0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 0
3: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 loader Ljava/lang/ClassLoader;
}
SourceFile: "VersionHelper.java"
NestMembers:
com.sun.naming.internal.VersionHelper$InputStreamEnumeration
InnerClasses:
private InputStreamEnumeration = com.sun.naming.internal.VersionHelper$InputStreamEnumeration of com.sun.naming.internal.VersionHelper
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles