public class sun.net.www.protocol.jar.URLJarFile extends java.util.jar.JarFile
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.net.www.protocol.jar.URLJarFile
super_class: java.util.jar.JarFile
{
private static sun.net.www.protocol.jar.URLJarFileCallBack callback;
descriptor: Lsun/net/www/protocol/jar/URLJarFileCallBack;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private sun.net.www.protocol.jar.URLJarFile$URLJarFileCloseController closeController;
descriptor: Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;
flags: (0x0002) ACC_PRIVATE
private static int BUF_SIZE;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.util.jar.Manifest superMan;
descriptor: Ljava/util/jar/Manifest;
flags: (0x0002) ACC_PRIVATE
private java.util.jar.Attributes superAttr;
descriptor: Ljava/util/jar/Attributes;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.util.jar.Attributes> superEntries;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/jar/Attributes;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic sun.net.www.protocol.jar.URLJarFile.callback:Lsun/net/www/protocol/jar/URLJarFileCallBack;
1: sipush 2048
putstatic sun.net.www.protocol.jar.URLJarFile.BUF_SIZE:I
return
LocalVariableTable:
Start End Slot Name Signature
static java.util.jar.JarFile getJarFile(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/util/jar/JarFile;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic sun.net.www.protocol.jar.URLJarFile.getJarFile:(Ljava/net/URL;Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;)Ljava/util/jar/JarFile;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 url Ljava/net/URL;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
static java.util.jar.JarFile getJarFile(java.net.URL, sun.net.www.protocol.jar.URLJarFile$URLJarFileCloseController);
descriptor: (Ljava/net/URL;Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;)Ljava/util/jar/JarFile;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic sun.net.www.protocol.jar.URLJarFile.isFileURL:(Ljava/net/URL;)Z
ifeq 2
1: new sun.net.www.protocol.jar.URLJarFile
dup
aload 0
aload 1
invokespecial sun.net.www.protocol.jar.URLJarFile.<init>:(Ljava/net/URL;Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic sun.net.www.protocol.jar.URLJarFile.retrieve:(Ljava/net/URL;Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;)Ljava/util/jar/JarFile;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 url Ljava/net/URL;
0 3 1 closeController Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
closeController
public void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial sun.net.www.protocol.jar.URLJarFile.<init>:(Ljava/io/File;Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/protocol/jar/URLJarFile;
0 2 1 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public void <init>(java.io.File, sun.net.www.protocol.jar.URLJarFile$URLJarFileCloseController);
descriptor: (Ljava/io/File;Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;)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
iconst_1
iconst_5
invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;ZI)V
1: aload 0
aconst_null
putfield sun.net.www.protocol.jar.URLJarFile.closeController:Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;
2: aload 0
aload 2
putfield sun.net.www.protocol.jar.URLJarFile.closeController:Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/jar/URLJarFile;
0 4 1 file Ljava/io/File;
0 4 2 closeController Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
closeController
private void <init>(java.net.URL, sun.net.www.protocol.jar.URLJarFile$URLJarFileCloseController);
descriptor: (Ljava/net/URL;Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
invokestatic sun.net.www.ParseUtil.decode:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.util.jar.JarFile.<init>:(Ljava/lang/String;)V
1: aload 0
aconst_null
putfield sun.net.www.protocol.jar.URLJarFile.closeController:Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;
2: aload 0
aload 2
putfield sun.net.www.protocol.jar.URLJarFile.closeController:Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/jar/URLJarFile;
0 4 1 url Ljava/net/URL;
0 4 2 closeController Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
closeController
private static boolean isFileURL(java.net.URL);
descriptor: (Ljava/net/URL;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "file"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
1: aload 0
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
astore 1
start local 1 2: aload 1
ifnull 4
aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
aload 1
ldc "~"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: aload 1
ldc "localhost"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
4: StackMap locals: java.lang.String
StackMap stack:
iconst_1
ireturn
end local 1 5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 url Ljava/net/URL;
2 5 1 host Ljava/lang/String;
MethodParameters:
Name Flags
url
protected void finalize();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.net.www.protocol.jar.URLJarFile.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/net/www/protocol/jar/URLJarFile;
Exceptions:
throws java.io.IOException
public java.util.zip.ZipEntry getEntry(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/zip/ZipEntry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.util.jar.JarFile.getEntry:(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
astore 2
start local 2 1: aload 2
ifnull 8
2: aload 2
instanceof java.util.jar.JarEntry
ifeq 4
3: new sun.net.www.protocol.jar.URLJarFile$URLJarFileEntry
dup
aload 0
aload 2
checkcast java.util.jar.JarEntry
invokespecial sun.net.www.protocol.jar.URLJarFile$URLJarFileEntry.<init>:(Lsun/net/www/protocol/jar/URLJarFile;Ljava/util/jar/JarEntry;)V
areturn
4: StackMap locals: java.util.zip.ZipEntry
StackMap stack:
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokespecial java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
5: ldc " returned unexpected entry type "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/net/www/protocol/jar/URLJarFile;
0 9 1 name Ljava/lang/String;
1 9 2 ze Ljava/util/zip/ZipEntry;
MethodParameters:
Name Flags
name
public java.util.jar.Manifest getManifest();
descriptor: ()Ljava/util/jar/Manifest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual sun.net.www.protocol.jar.URLJarFile.isSuperMan:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.util.jar.Manifest
dup
invokespecial java.util.jar.Manifest.<init>:()V
astore 1
start local 1 3: aload 1
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
astore 2
start local 2 4: aload 2
aload 0
getfield sun.net.www.protocol.jar.URLJarFile.superAttr:Ljava/util/jar/Attributes;
invokevirtual java.util.jar.Attributes.clone:()Ljava/lang/Object;
checkcast java.util.Map
invokevirtual java.util.jar.Attributes.putAll:(Ljava/util/Map;)V
5: aload 0
getfield sun.net.www.protocol.jar.URLJarFile.superEntries:Ljava/util/Map;
ifnull 12
6: aload 1
invokevirtual java.util.jar.Manifest.getEntries:()Ljava/util/Map;
astore 3
start local 3 7: aload 0
getfield sun.net.www.protocol.jar.URLJarFile.superEntries:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 11
StackMap locals: sun.net.www.protocol.jar.URLJarFile java.util.jar.Manifest java.util.jar.Attributes java.util.Map top java.util.Iterator
StackMap stack:
8: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 9: aload 0
getfield sun.net.www.protocol.jar.URLJarFile.superEntries:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.jar.Attributes
astore 6
start local 6 10: aload 3
aload 4
aload 6
invokevirtual java.util.jar.Attributes.clone:()Ljava/lang/Object;
checkcast java.util.jar.Attributes
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 4 11: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 3 12: StackMap locals: sun.net.www.protocol.jar.URLJarFile java.util.jar.Manifest java.util.jar.Attributes
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/net/www/protocol/jar/URLJarFile;
3 13 1 man Ljava/util/jar/Manifest;
4 13 2 attr Ljava/util/jar/Attributes;
7 12 3 entries Ljava/util/Map<Ljava/lang/String;Ljava/util/jar/Attributes;>;
9 11 4 key Ljava/lang/String;
10 11 6 at Ljava/util/jar/Attributes;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.jar.URLJarFile.closeController:Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;
ifnull 2
1: aload 0
getfield sun.net.www.protocol.jar.URLJarFile.closeController:Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;
aload 0
invokeinterface sun.net.www.protocol.jar.URLJarFile$URLJarFileCloseController.close:(Ljava/util/jar/JarFile;)V
2: StackMap locals:
StackMap stack:
aload 0
invokespecial java.util.jar.JarFile.close:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/net/www/protocol/jar/URLJarFile;
Exceptions:
throws java.io.IOException
private synchronized boolean isSuperMan();
descriptor: ()Z
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.net.www.protocol.jar.URLJarFile.superMan:Ljava/util/jar/Manifest;
ifnonnull 2
1: aload 0
aload 0
invokespecial java.util.jar.JarFile.getManifest:()Ljava/util/jar/Manifest;
putfield sun.net.www.protocol.jar.URLJarFile.superMan:Ljava/util/jar/Manifest;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.net.www.protocol.jar.URLJarFile.superMan:Ljava/util/jar/Manifest;
ifnull 6
3: aload 0
aload 0
getfield sun.net.www.protocol.jar.URLJarFile.superMan:Ljava/util/jar/Manifest;
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
putfield sun.net.www.protocol.jar.URLJarFile.superAttr:Ljava/util/jar/Attributes;
4: aload 0
aload 0
getfield sun.net.www.protocol.jar.URLJarFile.superMan:Ljava/util/jar/Manifest;
invokevirtual java.util.jar.Manifest.getEntries:()Ljava/util/Map;
putfield sun.net.www.protocol.jar.URLJarFile.superEntries:Ljava/util/Map;
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/net/www/protocol/jar/URLJarFile;
Exceptions:
throws java.io.IOException
private static java.util.jar.JarFile retrieve(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/util/jar/JarFile;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic sun.net.www.protocol.jar.URLJarFile.retrieve:(Ljava/net/URL;Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;)Ljava/util/jar/JarFile;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 url Ljava/net/URL;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url final
private static java.util.jar.JarFile retrieve(java.net.URL, sun.net.www.protocol.jar.URLJarFile$URLJarFileCloseController);
descriptor: (Ljava/net/URL;Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;)Ljava/util/jar/JarFile;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: getstatic sun.net.www.protocol.jar.URLJarFile.callback:Lsun/net/www/protocol/jar/URLJarFileCallBack;
ifnull 2
1: getstatic sun.net.www.protocol.jar.URLJarFile.callback:Lsun/net/www/protocol/jar/URLJarFileCallBack;
aload 0
invokeinterface sun.net.www.protocol.jar.URLJarFileCallBack.retrieve:(Ljava/net/URL;)Ljava/util/jar/JarFile;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: aconst_null
astore 3
aconst_null
astore 4
4: aload 0
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
astore 5
start local 5 5: new sun.net.www.protocol.jar.URLJarFile$1
dup
aload 5
aload 1
invokespecial sun.net.www.protocol.jar.URLJarFile$1.<init>:(Ljava/io/InputStream;Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;)V
6: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.util.jar.JarFile
astore 2
7: aload 5
ifnull 15
aload 5
invokevirtual java.io.InputStream.close:()V
goto 15
StackMap locals: java.net.URL sun.net.www.protocol.jar.URLJarFile$URLJarFileCloseController java.util.jar.JarFile java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
8: astore 3
aload 5
ifnull 9
aload 5
invokevirtual java.io.InputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
9: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 4
aload 3
ifnonnull 11
aload 4
astore 3
goto 12
StackMap locals:
StackMap stack:
11: aload 3
aload 4
if_acmpeq 12
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 3
athrow
StackMap locals: java.net.URL sun.net.www.protocol.jar.URLJarFile$URLJarFileCloseController java.util.jar.JarFile
StackMap stack: java.security.PrivilegedActionException
13: astore 3
start local 3 14: aload 3
invokevirtual java.security.PrivilegedActionException.getException:()Ljava/lang/Exception;
checkcast java.io.IOException
athrow
end local 3 15: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 url Ljava/net/URL;
0 16 1 closeController Lsun/net/www/protocol/jar/URLJarFile$URLJarFileCloseController;
3 16 2 result Ljava/util/jar/JarFile;
5 9 5 in Ljava/io/InputStream;
14 15 3 pae Ljava/security/PrivilegedActionException;
Exception table:
from to target type
5 7 8 any
4 10 10 any
3 13 13 Class java.security.PrivilegedActionException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url final
closeController final
public static void setCallBack(sun.net.www.protocol.jar.URLJarFileCallBack);
descriptor: (Lsun/net/www/protocol/jar/URLJarFileCallBack;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic sun.net.www.protocol.jar.URLJarFile.callback:Lsun/net/www/protocol/jar/URLJarFileCallBack;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cb Lsun/net/www/protocol/jar/URLJarFileCallBack;
MethodParameters:
Name Flags
cb
}
SourceFile: "URLJarFile.java"
NestMembers:
sun.net.www.protocol.jar.URLJarFile$1 sun.net.www.protocol.jar.URLJarFile$URLJarFileCloseController sun.net.www.protocol.jar.URLJarFile$URLJarFileEntry
InnerClasses:
sun.net.www.protocol.jar.URLJarFile$1
public abstract URLJarFileCloseController = sun.net.www.protocol.jar.URLJarFile$URLJarFileCloseController of sun.net.www.protocol.jar.URLJarFile
private URLJarFileEntry = sun.net.www.protocol.jar.URLJarFile$URLJarFileEntry of sun.net.www.protocol.jar.URLJarFile