public class jdk.internal.loader.URLClassPath
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.loader.URLClassPath
super_class: java.lang.Object
{
private static final java.lang.String USER_AGENT_JAVA_VERSION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "UA-Java-Version"
private static final java.lang.String JAVA_VERSION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean DISABLE_JAR_CHECKING;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean DISABLE_ACC_CHECKING;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.util.ArrayList<java.net.URL> path;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Ljava/net/URL;>;
java.util.Stack<java.net.URL> urls;
descriptor: Ljava/util/Stack;
flags: (0x0000)
Signature: Ljava/util/Stack<Ljava/net/URL;>;
java.util.ArrayList<jdk.internal.loader.URLClassPath$Loader> loaders;
descriptor: Ljava/util/ArrayList;
flags: (0x0000)
Signature: Ljava/util/ArrayList<Ljdk/internal/loader/URLClassPath$Loader;>;
java.util.HashMap<java.lang.String, jdk.internal.loader.URLClassPath$Loader> lmap;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljdk/internal/loader/URLClassPath$Loader;>;
private java.net.URLStreamHandler jarHandler;
descriptor: Ljava/net/URLStreamHandler;
flags: (0x0002) ACC_PRIVATE
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.security.AccessControlContext acc;
descriptor: Ljava/security/AccessControlContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final jdk.internal.misc.JavaNetURLAccess JNUA;
descriptor: Ljdk/internal/misc/JavaNetURLAccess;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: invokestatic sun.security.action.GetPropertyAction.privilegedGetProperties:()Ljava/util/Properties;
astore 0
start local 0 1: aload 0
ldc "java.version"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic jdk.internal.loader.URLClassPath.JAVA_VERSION:Ljava/lang/String;
2: aload 0
ldc "sun.misc.URLClassPath.debug"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnull 3
iconst_1
goto 4
StackMap locals: java.util.Properties
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: putstatic jdk.internal.loader.URLClassPath.DEBUG:Z
5: aload 0
ldc "sun.misc.URLClassPath.disableJarChecking"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 6: aload 1
ifnull 8
aload 1
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
iconst_0
goto 9
StackMap locals: java.lang.String
StackMap stack:
7: iconst_1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: putstatic jdk.internal.loader.URLClassPath.DISABLE_JAR_CHECKING:Z
10: aload 0
ldc "jdk.net.URLClassPath.disableRestrictedPermissions"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
11: aload 1
ifnull 13
aload 1
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
iconst_0
goto 14
StackMap locals:
StackMap stack:
12: iconst_1
goto 14
StackMap locals:
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: putstatic jdk.internal.loader.URLClassPath.DISABLE_ACC_CHECKING:Z
end local 1 end local 0 15: invokestatic jdk.internal.misc.SharedSecrets.getJavaNetURLAccess:()Ljdk/internal/misc/JavaNetURLAccess;
16: putstatic jdk.internal.loader.URLClassPath.JNUA:Ljdk/internal/misc/JavaNetURLAccess;
17: return
LocalVariableTable:
Start End Slot Name Signature
1 15 0 props Ljava/util/Properties;
6 15 1 p Ljava/lang/String;
public void <init>(java.net.URL[], java.net.URLStreamHandlerFactory, java.security.AccessControlContext);
descriptor: ([Ljava/net/URL;Ljava/net/URLStreamHandlerFactory;Ljava/security/AccessControlContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.internal.loader.URLClassPath.path:Ljava/util/ArrayList;
2: aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield jdk.internal.loader.URLClassPath.urls:Ljava/util/Stack;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.internal.loader.URLClassPath.loaders:Ljava/util/ArrayList;
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.internal.loader.URLClassPath.lmap:Ljava/util/HashMap;
5: aload 0
iconst_0
putfield jdk.internal.loader.URLClassPath.closed:Z
6: iconst_0
istore 4
start local 4 7: goto 10
8: StackMap locals: jdk.internal.loader.URLClassPath java.net.URL[] java.net.URLStreamHandlerFactory java.security.AccessControlContext int
StackMap stack:
aload 0
getfield jdk.internal.loader.URLClassPath.path:Ljava/util/ArrayList;
aload 1
iload 4
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 1
arraylength
if_icmplt 8
end local 4 11: aload 0
aload 1
invokevirtual jdk.internal.loader.URLClassPath.push:([Ljava/net/URL;)V
12: aload 2
ifnull 14
13: aload 0
aload 2
ldc "jar"
invokeinterface java.net.URLStreamHandlerFactory.createURLStreamHandler:(Ljava/lang/String;)Ljava/net/URLStreamHandler;
putfield jdk.internal.loader.URLClassPath.jarHandler:Ljava/net/URLStreamHandler;
14: StackMap locals:
StackMap stack:
getstatic jdk.internal.loader.URLClassPath.DISABLE_ACC_CHECKING:Z
ifeq 16
15: aload 0
aconst_null
putfield jdk.internal.loader.URLClassPath.acc:Ljava/security/AccessControlContext;
goto 17
16: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield jdk.internal.loader.URLClassPath.acc:Ljava/security/AccessControlContext;
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/internal/loader/URLClassPath;
0 18 1 urls [Ljava/net/URL;
0 18 2 factory Ljava/net/URLStreamHandlerFactory;
0 18 3 acc Ljava/security/AccessControlContext;
7 11 4 i I
MethodParameters:
Name Flags
urls
factory
acc
public void <init>(java.net.URL[]);
descriptor: ([Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
aconst_null
invokespecial jdk.internal.loader.URLClassPath.<init>:([Ljava/net/URL;Ljava/net/URLStreamHandlerFactory;Ljava/security/AccessControlContext;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/loader/URLClassPath;
0 2 1 urls [Ljava/net/URL;
MethodParameters:
Name Flags
urls
public void <init>(java.net.URL[], java.security.AccessControlContext);
descriptor: ([Ljava/net/URL;Ljava/security/AccessControlContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
aload 2
invokespecial jdk.internal.loader.URLClassPath.<init>:([Ljava/net/URL;Ljava/net/URLStreamHandlerFactory;Ljava/security/AccessControlContext;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/loader/URLClassPath;
0 2 1 urls [Ljava/net/URL;
0 2 2 acc Ljava/security/AccessControlContext;
MethodParameters:
Name Flags
urls
acc
public synchronized java.util.List<java.io.IOException> closeLoaders();
descriptor: ()Ljava/util/List;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.URLClassPath.closed:Z
ifeq 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 1
start local 1 3: aload 0
getfield jdk.internal.loader.URLClassPath.loaders:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: jdk.internal.loader.URLClassPath java.util.List top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.loader.URLClassPath$Loader
astore 2
start local 2 5: aload 2
invokevirtual jdk.internal.loader.URLClassPath$Loader.close:()V
6: goto 9
StackMap locals: jdk.internal.loader.URLClassPath java.util.List jdk.internal.loader.URLClassPath$Loader java.util.Iterator
StackMap stack: java.io.IOException
7: astore 4
start local 4 8: aload 1
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 end local 2 9: StackMap locals: jdk.internal.loader.URLClassPath java.util.List top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
10: aload 0
iconst_1
putfield jdk.internal.loader.URLClassPath.closed:Z
11: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/loader/URLClassPath;
3 12 1 result Ljava/util/List<Ljava/io/IOException;>;
5 9 2 loader Ljdk/internal/loader/URLClassPath$Loader;
8 9 4 e Ljava/io/IOException;
Exception table:
from to target type
5 6 7 Class java.io.IOException
Signature: ()Ljava/util/List<Ljava/io/IOException;>;
public synchronized void addURL(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.loader.URLClassPath.closed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.loader.URLClassPath.urls:Ljava/util/Stack;
dup
astore 2
monitorenter
3: aload 1
ifnull 4
aload 0
getfield jdk.internal.loader.URLClassPath.path:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifeq 6
4: StackMap locals: java.util.Stack
StackMap stack:
aload 2
monitorexit
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.loader.URLClassPath.urls:Ljava/util/Stack;
iconst_0
aload 1
invokevirtual java.util.Stack.add:(ILjava/lang/Object;)V
7: aload 0
getfield jdk.internal.loader.URLClassPath.path:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
8: aload 2
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/loader/URLClassPath;
0 13 1 url Ljava/net/URL;
Exception table:
from to target type
3 5 10 any
6 9 10 any
10 11 10 any
MethodParameters:
Name Flags
url
public java.net.URL[] getURLs();
descriptor: ()[Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.URLClassPath.urls:Ljava/util/Stack;
dup
astore 1
monitorenter
1: aload 0
getfield jdk.internal.loader.URLClassPath.path:Ljava/util/ArrayList;
aload 0
getfield jdk.internal.loader.URLClassPath.path:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
anewarray java.net.URL
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.net.URL[]
aload 1
monitorexit
2: areturn
3: StackMap locals: jdk.internal.loader.URLClassPath java.util.Stack
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/loader/URLClassPath;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public java.net.URL findResource(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 4
start local 4 1: goto 6
start local 3 2: StackMap locals: jdk.internal.loader.URLClassPath$Loader int
StackMap stack:
aload 3
aload 1
iload 2
invokevirtual jdk.internal.loader.URLClassPath$Loader.findResource:(Ljava/lang/String;Z)Ljava/net/URL;
astore 5
start local 5 3: aload 5
ifnull 5
4: aload 5
areturn
end local 5 5: StackMap locals:
StackMap stack:
iinc 4 1
end local 3 StackMap locals: jdk.internal.loader.URLClassPath java.lang.String int top int
StackMap stack:
6: aload 0
iload 4
invokevirtual jdk.internal.loader.URLClassPath.getLoader:(I)Ljdk/internal/loader/URLClassPath$Loader;
dup
astore 3
start local 3 7: ifnonnull 2
end local 4 8: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/loader/URLClassPath;
0 9 1 name Ljava/lang/String;
0 9 2 check Z
2 6 3 loader Ljdk/internal/loader/URLClassPath$Loader;
7 9 3 loader Ljdk/internal/loader/URLClassPath$Loader;
1 8 4 i I
3 5 5 url Ljava/net/URL;
MethodParameters:
Name Flags
name
check
public jdk.internal.loader.Resource getResource(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljdk/internal/loader/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.internal.loader.URLClassPath.DEBUG:Z
ifeq 2
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "URLClassPath.getResource(\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 3: goto 8
start local 3 4: StackMap locals: jdk.internal.loader.URLClassPath$Loader int
StackMap stack:
aload 3
aload 1
iload 2
invokevirtual jdk.internal.loader.URLClassPath$Loader.getResource:(Ljava/lang/String;Z)Ljdk/internal/loader/Resource;
astore 5
start local 5 5: aload 5
ifnull 7
6: aload 5
areturn
end local 5 7: StackMap locals:
StackMap stack:
iinc 4 1
end local 3 StackMap locals: jdk.internal.loader.URLClassPath java.lang.String int top int
StackMap stack:
8: aload 0
iload 4
invokevirtual jdk.internal.loader.URLClassPath.getLoader:(I)Ljdk/internal/loader/URLClassPath$Loader;
dup
astore 3
start local 3 9: ifnonnull 4
end local 4 10: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/loader/URLClassPath;
0 11 1 name Ljava/lang/String;
0 11 2 check Z
4 8 3 loader Ljdk/internal/loader/URLClassPath$Loader;
9 11 3 loader Ljdk/internal/loader/URLClassPath$Loader;
3 10 4 i I
5 7 5 res Ljdk/internal/loader/Resource;
MethodParameters:
Name Flags
name
check
public java.util.Enumeration<java.net.URL> findResources(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.internal.loader.URLClassPath$1
dup
aload 0
aload 1
iload 2
invokespecial jdk.internal.loader.URLClassPath$1.<init>:(Ljdk/internal/loader/URLClassPath;Ljava/lang/String;Z)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/URLClassPath;
0 1 1 name Ljava/lang/String;
0 1 2 check Z
Signature: (Ljava/lang/String;Z)Ljava/util/Enumeration<Ljava/net/URL;>;
MethodParameters:
Name Flags
name final
check final
public jdk.internal.loader.Resource getResource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/loader/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual jdk.internal.loader.URLClassPath.getResource:(Ljava/lang/String;Z)Ljdk/internal/loader/Resource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/URLClassPath;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.util.Enumeration<jdk.internal.loader.Resource> getResources(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.internal.loader.URLClassPath$2
dup
aload 0
aload 1
iload 2
invokespecial jdk.internal.loader.URLClassPath$2.<init>:(Ljdk/internal/loader/URLClassPath;Ljava/lang/String;Z)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/URLClassPath;
0 1 1 name Ljava/lang/String;
0 1 2 check Z
Signature: (Ljava/lang/String;Z)Ljava/util/Enumeration<Ljdk/internal/loader/Resource;>;
MethodParameters:
Name Flags
name final
check final
public java.util.Enumeration<jdk.internal.loader.Resource> getResources(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual jdk.internal.loader.URLClassPath.getResources:(Ljava/lang/String;Z)Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/URLClassPath;
0 1 1 name Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Enumeration<Ljdk/internal/loader/Resource;>;
MethodParameters:
Name Flags
name final
private synchronized jdk.internal.loader.URLClassPath$Loader getLoader(int);
descriptor: (I)Ljdk/internal/loader/URLClassPath$Loader;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.loader.URLClassPath.closed:Z
ifeq 27
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.loader.URLClassPath.urls:Ljava/util/Stack;
dup
astore 3
monitorenter
3: aload 0
getfield jdk.internal.loader.URLClassPath.urls:Ljava/util/Stack;
invokevirtual java.util.Stack.empty:()Z
ifeq 6
4: aload 3
monitorexit
5: aconst_null
areturn
6: StackMap locals: jdk.internal.loader.URLClassPath int top java.util.Stack
StackMap stack:
aload 0
getfield jdk.internal.loader.URLClassPath.urls:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
checkcast java.net.URL
astore 2
start local 2 7: aload 3
monitorexit
8: goto 11
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 3
monitorexit
10: athrow
start local 2 11: StackMap locals: jdk.internal.loader.URLClassPath int java.net.URL
StackMap stack:
aload 2
invokestatic sun.net.util.URLUtil.urlNoFragString:(Ljava/net/URL;)Ljava/lang/String;
astore 3
start local 3 12: aload 0
getfield jdk.internal.loader.URLClassPath.lmap:Ljava/util/HashMap;
aload 3
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 14
13: goto 27
14: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 2
invokevirtual jdk.internal.loader.URLClassPath.getLoader:(Ljava/net/URL;)Ljdk/internal/loader/URLClassPath$Loader;
astore 4
start local 4 15: aload 4
invokevirtual jdk.internal.loader.URLClassPath$Loader.getClassPath:()[Ljava/net/URL;
astore 5
start local 5 16: aload 5
ifnull 25
17: aload 0
aload 5
invokevirtual jdk.internal.loader.URLClassPath.push:([Ljava/net/URL;)V
end local 5 18: goto 25
end local 4 StackMap locals:
StackMap stack: java.io.IOException
19: pop
20: goto 27
21: StackMap locals:
StackMap stack: java.lang.SecurityException
astore 5
start local 5 22: getstatic jdk.internal.loader.URLClassPath.DEBUG:Z
ifeq 27
23: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Failed to access "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
24: goto 27
end local 5 start local 4 25: StackMap locals: jdk.internal.loader.URLClassPath$Loader
StackMap stack:
aload 0
getfield jdk.internal.loader.URLClassPath.loaders:Ljava/util/ArrayList;
aload 4
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
26: aload 0
getfield jdk.internal.loader.URLClassPath.lmap:Ljava/util/HashMap;
aload 3
aload 4
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 end local 3 end local 2 27: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.loader.URLClassPath.loaders:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iload 1
iconst_1
iadd
if_icmplt 2
28: aload 0
getfield jdk.internal.loader.URLClassPath.loaders:Ljava/util/ArrayList;
iload 1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast jdk.internal.loader.URLClassPath$Loader
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljdk/internal/loader/URLClassPath;
0 29 1 index I
7 9 2 url Ljava/net/URL;
11 27 2 url Ljava/net/URL;
12 27 3 urlNoFragString Ljava/lang/String;
15 19 4 loader Ljdk/internal/loader/URLClassPath$Loader;
25 27 4 loader Ljdk/internal/loader/URLClassPath$Loader;
16 18 5 urls [Ljava/net/URL;
22 25 5 se Ljava/lang/SecurityException;
Exception table:
from to target type
3 5 9 any
6 8 9 any
9 10 9 any
14 18 19 Class java.io.IOException
14 18 21 Class java.lang.SecurityException
MethodParameters:
Name Flags
index
private jdk.internal.loader.URLClassPath$Loader getLoader(java.net.URL);
descriptor: (Ljava/net/URL;)Ljdk/internal/loader/URLClassPath$Loader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new jdk.internal.loader.URLClassPath$3
dup
aload 0
aload 1
invokespecial jdk.internal.loader.URLClassPath$3.<init>:(Ljdk/internal/loader/URLClassPath;Ljava/net/URL;)V
1: aload 0
getfield jdk.internal.loader.URLClassPath.acc:Ljava/security/AccessControlContext;
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast jdk.internal.loader.URLClassPath$Loader
3: areturn
4: StackMap locals:
StackMap stack: java.security.PrivilegedActionException
astore 2
start local 2 5: aload 2
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
checkcast java.io.IOException
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/loader/URLClassPath;
0 6 1 url Ljava/net/URL;
5 6 2 pae Ljava/security/PrivilegedActionException;
Exception table:
from to target type
0 3 4 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url final
private static boolean isDefaultJarHandler(java.net.URL);
descriptor: (Ljava/net/URL;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic jdk.internal.loader.URLClassPath.JNUA:Ljdk/internal/misc/JavaNetURLAccess;
aload 0
invokeinterface jdk.internal.misc.JavaNetURLAccess.getHandler:(Ljava/net/URL;)Ljava/net/URLStreamHandler;
astore 1
start local 1 1: aload 1
instanceof sun.net.www.protocol.jar.Handler
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 u Ljava/net/URL;
1 2 1 h Ljava/net/URLStreamHandler;
MethodParameters:
Name Flags
u
private void push(java.net.URL[]);
descriptor: ([Ljava/net/URL;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.loader.URLClassPath.urls:Ljava/util/Stack;
dup
astore 2
monitorenter
1: aload 1
arraylength
iconst_1
isub
istore 3
start local 3 2: goto 5
3: StackMap locals: java.util.Stack int
StackMap stack:
aload 0
getfield jdk.internal.loader.URLClassPath.urls:Ljava/util/Stack;
aload 1
iload 3
aaload
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: iinc 3 -1
StackMap locals:
StackMap stack:
5: iload 3
ifge 3
end local 3 6: aload 2
monitorexit
7: goto 10
StackMap locals: jdk.internal.loader.URLClassPath java.net.URL[] java.util.Stack
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/loader/URLClassPath;
0 11 1 us [Ljava/net/URL;
2 6 3 i I
Exception table:
from to target type
1 7 8 any
8 9 8 any
MethodParameters:
Name Flags
us
public static java.net.URL checkURL(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/net/URL;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 5
1: aload 0
invokestatic jdk.internal.loader.URLClassPath.check:(Ljava/net/URL;)V
2: goto 5
StackMap locals:
StackMap stack: java.lang.Exception
3: pop
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 url Ljava/net/URL;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
url
public static void check(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 23
2: aload 0
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 2
start local 2 3: aload 2
invokevirtual java.net.URLConnection.getPermission:()Ljava/security/Permission;
astore 3
start local 3 4: aload 3
ifnull 23
5: aload 1
aload 3
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
6: goto 23
StackMap locals: java.net.URL java.lang.SecurityManager java.net.URLConnection java.security.Permission
StackMap stack: java.lang.SecurityException
7: astore 4
start local 4 8: aload 3
instanceof java.io.FilePermission
ifeq 12
9: aload 3
invokevirtual java.security.Permission.getActions:()Ljava/lang/String;
ldc "read"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 12
10: aload 1
aload 3
invokevirtual java.security.Permission.getName:()Ljava/lang/String;
invokevirtual java.lang.SecurityManager.checkRead:(Ljava/lang/String;)V
11: goto 23
StackMap locals: java.lang.SecurityException
StackMap stack:
12: aload 3
instanceof java.net.SocketPermission
13: ifeq 22
14: aload 3
invokevirtual java.security.Permission.getActions:()Ljava/lang/String;
ldc "connect"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 22
15: aload 0
astore 5
start local 5 16: aload 2
instanceof java.net.JarURLConnection
ifeq 18
17: aload 2
checkcast java.net.JarURLConnection
invokevirtual java.net.JarURLConnection.getJarFileURL:()Ljava/net/URL;
astore 5
18: StackMap locals: java.net.URL
StackMap stack:
aload 1
aload 5
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
19: aload 5
invokevirtual java.net.URL.getPort:()I
20: invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
end local 5 21: goto 23
22: StackMap locals:
StackMap stack:
aload 4
athrow
end local 4 end local 3 end local 2 23: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 url Ljava/net/URL;
1 24 1 security Ljava/lang/SecurityManager;
3 23 2 urlConnection Ljava/net/URLConnection;
4 23 3 perm Ljava/security/Permission;
8 23 4 se Ljava/lang/SecurityException;
16 21 5 locUrl Ljava/net/URL;
Exception table:
from to target type
5 6 7 Class java.lang.SecurityException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
}
SourceFile: "URLClassPath.java"
NestMembers:
jdk.internal.loader.URLClassPath$1 jdk.internal.loader.URLClassPath$2 jdk.internal.loader.URLClassPath$3 jdk.internal.loader.URLClassPath$FileLoader jdk.internal.loader.URLClassPath$FileLoader$1 jdk.internal.loader.URLClassPath$JarLoader jdk.internal.loader.URLClassPath$JarLoader$1 jdk.internal.loader.URLClassPath$JarLoader$2 jdk.internal.loader.URLClassPath$JarLoader$3 jdk.internal.loader.URLClassPath$Loader jdk.internal.loader.URLClassPath$Loader$1
InnerClasses:
jdk.internal.loader.URLClassPath$1
jdk.internal.loader.URLClassPath$2
jdk.internal.loader.URLClassPath$3
private FileLoader = jdk.internal.loader.URLClassPath$FileLoader of jdk.internal.loader.URLClassPath
JarLoader = jdk.internal.loader.URLClassPath$JarLoader of jdk.internal.loader.URLClassPath
private Loader = jdk.internal.loader.URLClassPath$Loader of jdk.internal.loader.URLClassPath