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 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.net.URL, sun.misc.URLClassPath$Loader> lmap;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
Signature: Ljava/util/HashMap<Ljava/net/URL;Lsun/misc/URLClassPath$Loader;>;
private java.net.URLStreamHandler jarHandler;
descriptor: Ljava/net/URLStreamHandler;
flags: (0x0002) ACC_PRIVATE
private final java.security.AccessControlContext acc;
descriptor: Ljava/security/AccessControlContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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.disableJarChecking"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
7: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 8: aload 0
ifnull 10
aload 0
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
aload 0
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
iconst_0
goto 11
StackMap locals: java.lang.String
StackMap stack:
9: iconst_1
goto 11
StackMap locals:
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: putstatic sun.misc.URLClassPath.DISABLE_JAR_CHECKING:Z
12: new sun.security.action.GetPropertyAction
dup
ldc "jdk.net.URLClassPath.disableRestrictedPermissions"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
13: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
14: aload 0
ifnull 16
aload 0
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
aload 0
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
iconst_0
goto 17
StackMap locals:
StackMap stack:
15: iconst_1
goto 17
StackMap locals:
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: putstatic sun.misc.URLClassPath.DISABLE_ACC_CHECKING:Z
18: 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
19: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
20: aload 0
ifnull 22
aload 0
ldc "true"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 21
iconst_0
goto 23
StackMap locals:
StackMap stack:
21: iconst_1
goto 23
StackMap locals:
StackMap stack:
22: iconst_0
StackMap locals:
StackMap stack: int
23: putstatic sun.misc.URLClassPath.DISABLE_CP_URL_CHECK:Z
24: 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 25: return
LocalVariableTable:
Start End Slot Name Signature
8 25 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: iconst_0
istore 4
start local 4 6: goto 9
7: 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
8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 1
arraylength
if_icmplt 7
end local 4 10: aload 0
aload 1
invokevirtual sun.misc.URLClassPath.push:([Ljava/net/URL;)V
11: aload 2
ifnull 13
12: 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;
13: StackMap locals:
StackMap stack:
getstatic sun.misc.URLClassPath.DISABLE_ACC_CHECKING:Z
ifeq 15
14: aload 0
aconst_null
putfield sun.misc.URLClassPath.acc:Ljava/security/AccessControlContext;
goto 16
15: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield sun.misc.URLClassPath.acc:Ljava/security/AccessControlContext;
16: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/misc/URLClassPath;
0 17 1 urls [Ljava/net/URL;
0 17 2 factory Ljava/net/URLStreamHandlerFactory;
0 17 3 acc Ljava/security/AccessControlContext;
6 10 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 void addURL(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, 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 0
getfield sun.misc.URLClassPath.path:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifeq 4
2: aload 2
monitorexit
3: return
4: StackMap locals: java.util.Stack
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
5: aload 0
getfield sun.misc.URLClassPath.path:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
6: aload 2
monitorexit
7: goto 10
StackMap locals:
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 url Ljava/net/URL;
Exception table:
from to target type
1 3 8 any
4 7 8 any
8 9 8 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=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: sun.misc.URLClassPath$Loader int
StackMap stack:
aload 3
aload 1
iload 2
invokevirtual sun.misc.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: sun.misc.URLClassPath java.lang.String int top int
StackMap stack:
6: aload 0
iload 4
invokevirtual sun.misc.URLClassPath.getLoader:(I)Lsun/misc/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 Lsun/misc/URLClassPath;
0 9 1 name Ljava/lang/String;
0 9 2 check Z
2 6 3 loader Lsun/misc/URLClassPath$Loader;
7 9 3 loader Lsun/misc/URLClassPath$Loader;
1 8 4 i I
3 5 5 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=6, 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:
iconst_0
istore 4
start local 4 3: goto 8
start local 3 4: StackMap locals: sun.misc.URLClassPath$Loader int
StackMap stack:
aload 3
aload 1
iload 2
invokevirtual sun.misc.URLClassPath$Loader.getResource:(Ljava/lang/String;Z)Lsun/misc/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: sun.misc.URLClassPath java.lang.String int top int
StackMap stack:
8: aload 0
iload 4
invokevirtual sun.misc.URLClassPath.getLoader:(I)Lsun/misc/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 Lsun/misc/URLClassPath;
0 11 1 name Ljava/lang/String;
0 11 2 check Z
4 8 3 loader Lsun/misc/URLClassPath$Loader;
9 11 3 loader Lsun/misc/URLClassPath$Loader;
3 10 4 i I
5 7 5 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
private synchronized sun.misc.URLClassPath$Loader getLoader(int);
descriptor: (I)Lsun/misc/URLClassPath$Loader;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: goto 25
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.misc.URLClassPath.urls:Ljava/util/Stack;
dup
astore 3
monitorenter
2: aload 0
getfield sun.misc.URLClassPath.urls:Ljava/util/Stack;
invokevirtual java.util.Stack.empty:()Z
ifeq 5
3: aload 3
monitorexit
4: aconst_null
areturn
5: 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 6: aload 3
monitorexit
7: goto 10
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 3
monitorexit
9: athrow
start local 2 10: StackMap locals: sun.misc.URLClassPath int java.net.URL
StackMap stack:
aload 0
getfield sun.misc.URLClassPath.lmap:Ljava/util/HashMap;
aload 2
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 12
11: goto 25
12: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.misc.URLClassPath.getLoader:(Ljava/net/URL;)Lsun/misc/URLClassPath$Loader;
astore 3
start local 3 13: aload 3
invokevirtual sun.misc.URLClassPath$Loader.getClassPath:()[Ljava/net/URL;
astore 4
start local 4 14: aload 4
ifnull 23
15: aload 0
aload 4
invokevirtual sun.misc.URLClassPath.push:([Ljava/net/URL;)V
end local 4 16: goto 23
end local 3 StackMap locals:
StackMap stack: java.io.IOException
17: pop
18: goto 25
19: StackMap locals:
StackMap stack: java.lang.SecurityException
astore 4
start local 4 20: getstatic sun.misc.URLClassPath.DEBUG:Z
ifeq 25
21: 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 4
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
22: goto 25
end local 4 start local 3 23: StackMap locals: sun.misc.URLClassPath$Loader
StackMap stack:
aload 0
getfield sun.misc.URLClassPath.loaders:Ljava/util/ArrayList;
aload 3
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
24: aload 0
getfield sun.misc.URLClassPath.lmap:Ljava/util/HashMap;
aload 2
aload 3
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 end local 2 25: 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 1
26: 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 27 0 this Lsun/misc/URLClassPath;
0 27 1 index I
6 8 2 url Ljava/net/URL;
10 25 2 url Ljava/net/URL;
13 17 3 loader Lsun/misc/URLClassPath$Loader;
23 25 3 loader Lsun/misc/URLClassPath$Loader;
14 16 4 urls [Ljava/net/URL;
20 23 4 se Ljava/lang/SecurityException;
Exception table:
from to target type
2 4 8 any
5 7 8 any
8 9 8 any
12 16 17 Class java.io.IOException
12 16 19 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