class jdk.internal.loader.URLClassPath$JarLoader extends jdk.internal.loader.URLClassPath$Loader
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.loader.URLClassPath$JarLoader
super_class: jdk.internal.loader.URLClassPath$Loader
{
private java.util.jar.JarFile jar;
descriptor: Ljava/util/jar/JarFile;
flags: (0x0002) ACC_PRIVATE
private final java.net.URL csu;
descriptor: Ljava/net/URL;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.internal.util.jar.JarIndex index;
descriptor: Ljdk/internal/util/jar/JarIndex;
flags: (0x0002) ACC_PRIVATE
private java.net.URLStreamHandler handler;
descriptor: Ljava/net/URLStreamHandler;
flags: (0x0002) ACC_PRIVATE
private final java.util.HashMap<java.lang.String, jdk.internal.loader.URLClassPath$Loader> lmap;
descriptor: Ljava/util/HashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljdk/internal/loader/URLClassPath$Loader;>;
private final java.security.AccessControlContext acc;
descriptor: Ljava/security/AccessControlContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final jdk.internal.misc.JavaUtilZipFileAccess zipAccess;
descriptor: Ljdk/internal/misc/JavaUtilZipFileAccess;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.internal.misc.SharedSecrets.getJavaUtilZipFileAccess:()Ljdk/internal/misc/JavaUtilZipFileAccess;
1: putstatic jdk.internal.loader.URLClassPath$JarLoader.zipAccess:Ljdk/internal/misc/JavaUtilZipFileAccess;
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.net.URL, java.net.URLStreamHandler, java.util.HashMap<java.lang.String, jdk.internal.loader.URLClassPath$Loader>, java.security.AccessControlContext);
descriptor: (Ljava/net/URL;Ljava/net/URLStreamHandler;Ljava/util/HashMap;Ljava/security/AccessControlContext;)V
flags: (0x0000)
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
new java.net.URL
dup
ldc "jar"
ldc ""
iconst_m1
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "!/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial java.net.URL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/net/URLStreamHandler;)V
invokespecial jdk.internal.loader.URLClassPath$Loader.<init>:(Ljava/net/URL;)V
1: aload 0
iconst_0
putfield jdk.internal.loader.URLClassPath$JarLoader.closed:Z
2: aload 0
aload 1
putfield jdk.internal.loader.URLClassPath$JarLoader.csu:Ljava/net/URL;
3: aload 0
aload 2
putfield jdk.internal.loader.URLClassPath$JarLoader.handler:Ljava/net/URLStreamHandler;
4: aload 0
aload 3
putfield jdk.internal.loader.URLClassPath$JarLoader.lmap:Ljava/util/HashMap;
5: aload 0
aload 4
putfield jdk.internal.loader.URLClassPath$JarLoader.acc:Ljava/security/AccessControlContext;
6: aload 0
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.ensureOpen:()V
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/loader/URLClassPath$JarLoader;
0 8 1 url Ljava/net/URL;
0 8 2 jarHandler Ljava/net/URLStreamHandler;
0 8 3 loaderMap Ljava/util/HashMap<Ljava/lang/String;Ljdk/internal/loader/URLClassPath$Loader;>;
0 8 4 acc Ljava/security/AccessControlContext;
Exceptions:
throws java.io.IOException
Signature: (Ljava/net/URL;Ljava/net/URLStreamHandler;Ljava/util/HashMap<Ljava/lang/String;Ljdk/internal/loader/URLClassPath$Loader;>;Ljava/security/AccessControlContext;)V
MethodParameters:
Name Flags
url
jarHandler
loaderMap
acc
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.closed:Z
ifne 4
1: aload 0
iconst_1
putfield jdk.internal.loader.URLClassPath$JarLoader.closed:Z
2: aload 0
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.ensureOpen:()V
3: aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.jar:Ljava/util/jar/JarFile;
invokevirtual java.util.jar.JarFile.close:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/loader/URLClassPath$JarLoader;
Exceptions:
throws java.io.IOException
java.util.jar.JarFile getJarFile();
descriptor: ()Ljava/util/jar/JarFile;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.jar:Ljava/util/jar/JarFile;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/URLClassPath$JarLoader;
private boolean isOptimizable(java.net.URL);
descriptor: (Ljava/net/URL;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "file"
aload 1
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/URLClassPath$JarLoader;
0 1 1 url Ljava/net/URL;
MethodParameters:
Name Flags
url
private void ensureOpen();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.jar:Ljava/util/jar/JarFile;
ifnonnull 7
1: new jdk.internal.loader.URLClassPath$JarLoader$1
dup
aload 0
invokespecial jdk.internal.loader.URLClassPath$JarLoader$1.<init>:(Ljdk/internal/loader/URLClassPath$JarLoader;)V
2: aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.acc:Ljava/security/AccessControlContext;
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
pop
4: goto 7
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
5: astore 1
start local 1 6: aload 1
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
checkcast java.io.IOException
athrow
end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/loader/URLClassPath$JarLoader;
6 7 1 pae Ljava/security/PrivilegedActionException;
Exception table:
from to target type
1 4 5 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
static java.util.jar.JarFile checkJar(java.util.jar.JarFile);
descriptor: (Ljava/util/jar/JarFile;)Ljava/util/jar/JarFile;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 8
getstatic jdk.internal.loader.URLClassPath.DISABLE_JAR_CHECKING:Z
ifne 8
1: getstatic jdk.internal.loader.URLClassPath$JarLoader.zipAccess:Ljdk/internal/misc/JavaUtilZipFileAccess;
aload 0
invokeinterface jdk.internal.misc.JavaUtilZipFileAccess.startsWithLocHeader:(Ljava/util/zip/ZipFile;)Z
ifne 8
2: new java.io.IOException
dup
ldc "Invalid Jar file"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: aload 0
invokevirtual java.util.jar.JarFile.close:()V
4: goto 7
StackMap locals: java.util.jar.JarFile java.io.IOException
StackMap stack: java.io.IOException
5: astore 2
start local 2 6: aload 1
aload 2
invokevirtual java.io.IOException.addSuppressed:(Ljava/lang/Throwable;)V
end local 2 7: StackMap locals:
StackMap stack:
aload 1
athrow
end local 1 8: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 jar Ljava/util/jar/JarFile;
3 8 1 x Ljava/io/IOException;
6 7 2 ex Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
jar
private java.util.jar.JarFile getJarFile(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/util/jar/JarFile;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.isOptimizable:(Ljava/net/URL;)Z
ifeq 7
1: new jdk.internal.loader.FileURLMapper
dup
aload 1
invokespecial jdk.internal.loader.FileURLMapper.<init>:(Ljava/net/URL;)V
astore 2
start local 2 2: aload 2
invokevirtual jdk.internal.loader.FileURLMapper.exists:()Z
ifne 4
3: new java.io.FileNotFoundException
dup
aload 2
invokevirtual jdk.internal.loader.FileURLMapper.getPath:()Ljava/lang/String;
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: jdk.internal.loader.FileURLMapper
StackMap stack:
new java.util.jar.JarFile
dup
new java.io.File
dup
aload 2
invokevirtual jdk.internal.loader.FileURLMapper.getPath:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
iconst_1
iconst_1
5: invokestatic java.util.jar.JarFile.runtimeVersion:()Ljava/lang/Runtime$Version;
6: invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;ZILjava/lang/Runtime$Version;)V
invokestatic jdk.internal.loader.URLClassPath$JarLoader.checkJar:(Ljava/util/jar/JarFile;)Ljava/util/jar/JarFile;
areturn
end local 2 7: StackMap locals:
StackMap stack:
new java.net.URL
dup
aload 0
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.getBaseURL:()Ljava/net/URL;
ldc "#runtime"
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 2
start local 2 8: aload 2
ldc "UA-Java-Version"
getstatic jdk.internal.loader.URLClassPath.JAVA_VERSION:Ljava/lang/String;
invokevirtual java.net.URLConnection.setRequestProperty:(Ljava/lang/String;Ljava/lang/String;)V
9: aload 2
checkcast java.net.JarURLConnection
invokevirtual java.net.JarURLConnection.getJarFile:()Ljava/util/jar/JarFile;
astore 3
start local 3 10: aload 3
invokestatic jdk.internal.loader.URLClassPath$JarLoader.checkJar:(Ljava/util/jar/JarFile;)Ljava/util/jar/JarFile;
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$JarLoader;
0 11 1 url Ljava/net/URL;
2 7 2 p Ljdk/internal/loader/FileURLMapper;
8 11 2 uc Ljava/net/URLConnection;
10 11 3 jarFile Ljava/util/jar/JarFile;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
jdk.internal.util.jar.JarIndex getIndex();
descriptor: ()Ljdk/internal/util/jar/JarIndex;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.ensureOpen:()V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 1
start local 1 3: new java.lang.InternalError
dup
aload 1
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.index:Ljdk/internal/util/jar/JarIndex;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/loader/URLClassPath$JarLoader;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
jdk.internal.loader.Resource checkResource(java.lang.String, boolean, java.util.jar.JarEntry);
descriptor: (Ljava/lang/String;ZLjava/util/jar/JarEntry;)Ljdk/internal/loader/Resource;
flags: (0x0000)
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.jar:Ljava/util/jar/JarFile;
invokevirtual java.util.jar.JarFile.isMultiRelease:()Z
ifeq 3
1: aload 3
invokevirtual java.util.jar.JarEntry.getRealName:()Ljava/lang/String;
astore 5
start local 5 2: goto 4
end local 5 3: StackMap locals:
StackMap stack:
aload 1
astore 5
start local 5 4: StackMap locals: jdk.internal.loader.URLClassPath$JarLoader java.lang.String int java.util.jar.JarEntry top java.lang.String
StackMap stack:
new java.net.URL
dup
aload 0
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.getBaseURL:()Ljava/net/URL;
aload 5
iconst_0
invokestatic sun.net.www.ParseUtil.encodePath:(Ljava/lang/String;Z)Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 4
start local 4 5: iload 2
ifeq 14
6: aload 4
invokestatic jdk.internal.loader.URLClassPath.check:(Ljava/net/URL;)V
end local 5 7: goto 14
end local 4 StackMap locals: jdk.internal.loader.URLClassPath$JarLoader java.lang.String int java.util.jar.JarEntry
StackMap stack: java.net.MalformedURLException
8: pop
9: aconst_null
areturn
10: StackMap locals:
StackMap stack: java.io.IOException
pop
11: aconst_null
areturn
12: StackMap locals:
StackMap stack: java.security.AccessControlException
pop
13: aconst_null
areturn
start local 4 14: StackMap locals: java.net.URL
StackMap stack:
new jdk.internal.loader.URLClassPath$JarLoader$2
dup
aload 0
aload 1
aload 4
aload 3
invokespecial jdk.internal.loader.URLClassPath$JarLoader$2.<init>:(Ljdk/internal/loader/URLClassPath$JarLoader;Ljava/lang/String;Ljava/net/URL;Ljava/util/jar/JarEntry;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/internal/loader/URLClassPath$JarLoader;
0 15 1 name Ljava/lang/String;
0 15 2 check Z
0 15 3 entry Ljava/util/jar/JarEntry;
5 8 4 url Ljava/net/URL;
14 15 4 url Ljava/net/URL;
2 3 5 nm Ljava/lang/String;
4 7 5 nm Ljava/lang/String;
Exception table:
from to target type
0 7 8 Class java.net.MalformedURLException
0 7 10 Class java.io.IOException
0 7 12 Class java.security.AccessControlException
MethodParameters:
Name Flags
name final
check
entry final
boolean validIndex(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 1
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
dup
istore 3
start local 3 2: iconst_m1
if_icmpeq 4
3: aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
4: StackMap locals: java.lang.String int
StackMap stack:
aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.jar:Ljava/util/jar/JarFile;
invokevirtual java.util.jar.JarFile.entries:()Ljava/util/Enumeration;
astore 6
start local 6 5: goto 12
6: StackMap locals: jdk.internal.loader.URLClassPath$JarLoader java.lang.String java.lang.String int top top java.util.Enumeration
StackMap stack:
aload 6
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 5
start local 5 7: aload 5
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
astore 4
start local 4 8: aload 4
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
dup
istore 3
iconst_m1
if_icmpeq 10
9: aload 4
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
10: StackMap locals: jdk.internal.loader.URLClassPath$JarLoader java.lang.String java.lang.String int java.lang.String java.util.zip.ZipEntry java.util.Enumeration
StackMap stack:
aload 4
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: iconst_1
ireturn
end local 5 end local 4 12: StackMap locals: jdk.internal.loader.URLClassPath$JarLoader java.lang.String java.lang.String int top top java.util.Enumeration
StackMap stack:
aload 6
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 6
13: iconst_0
ireturn
end local 6 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/internal/loader/URLClassPath$JarLoader;
0 14 1 name Ljava/lang/String;
1 14 2 packageName Ljava/lang/String;
2 14 3 pos I
8 12 4 entryName Ljava/lang/String;
7 12 5 entry Ljava/util/zip/ZipEntry;
5 14 6 enum_ Ljava/util/Enumeration<Ljava/util/jar/JarEntry;>;
MethodParameters:
Name Flags
name final
java.net.URL findResource(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/net/URL;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.getResource:(Ljava/lang/String;Z)Ljdk/internal/loader/Resource;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
invokevirtual jdk.internal.loader.Resource.getURL:()Ljava/net/URL;
areturn
3: StackMap locals: jdk.internal.loader.Resource
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/loader/URLClassPath$JarLoader;
0 4 1 name Ljava/lang/String;
0 4 2 check Z
1 4 3 rsc Ljdk/internal/loader/Resource;
MethodParameters:
Name Flags
name final
check
jdk.internal.loader.Resource getResource(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljdk/internal/loader/Resource;
flags: (0x0000)
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.ensureOpen:()V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 3
start local 3 3: new java.lang.InternalError
dup
aload 3
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.jar:Ljava/util/jar/JarFile;
aload 1
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 3
start local 3 5: aload 3
ifnull 7
6: aload 0
aload 1
iload 2
aload 3
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.checkResource:(Ljava/lang/String;ZLjava/util/jar/JarEntry;)Ljdk/internal/loader/Resource;
areturn
7: StackMap locals: java.util.jar.JarEntry
StackMap stack:
aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.index:Ljdk/internal/util/jar/JarIndex;
ifnonnull 9
8: aconst_null
areturn
9: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 4
start local 4 10: aload 0
aload 1
iload 2
aload 4
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.getResource:(Ljava/lang/String;ZLjava/util/Set;)Ljdk/internal/loader/Resource;
areturn
end local 4 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$JarLoader;
0 11 1 name Ljava/lang/String;
0 11 2 check Z
3 4 3 e Ljava/io/IOException;
5 11 3 entry Ljava/util/jar/JarEntry;
10 11 4 visited Ljava/util/HashSet<Ljava/lang/String;>;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
name final
check
jdk.internal.loader.Resource getResource(java.lang.String, boolean, java.util.Set<java.lang.String>);
descriptor: (Ljava/lang/String;ZLjava/util/Set;)Ljdk/internal/loader/Resource;
flags: (0x0000)
Code:
stack=6, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 6
start local 6 1: aconst_null
astore 7
start local 7 2: aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.index:Ljdk/internal/util/jar/JarIndex;
aload 1
invokevirtual jdk.internal.util.jar.JarIndex.get:(Ljava/lang/String;)Ljava/util/LinkedList;
dup
astore 7
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: jdk.internal.loader.URLClassPath$JarLoader java.lang.String int java.util.Set top top int java.util.LinkedList
StackMap stack:
aload 7
invokevirtual java.util.LinkedList.size:()I
istore 8
start local 8 5: aload 7
iload 8
anewarray java.lang.String
invokevirtual java.util.LinkedList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 5
start local 5 6: goto 47
7: StackMap locals: jdk.internal.loader.URLClassPath$JarLoader java.lang.String int java.util.Set top java.lang.String[] int java.util.LinkedList int
StackMap stack:
aload 5
iload 6
iinc 6 1
aaload
astore 9
start local 9 8: new java.net.URL
dup
aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.csu:Ljava/net/URL;
aload 9
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 11
start local 11 9: aload 11
invokestatic sun.net.util.URLUtil.urlNoFragString:(Ljava/net/URL;)Ljava/lang/String;
astore 12
start local 12 10: aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.lmap:Ljava/util/HashMap;
aload 12
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.loader.URLClassPath$JarLoader
dup
astore 10
start local 10 11: ifnonnull 28
12: new jdk.internal.loader.URLClassPath$JarLoader$3
dup
aload 0
aload 11
invokespecial jdk.internal.loader.URLClassPath$JarLoader$3.<init>:(Ljdk/internal/loader/URLClassPath$JarLoader;Ljava/net/URL;)V
13: aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.acc:Ljava/security/AccessControlContext;
14: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
checkcast jdk.internal.loader.URLClassPath$JarLoader
astore 10
15: aload 10
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.getIndex:()Ljdk/internal/util/jar/JarIndex;
astore 13
start local 13 16: aload 13
ifnull 22
17: aload 9
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 14
start local 14 18: aload 13
aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.index:Ljdk/internal/util/jar/JarIndex;
iload 14
iconst_m1
if_icmpne 20
19: aconst_null
goto 21
StackMap locals: jdk.internal.loader.URLClassPath$JarLoader java.lang.String int java.util.Set top java.lang.String[] int java.util.LinkedList int java.lang.String jdk.internal.loader.URLClassPath$JarLoader java.net.URL java.lang.String jdk.internal.util.jar.JarIndex int
StackMap stack: jdk.internal.util.jar.JarIndex jdk.internal.util.jar.JarIndex
20: aload 9
iconst_0
iload 14
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
21: StackMap locals: jdk.internal.loader.URLClassPath$JarLoader java.lang.String int java.util.Set top java.lang.String[] int java.util.LinkedList int java.lang.String jdk.internal.loader.URLClassPath$JarLoader java.net.URL java.lang.String jdk.internal.util.jar.JarIndex int
StackMap stack: jdk.internal.util.jar.JarIndex jdk.internal.util.jar.JarIndex java.lang.String
invokevirtual jdk.internal.util.jar.JarIndex.merge:(Ljdk/internal/util/jar/JarIndex;Ljava/lang/String;)V
end local 14 22: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.lmap:Ljava/util/HashMap;
aload 12
aload 10
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 end local 12 23: goto 28
end local 11 end local 10 StackMap locals: jdk.internal.loader.URLClassPath$JarLoader java.lang.String int java.util.Set top java.lang.String[] int java.util.LinkedList int java.lang.String
StackMap stack: java.security.PrivilegedActionException
24: pop
25: goto 47
26: StackMap locals:
StackMap stack: java.net.MalformedURLException
pop
27: goto 47
start local 10 start local 11 28: StackMap locals: jdk.internal.loader.URLClassPath$JarLoader java.net.URL
StackMap stack:
aload 3
aload 11
invokestatic sun.net.util.URLUtil.urlNoFragString:(Ljava/net/URL;)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ifeq 29
iconst_0
goto 30
StackMap locals:
StackMap stack:
29: iconst_1
StackMap locals:
StackMap stack: int
30: istore 12
start local 12 31: iload 12
ifne 41
32: aload 10
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.ensureOpen:()V
33: goto 36
StackMap locals: jdk.internal.loader.URLClassPath$JarLoader java.lang.String int java.util.Set top java.lang.String[] int java.util.LinkedList int java.lang.String jdk.internal.loader.URLClassPath$JarLoader java.net.URL int
StackMap stack: java.io.IOException
34: astore 13
start local 13 35: new java.lang.InternalError
dup
aload 13
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 13 36: StackMap locals:
StackMap stack:
aload 10
getfield jdk.internal.loader.URLClassPath$JarLoader.jar:Ljava/util/jar/JarFile;
aload 1
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 13
start local 13 37: aload 13
ifnull 39
38: aload 10
aload 1
iload 2
aload 13
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.checkResource:(Ljava/lang/String;ZLjava/util/jar/JarEntry;)Ljdk/internal/loader/Resource;
areturn
39: StackMap locals: java.util.jar.JarEntry
StackMap stack:
aload 10
aload 1
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.validIndex:(Ljava/lang/String;)Z
ifne 41
40: new jdk.internal.util.jar.InvalidJarIndexError
dup
ldc "Invalid index"
invokespecial jdk.internal.util.jar.InvalidJarIndexError.<init>:(Ljava/lang/String;)V
athrow
end local 13 41: StackMap locals:
StackMap stack:
iload 12
ifne 47
aload 10
aload 0
if_acmpeq 47
42: aload 10
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.getIndex:()Ljdk/internal/util/jar/JarIndex;
ifnonnull 44
43: goto 47
44: StackMap locals:
StackMap stack:
aload 10
aload 1
iload 2
aload 3
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.getResource:(Ljava/lang/String;ZLjava/util/Set;)Ljdk/internal/loader/Resource;
dup
astore 4
start local 4 45: ifnull 47
46: aload 4
areturn
end local 12 end local 11 end local 10 end local 9 end local 4 47: StackMap locals: jdk.internal.loader.URLClassPath$JarLoader java.lang.String int java.util.Set top java.lang.String[] int java.util.LinkedList int
StackMap stack:
iload 6
iload 8
if_icmplt 7
48: aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.index:Ljdk/internal/util/jar/JarIndex;
aload 1
invokevirtual jdk.internal.util.jar.JarIndex.get:(Ljava/lang/String;)Ljava/util/LinkedList;
astore 7
end local 8 49: iload 6
aload 7
invokevirtual java.util.LinkedList.size:()I
50: if_icmplt 4
51: aconst_null
areturn
end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Ljdk/internal/loader/URLClassPath$JarLoader;
0 52 1 name Ljava/lang/String;
0 52 2 check Z
0 52 3 visited Ljava/util/Set<Ljava/lang/String;>;
45 47 4 res Ljdk/internal/loader/Resource;
6 52 5 jarFiles [Ljava/lang/String;
1 52 6 count I
2 52 7 jarFilesList Ljava/util/LinkedList<Ljava/lang/String;>;
5 49 8 size I
8 47 9 jarName Ljava/lang/String;
11 24 10 newLoader Ljdk/internal/loader/URLClassPath$JarLoader;
28 47 10 newLoader Ljdk/internal/loader/URLClassPath$JarLoader;
9 24 11 url Ljava/net/URL;
28 47 11 url Ljava/net/URL;
10 23 12 urlNoFragString Ljava/lang/String;
16 23 13 newIndex Ljdk/internal/util/jar/JarIndex;
18 22 14 pos I
31 47 12 visitedURL Z
35 36 13 e Ljava/io/IOException;
37 41 13 entry Ljava/util/jar/JarEntry;
Exception table:
from to target type
8 23 24 Class java.security.PrivilegedActionException
8 23 26 Class java.net.MalformedURLException
32 33 34 Class java.io.IOException
Signature: (Ljava/lang/String;ZLjava/util/Set<Ljava/lang/String;>;)Ljdk/internal/loader/Resource;
MethodParameters:
Name Flags
name final
check
visited
java.net.URL[] getClassPath();
descriptor: ()[Ljava/net/URL;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.index:Ljdk/internal/util/jar/JarIndex;
ifnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.loader.URLClassPath$JarLoader.ensureOpen:()V
3: invokestatic jdk.internal.misc.SharedSecrets.javaUtilJarAccess:()Ljdk/internal/misc/JavaUtilJarAccess;
aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.jar:Ljava/util/jar/JarFile;
invokeinterface jdk.internal.misc.JavaUtilJarAccess.jarFileHasClassPathAttribute:(Ljava/util/jar/JarFile;)Z
ifeq 11
4: aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.jar:Ljava/util/jar/JarFile;
invokevirtual java.util.jar.JarFile.getManifest:()Ljava/util/jar/Manifest;
astore 1
start local 1 5: aload 1
ifnull 11
6: aload 1
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
astore 2
start local 2 7: aload 2
ifnull 11
8: aload 2
getstatic java.util.jar.Attributes$Name.CLASS_PATH:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/util/jar/Attributes$Name;)Ljava/lang/String;
astore 3
start local 3 9: aload 3
ifnull 11
10: aload 0
getfield jdk.internal.loader.URLClassPath$JarLoader.csu:Ljava/net/URL;
aload 3
invokestatic jdk.internal.loader.URLClassPath$JarLoader.parseClassPath:(Ljava/net/URL;Ljava/lang/String;)[Ljava/net/URL;
areturn
end local 3 end local 2 end local 1 11: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/internal/loader/URLClassPath$JarLoader;
5 11 1 man Ljava/util/jar/Manifest;
7 11 2 attr Ljava/util/jar/Attributes;
9 11 3 value Ljava/lang/String;
Exceptions:
throws java.io.IOException
private static java.net.URL[] parseClassPath(java.net.URL, java.lang.String);
descriptor: (Ljava/net/URL;Ljava/lang/String;)[Ljava/net/URL;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: new java.util.StringTokenizer
dup
aload 1
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
invokevirtual java.util.StringTokenizer.countTokens:()I
anewarray java.net.URL
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 7
4: StackMap locals: java.util.StringTokenizer java.net.URL[] int
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 5
start local 5 5: aload 3
iload 4
new java.net.URL
dup
aload 0
aload 5
invokespecial java.net.URL.<init>:(Ljava/net/URL;Ljava/lang/String;)V
aastore
6: iinc 4 1
end local 5 7: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 4
8: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 base Ljava/net/URL;
0 9 1 value Ljava/lang/String;
1 9 2 st Ljava/util/StringTokenizer;
2 9 3 urls [Ljava/net/URL;
3 9 4 i I
5 7 5 path Ljava/lang/String;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
base
value
}
SourceFile: "URLClassPath.java"
NestHost: jdk.internal.loader.URLClassPath
InnerClasses:
public final Version = java.lang.Runtime$Version of java.lang.Runtime
public Name = java.util.jar.Attributes$Name of java.util.jar.Attributes
JarLoader = jdk.internal.loader.URLClassPath$JarLoader of jdk.internal.loader.URLClassPath
jdk.internal.loader.URLClassPath$JarLoader$1
jdk.internal.loader.URLClassPath$JarLoader$2
jdk.internal.loader.URLClassPath$JarLoader$3
private Loader = jdk.internal.loader.URLClassPath$Loader of jdk.internal.loader.URLClassPath