public class sun.misc.URLClassPath
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.misc.URLClassPath
super_class: java.lang.Object
{
static final java.lang.String USER_AGENT_JAVA_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "UA-Java-Version"
static final java.lang.String JAVA_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean DEBUG_LOOKUP_CACHE;
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 static final boolean DISABLE_CP_URL_CHECK;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean DEBUG_CP_URL_CHECK;
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<sun.misc.URLClassPath$Loader> loaders;
descriptor: Ljava/util/ArrayList;
flags: (0x0000)
Signature: Ljava/util/ArrayList<Lsun/misc/URLClassPath$Loader;>;
java.util.HashMap<java.lang.String, sun.misc.URLClassPath$Loader> lmap;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
Signature: Ljava/util/HashMap<Ljava/lang/String;Lsun/misc/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 volatile boolean lookupCacheEnabled;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private java.net.URL[] lookupCacheURLs;
descriptor: [Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
private java.lang.ClassLoader lookupCacheLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: new sun.security.action.GetPropertyAction
dup
ldc "java.version"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
putstatic sun.misc.URLClassPath.JAVA_VERSION:Ljava/lang/String;
2: new sun.security.action.GetPropertyAction
dup
ldc "sun.misc.URLClassPath.debug"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
ifnull 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: putstatic sun.misc.URLClassPath.DEBUG:Z
6: new sun.security.action.GetPropertyAction
dup
ldc "sun.misc.URLClassPath.debugLookupCache"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
7: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
ifnull 8
iconst_1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: putstatic sun.misc.URLClassPath.DEBUG_LOOKUP_CACHE:Z
10: new sun.security.action.GetPropertyAction
dup
ldc "sun.misc.URLClassPath.disableJarChecking"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
11: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 12: aload 0
ifnull 14
aload 0
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
aload 0
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
iconst_0
goto 15
StackMap locals: java.lang.String
StackMap stack:
13: iconst_1
goto 15
StackMap locals:
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: putstatic sun.misc.URLClassPath.DISABLE_JAR_CHECKING:Z
16: new sun.security.action.GetPropertyAction
dup
ldc "jdk.net.URLClassPath.disableRestrictedPermissions"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
17: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
18: aload 0
ifnull 20
aload 0
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
aload 0
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
iconst_0
goto 21
StackMap locals:
StackMap stack:
19: iconst_1
goto 21
StackMap locals:
StackMap stack:
20: iconst_0
StackMap locals:
StackMap stack: int
21: putstatic sun.misc.URLClassPath.DISABLE_ACC_CHECKING:Z
22: new sun.security.action.GetPropertyAction
dup
ldc "jdk.net.URLClassPath.disableClassPathURLCheck"
ldc "true"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
23: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
24: aload 0
ifnull 26
aload 0
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 25
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 25
iconst_0
goto 27
StackMap locals:
StackMap stack:
25: iconst_1
goto 27
StackMap locals:
StackMap stack:
26: iconst_0
StackMap locals:
StackMap stack: int
27: putstatic sun.misc.URLClassPath.DISABLE_CP_URL_CHECK:Z
28: ldc "debug"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putstatic sun.misc.URLClassPath.DEBUG_CP_URL_CHECK:Z
end local 0 29: ldc "true"
ldc "sun.cds.enableSharedLookupCache"
invokestatic sun.misc.VM.getSavedProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
30: putstatic sun.misc.URLClassPath.lookupCacheEnabled:Z
31: return
LocalVariableTable:
Start End Slot Name Signature
12 29 0 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 sun.misc.URLClassPath.path:Ljava/util/ArrayList;
2: aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield sun.misc.URLClassPath.urls:Ljava/util/Stack;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.misc.URLClassPath.loaders:Ljava/util/ArrayList;
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.misc.URLClassPath.lmap:Ljava/util/HashMap;
5: aload 0
iconst_0
putfield sun.misc.URLClassPath.closed:Z
6: iconst_0
istore 4
start local 4 7: goto 10
8: StackMap locals: sun.misc.URLClassPath java.net.URL[] java.net.URLStreamHandlerFactory java.security.AccessControlContext int
StackMap stack:
aload 0
getfield sun.misc.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 sun.misc.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 sun.misc.URLClassPath.jarHandler:Ljava/net/URLStreamHandler;
14: StackMap locals:
StackMap stack:
getstatic sun.misc.URLClassPath.DISABLE_ACC_CHECKING:Z
ifeq 16
15: aload 0
aconst_null
putfield sun.misc.URLClassPath.acc:Ljava/security/AccessControlContext;
goto 17
16: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield sun.misc.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 Lsun/misc/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 sun.misc.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 Lsun/misc/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 sun.misc.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 Lsun/misc/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 sun.misc.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 sun.misc.URLClassPath.loaders:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: sun.misc.URLClassPath java.util.List top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.misc.URLClassPath$Loader
astore 2
start local 2 5: aload 2
invokevirtual sun.misc.URLClassPath$Loader.close:()V
6: goto 9
StackMap locals: sun.misc.URLClassPath java.util.List sun.misc.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: sun.misc.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 sun.misc.URLClassPath.closed:Z
11: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/misc/URLClassPath;
3 12 1 result Ljava/util/List<Ljava/io/IOException;>;
5 9 2 loader Lsun/misc/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 sun.misc.URLClassPath.closed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.misc.URLClassPath.urls:Ljava/util/Stack;
dup
astore 2
monitorenter
3: aload 1
ifnull 4
aload 0
getfield sun.misc.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 sun.misc.URLClassPath.urls:Ljava/util/Stack;
iconst_0
aload 1
invokevirtual java.util.Stack.add:(ILjava/lang/Object;)V
7: aload 0
getfield sun.misc.URLClassPath.path:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
8: aload 0
getfield sun.misc.URLClassPath.lookupCacheURLs:[Ljava/net/URL;
ifnull 10
9: invokestatic sun.misc.URLClassPath.disableAllLookupCaches:()V
10: StackMap locals:
StackMap stack:
aload 2
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 2
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/misc/URLClassPath;
0 15 1 url Ljava/net/URL;
Exception table:
from to target type
3 5 12 any
6 11 12 any
12 13 12 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 sun.misc.URLClassPath.urls:Ljava/util/Stack;
dup
astore 1
monitorenter
1: aload 0
getfield sun.misc.URLClassPath.path:Ljava/util/ArrayList;
aload 0
getfield sun.misc.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: sun.misc.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 Lsun/misc/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=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual sun.misc.URLClassPath.getLookupCache:(Ljava/lang/String;)[I
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: goto 7
start local 3 3: StackMap locals: sun.misc.URLClassPath$Loader int[] int
StackMap stack:
aload 3
aload 1
iload 2
invokevirtual sun.misc.URLClassPath$Loader.findResource:(Ljava/lang/String;Z)Ljava/net/URL;
astore 6
start local 6 4: aload 6
ifnull 6
5: aload 6
areturn
end local 6 6: StackMap locals:
StackMap stack:
iinc 5 1
end local 3 StackMap locals: sun.misc.URLClassPath java.lang.String int top int[] int
StackMap stack:
7: aload 0
aload 4
iload 5
invokevirtual sun.misc.URLClassPath.getNextLoader:([II)Lsun/misc/URLClassPath$Loader;
dup
astore 3
start local 3 8: ifnonnull 3
end local 5 9: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/misc/URLClassPath;
0 10 1 name Ljava/lang/String;
0 10 2 check Z
3 7 3 loader Lsun/misc/URLClassPath$Loader;
8 10 3 loader Lsun/misc/URLClassPath$Loader;
1 10 4 cache [I
2 9 5 i I
4 6 6 url Ljava/net/URL;
MethodParameters:
Name Flags
name
check
public sun.misc.Resource getResource(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lsun/misc/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.misc.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:
aload 0
aload 1
invokevirtual sun.misc.URLClassPath.getLookupCache:(Ljava/lang/String;)[I
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 9
start local 3 5: StackMap locals: sun.misc.URLClassPath$Loader int[] int
StackMap stack:
aload 3
aload 1
iload 2
invokevirtual sun.misc.URLClassPath$Loader.getResource:(Ljava/lang/String;Z)Lsun/misc/Resource;
astore 6
start local 6 6: aload 6
ifnull 8
7: aload 6
areturn
end local 6 8: StackMap locals:
StackMap stack:
iinc 5 1
end local 3 StackMap locals: sun.misc.URLClassPath java.lang.String int top int[] int
StackMap stack:
9: aload 0
aload 4
iload 5
invokevirtual sun.misc.URLClassPath.getNextLoader:([II)Lsun/misc/URLClassPath$Loader;
dup
astore 3
start local 3 10: ifnonnull 5
end local 5 11: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/misc/URLClassPath;
0 12 1 name Ljava/lang/String;
0 12 2 check Z
5 9 3 loader Lsun/misc/URLClassPath$Loader;
10 12 3 loader Lsun/misc/URLClassPath$Loader;
3 12 4 cache [I
4 11 5 i I
6 8 6 res Lsun/misc/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 sun.misc.URLClassPath$1
dup
aload 0
aload 1
iload 2
invokespecial sun.misc.URLClassPath$1.<init>:(Lsun/misc/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 Lsun/misc/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 sun.misc.Resource getResource(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/misc/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 sun.misc.URLClassPath.getResource:(Ljava/lang/String;Z)Lsun/misc/Resource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/misc/URLClassPath;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.util.Enumeration<sun.misc.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 sun.misc.URLClassPath$2
dup
aload 0
aload 1
iload 2
invokespecial sun.misc.URLClassPath$2.<init>:(Lsun/misc/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 Lsun/misc/URLClassPath;
0 1 1 name Ljava/lang/String;
0 1 2 check Z
Signature: (Ljava/lang/String;Z)Ljava/util/Enumeration<Lsun/misc/Resource;>;
MethodParameters:
Name Flags
name final
check final
public java.util.Enumeration<sun.misc.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 sun.misc.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 Lsun/misc/URLClassPath;
0 1 1 name Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Enumeration<Lsun/misc/Resource;>;
MethodParameters:
Name Flags
name final
synchronized void initLookupCache(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic sun.misc.URLClassPath.getLookupCacheURLs:(Ljava/lang/ClassLoader;)[Ljava/net/URL;
dup_x1
putfield sun.misc.URLClassPath.lookupCacheURLs:[Ljava/net/URL;
ifnull 3
1: aload 0
aload 1
putfield sun.misc.URLClassPath.lookupCacheLoader:Ljava/lang/ClassLoader;
2: goto 4
3: StackMap locals:
StackMap stack:
invokestatic sun.misc.URLClassPath.disableAllLookupCaches:()V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/misc/URLClassPath;
0 5 1 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
loader
static void disableAllLookupCaches();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic sun.misc.URLClassPath.lookupCacheEnabled:Z
1: return
LocalVariableTable:
Start End Slot Name Signature
private static native java.net.URL[] getLookupCacheURLs(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)[Ljava/net/URL;
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
loader
private static native int[] getLookupCacheForClassLoader(java.lang.ClassLoader, java.lang.String);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;)[I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
loader
name
private static native boolean knownToNotExist0(java.lang.ClassLoader, java.lang.String);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
loader
className
synchronized boolean knownToNotExist(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.misc.URLClassPath.lookupCacheURLs:[Ljava/net/URL;
ifnull 2
getstatic sun.misc.URLClassPath.lookupCacheEnabled:Z
ifeq 2
1: aload 0
getfield sun.misc.URLClassPath.lookupCacheLoader:Ljava/lang/ClassLoader;
aload 1
invokestatic sun.misc.URLClassPath.knownToNotExist0:(Ljava/lang/ClassLoader;Ljava/lang/String;)Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/misc/URLClassPath;
0 3 1 className Ljava/lang/String;
MethodParameters:
Name Flags
className
private synchronized int[] getLookupCache(java.lang.String);
descriptor: (Ljava/lang/String;)[I
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.misc.URLClassPath.lookupCacheURLs:[Ljava/net/URL;
ifnull 1
getstatic sun.misc.URLClassPath.lookupCacheEnabled:Z
ifne 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.misc.URLClassPath.lookupCacheLoader:Ljava/lang/ClassLoader;
aload 1
invokestatic sun.misc.URLClassPath.getLookupCacheForClassLoader:(Ljava/lang/ClassLoader;Ljava/lang/String;)[I
astore 2
start local 2 3: aload 2
ifnull 11
aload 2
arraylength
ifle 11
4: aload 2
aload 2
arraylength
iconst_1
isub
iaload
istore 3
start local 3 5: aload 0
iload 3
invokevirtual sun.misc.URLClassPath.ensureLoaderOpened:(I)Z
ifne 11
6: getstatic sun.misc.URLClassPath.DEBUG_LOOKUP_CACHE:Z
ifeq 10
7: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Expanded loaders FAILED "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 0
getfield sun.misc.URLClassPath.loaders:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " for maxindex="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: StackMap locals: int[] int
StackMap stack:
aconst_null
areturn
end local 3 11: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/misc/URLClassPath;
0 12 1 name Ljava/lang/String;
3 12 2 cache [I
5 11 3 maxindex I
MethodParameters:
Name Flags
name
private boolean ensureLoaderOpened(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.misc.URLClassPath.loaders:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iload 1
if_icmpgt 9
1: aload 0
iload 1
invokevirtual sun.misc.URLClassPath.getLoader:(I)Lsun/misc/URLClassPath$Loader;
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
getstatic sun.misc.URLClassPath.lookupCacheEnabled:Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
getstatic sun.misc.URLClassPath.DEBUG_LOOKUP_CACHE:Z
ifeq 9
6: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Expanded loaders "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.misc.URLClassPath.loaders:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
7: ldc " to index="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/misc/URLClassPath;
0 10 1 index I
MethodParameters:
Name Flags
index
private synchronized void validateLookupCache(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.misc.URLClassPath.lookupCacheURLs:[Ljava/net/URL;
ifnull 12
getstatic sun.misc.URLClassPath.lookupCacheEnabled:Z
ifeq 12
1: iload 1
aload 0
getfield sun.misc.URLClassPath.lookupCacheURLs:[Ljava/net/URL;
arraylength
if_icmpge 7
2: aload 2
3: aload 0
getfield sun.misc.URLClassPath.lookupCacheURLs:[Ljava/net/URL;
iload 1
aaload
invokestatic sun.net.util.URLUtil.urlNoFragString:(Ljava/net/URL;)Ljava/lang/String;
4: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
5: ifeq 7
6: return
7: StackMap locals:
StackMap stack:
getstatic sun.misc.URLClassPath.DEBUG:Z
ifne 8
getstatic sun.misc.URLClassPath.DEBUG_LOOKUP_CACHE:Z
ifeq 11
8: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "WARNING: resource lookup cache invalidated for lookupCacheLoader at "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
invokestatic sun.misc.URLClassPath.disableAllLookupCaches:()V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/misc/URLClassPath;
0 13 1 index I
0 13 2 urlNoFragString Ljava/lang/String;
MethodParameters:
Name Flags
index
urlNoFragString
private synchronized sun.misc.URLClassPath$Loader getNextLoader(int[], int);
descriptor: ([II)Lsun/misc/URLClassPath$Loader;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.misc.URLClassPath.closed:Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 11
3: iload 2
aload 1
arraylength
if_icmpge 10
4: aload 0
getfield sun.misc.URLClassPath.loaders:Ljava/util/ArrayList;
aload 1
iload 2
iaload
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast sun.misc.URLClassPath$Loader
astore 3
start local 3 5: getstatic sun.misc.URLClassPath.DEBUG_LOOKUP_CACHE:Z
ifeq 9
6: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "HASCACHE: Loading from : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iload 2
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
7: ldc " = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual sun.misc.URLClassPath$Loader.getBaseURL:()Ljava/net/URL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: StackMap locals: sun.misc.URLClassPath$Loader
StackMap stack:
aload 3
areturn
end local 3 10: StackMap locals:
StackMap stack:
aconst_null
areturn
11: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual sun.misc.URLClassPath.getLoader:(I)Lsun/misc/URLClassPath$Loader;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/misc/URLClassPath;
0 12 1 cache [I
0 12 2 index I
5 10 3 loader Lsun/misc/URLClassPath$Loader;
MethodParameters:
Name Flags
cache
index
private synchronized sun.misc.URLClassPath$Loader getLoader(int);
descriptor: (I)Lsun/misc/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 sun.misc.URLClassPath.closed:Z
ifeq 28
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.misc.URLClassPath.urls:Ljava/util/Stack;
dup
astore 3
monitorenter
3: aload 0
getfield sun.misc.URLClassPath.urls:Ljava/util/Stack;
invokevirtual java.util.Stack.empty:()Z
ifeq 6
4: aload 3
monitorexit
5: aconst_null
areturn
6: StackMap locals: sun.misc.URLClassPath int top java.util.Stack
StackMap stack:
aload 0
getfield sun.misc.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: sun.misc.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 sun.misc.URLClassPath.lmap:Ljava/util/HashMap;
aload 3
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 14
13: goto 28
14: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 2
invokevirtual sun.misc.URLClassPath.getLoader:(Ljava/net/URL;)Lsun/misc/URLClassPath$Loader;
astore 4
start local 4 15: aload 4
invokevirtual sun.misc.URLClassPath$Loader.getClassPath:()[Ljava/net/URL;
astore 5
start local 5 16: aload 5
ifnull 25
17: aload 0
aload 5
invokevirtual sun.misc.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 28
21: StackMap locals:
StackMap stack: java.lang.SecurityException
astore 5
start local 5 22: getstatic sun.misc.URLClassPath.DEBUG:Z
ifeq 28
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 28
end local 5 start local 4 25: StackMap locals: sun.misc.URLClassPath$Loader
StackMap stack:
aload 0
aload 0
getfield sun.misc.URLClassPath.loaders:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
aload 3
invokevirtual sun.misc.URLClassPath.validateLookupCache:(ILjava/lang/String;)V
26: aload 0
getfield sun.misc.URLClassPath.loaders:Ljava/util/ArrayList;
aload 4
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
27: aload 0
getfield sun.misc.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 28: StackMap locals:
StackMap stack:
aload 0
getfield sun.misc.URLClassPath.loaders:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iload 1
iconst_1
iadd
if_icmplt 2
29: getstatic sun.misc.URLClassPath.DEBUG_LOOKUP_CACHE:Z
ifeq 31
30: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "NOCACHE: Loading from : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
31: StackMap locals:
StackMap stack:
aload 0
getfield sun.misc.URLClassPath.loaders:Ljava/util/ArrayList;
iload 1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast sun.misc.URLClassPath$Loader
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lsun/misc/URLClassPath;
0 32 1 index I
7 9 2 url Ljava/net/URL;
11 28 2 url Ljava/net/URL;
12 28 3 urlNoFragString Ljava/lang/String;
15 19 4 loader Lsun/misc/URLClassPath$Loader;
25 28 4 loader Lsun/misc/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 sun.misc.URLClassPath$Loader getLoader(java.net.URL);
descriptor: (Ljava/net/URL;)Lsun/misc/URLClassPath$Loader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new sun.misc.URLClassPath$3
dup
aload 0
aload 1
invokespecial sun.misc.URLClassPath$3.<init>:(Lsun/misc/URLClassPath;Ljava/net/URL;)V
1: aload 0
getfield sun.misc.URLClassPath.acc:Ljava/security/AccessControlContext;
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast sun.misc.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 Lsun/misc/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 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 sun.misc.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 sun.misc.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: sun.misc.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 Lsun/misc/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[] pathToURLs(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/net/URL;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: new java.util.StringTokenizer
dup
aload 0
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
invokevirtual java.util.StringTokenizer.countTokens:()I
anewarray java.net.URL
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 11
4: StackMap locals: java.util.StringTokenizer java.net.URL[] int
StackMap stack:
new java.io.File
dup
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
start local 4 5: new java.io.File
dup
aload 4
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
6: goto 8
StackMap locals: java.lang.String java.util.StringTokenizer java.net.URL[] int java.io.File
StackMap stack: java.io.IOException
7: pop
8: StackMap locals:
StackMap stack:
aload 2
iload 3
iinc 3 1
aload 4
invokestatic sun.net.www.ParseUtil.fileToEncodedURL:(Ljava/io/File;)Ljava/net/URL;
aastore
9: goto 11
StackMap locals:
StackMap stack: java.io.IOException
10: pop
end local 4 11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 4
12: aload 2
arraylength
iload 3
if_icmpeq 16
13: iload 3
anewarray java.net.URL
astore 4
start local 4 14: aload 2
iconst_0
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
15: aload 4
astore 2
end local 4 16: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 path Ljava/lang/String;
1 17 1 st Ljava/util/StringTokenizer;
2 17 2 urls [Ljava/net/URL;
3 17 3 count I
5 11 4 f Ljava/io/File;
14 16 4 tmp [Ljava/net/URL;
Exception table:
from to target type
5 6 7 Class java.io.IOException
8 9 10 Class java.io.IOException
MethodParameters:
Name Flags
path
public java.net.URL checkURL(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.misc.URLClassPath.check:(Ljava/net/URL;)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: pop
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/misc/URLClassPath;
0 5 1 url Ljava/net/URL;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
url
static void check(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0008) 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:
sun.misc.URLClassPath$1 sun.misc.URLClassPath$2 sun.misc.URLClassPath$3 sun.misc.URLClassPath$FileLoader sun.misc.URLClassPath$FileLoader$1 sun.misc.URLClassPath$JarLoader sun.misc.URLClassPath$JarLoader$1 sun.misc.URLClassPath$JarLoader$2 sun.misc.URLClassPath$JarLoader$3 sun.misc.URLClassPath$Loader sun.misc.URLClassPath$Loader$1
InnerClasses:
sun.misc.URLClassPath$1
sun.misc.URLClassPath$2
sun.misc.URLClassPath$3
private FileLoader = sun.misc.URLClassPath$FileLoader of sun.misc.URLClassPath
JarLoader = sun.misc.URLClassPath$JarLoader of sun.misc.URLClassPath
private Loader = sun.misc.URLClassPath$Loader of sun.misc.URLClassPath