public class org.eclipse.jetty.util.resource.JarFileResource extends org.eclipse.jetty.util.resource.JarResource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.resource.JarFileResource
super_class: org.eclipse.jetty.util.resource.JarResource
{
private static final org.slf4j.Logger LOG;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.util.jar.JarFile _jarFile;
descriptor: Ljava/util/jar/JarFile;
flags: (0x0002) ACC_PRIVATE
private java.io.File _file;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] _list;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.jar.JarEntry _entry;
descriptor: Ljava/util/jar/JarEntry;
flags: (0x0002) ACC_PRIVATE
private boolean _directory;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String _jarUrl;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String _path;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean _exists;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/eclipse/jetty/util/resource/JarFileResource;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.net.URL, boolean);
descriptor: (Ljava/net/URL;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial org.eclipse.jetty.util.resource.JarResource.<init>:(Ljava/net/URL;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
0 2 1 url Ljava/net/URL;
0 2 2 useCaches Z
MethodParameters:
Name Flags
url
useCaches
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: aload 0
iconst_0
putfield org.eclipse.jetty.util.resource.JarFileResource._exists:Z
3: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
4: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
5: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._file:Ljava/io/File;
6: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.getUseCaches:()Z
ifne 14
7: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
ifnull 14
8: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 10
9: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/slf4j/Logger;
ldc "Closing JarFile {}"
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
invokevirtual java.util.jar.JarFile.getName:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
10: StackMap locals: java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
invokevirtual java.util.jar.JarFile.close:()V
11: goto 14
12: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 13: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 4
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 14: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
15: aload 0
invokespecial org.eclipse.jetty.util.resource.JarResource.close:()V
16: aload 3
ifnull 22
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 1
aload 3
ifnull 18
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
18: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 2
aload 1
ifnonnull 20
aload 2
astore 1
goto 21
StackMap locals:
StackMap stack:
20: aload 1
aload 2
if_acmpeq 21
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 1
athrow
22: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
2 18 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
13 14 4 ioe Ljava/io/IOException;
Exception table:
from to target type
8 11 12 Class java.io.IOException
2 16 17 any
1 19 19 any
protected boolean checkConnection();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: aload 0
invokespecial org.eclipse.jetty.util.resource.JarResource.checkConnection:()Z
pop
3: goto 11
4: StackMap locals: org.eclipse.jetty.util.resource.JarFileResource java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack: java.lang.Throwable
astore 4
5: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarConnection:Ljava/net/JarURLConnection;
ifnonnull 10
6: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
7: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._file:Ljava/io/File;
8: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
9: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
10: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarConnection:Ljava/net/JarURLConnection;
ifnonnull 16
12: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
13: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._file:Ljava/io/File;
14: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
15: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
16: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
ifnull 17
iconst_1
goto 18
StackMap locals:
StackMap stack:
17: iconst_0
18: StackMap locals:
StackMap stack: int
aload 3
ifnull 19
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
19: StackMap locals:
StackMap stack: int
ireturn
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 1
21: aload 3
ifnull 22
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
22: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 2
aload 1
ifnonnull 24
aload 2
astore 1
goto 25
StackMap locals:
StackMap stack:
24: aload 1
aload 2
if_acmpeq 25
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
25: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
2 22 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
Exception table:
from to target type
2 4 4 any
2 18 20 any
1 19 23 any
20 23 23 any
protected void newConnection();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: aload 0
invokespecial org.eclipse.jetty.util.resource.JarResource.newConnection:()V
3: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
4: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._file:Ljava/io/File;
5: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
6: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
7: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._urlString:Ljava/lang/String;
ldc "!/"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 4
start local 4 8: aload 0
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._urlString:Ljava/lang/String;
iconst_0
iload 4
iconst_2
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield org.eclipse.jetty.util.resource.JarFileResource._jarUrl:Ljava/lang/String;
9: aload 0
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._urlString:Ljava/lang/String;
iload 4
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic org.eclipse.jetty.util.URIUtil.decodePath:(Ljava/lang/String;)Ljava/lang/String;
putfield org.eclipse.jetty.util.resource.JarFileResource._path:Ljava/lang/String;
10: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._path:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 12
11: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._path:Ljava/lang/String;
12: StackMap locals: org.eclipse.jetty.util.resource.JarFileResource java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock int
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarConnection:Ljava/net/JarURLConnection;
invokevirtual java.net.JarURLConnection.getJarFile:()Ljava/util/jar/JarFile;
putfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
13: aload 0
new java.io.File
dup
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
invokevirtual java.util.jar.JarFile.getName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
putfield org.eclipse.jetty.util.resource.JarFileResource._file:Ljava/io/File;
end local 4 14: aload 3
ifnull 20
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
goto 20
StackMap locals: org.eclipse.jetty.util.resource.JarFileResource java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock
StackMap stack: java.lang.Throwable
15: astore 1
aload 3
ifnull 16
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
16: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 2
aload 1
ifnonnull 18
aload 2
astore 1
goto 19
StackMap locals:
StackMap stack:
18: aload 1
aload 2
if_acmpeq 19
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 1
athrow
20: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
2 16 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
8 14 4 sep I
Exception table:
from to target type
2 14 15 any
1 17 17 any
Exceptions:
throws java.io.IOException
public boolean exists();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._exists:Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._urlString:Ljava/lang/String;
ldc "!/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 9
3: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._urlString:Ljava/lang/String;
iconst_4
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._urlString:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_2
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
start local 1 4: aload 0
aload 1
invokestatic org.eclipse.jetty.util.resource.JarFileResource.newResource:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
invokevirtual org.eclipse.jetty.util.resource.Resource.exists:()Z
dup_x1
putfield org.eclipse.jetty.util.resource.JarFileResource._directory:Z
5: ireturn
6: StackMap locals: org.eclipse.jetty.util.resource.JarFileResource java.lang.String
StackMap stack: java.lang.Exception
astore 2
start local 2 7: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 2
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
8: iconst_0
ireturn
end local 2 end local 1 9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.checkConnection:()Z
istore 1
start local 1 10: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarUrl:Ljava/lang/String;
ifnull 13
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._path:Ljava/lang/String;
ifnonnull 13
11: aload 0
iload 1
putfield org.eclipse.jetty.util.resource.JarFileResource._directory:Z
12: iconst_1
ireturn
13: StackMap locals: int
StackMap stack:
iconst_0
istore 2
start local 2 14: aconst_null
astore 3
start local 3 15: iload 1
ifeq 17
16: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
astore 3
goto 26
17: StackMap locals: int java.util.jar.JarFile
StackMap stack:
new java.net.URL
dup
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarUrl:Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
checkcast java.net.JarURLConnection
astore 4
start local 4 18: aload 4
aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.getUseCaches:()Z
invokevirtual java.net.JarURLConnection.setUseCaches:(Z)V
19: aload 4
invokevirtual java.net.JarURLConnection.getJarFile:()Ljava/util/jar/JarFile;
astore 3
20: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.getUseCaches:()Z
ifeq 21
iconst_0
goto 22
StackMap locals: java.net.JarURLConnection
StackMap stack:
21: iconst_1
StackMap locals:
StackMap stack: int
22: istore 2
end local 4 23: goto 26
24: StackMap locals: org.eclipse.jetty.util.resource.JarFileResource int int java.util.jar.JarFile
StackMap stack: java.lang.Exception
astore 4
start local 4 25: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 4
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 26: StackMap locals:
StackMap stack:
aload 3
ifnull 42
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
ifnonnull 42
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._directory:Z
ifne 42
27: aload 3
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._path:Ljava/lang/String;
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 4
start local 4 28: aload 4
ifnonnull 31
29: aload 0
iconst_0
putfield org.eclipse.jetty.util.resource.JarFileResource._exists:Z
30: goto 42
31: StackMap locals: java.util.jar.JarEntry
StackMap stack:
aload 4
invokevirtual java.util.jar.JarEntry.isDirectory:()Z
ifeq 35
32: aload 0
iconst_1
putfield org.eclipse.jetty.util.resource.JarFileResource._directory:Z
33: aload 0
aload 4
putfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
34: goto 42
35: StackMap locals:
StackMap stack:
aload 3
new java.lang.StringBuilder
dup
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._path:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 5
start local 5 36: aload 5
ifnull 40
37: aload 0
iconst_1
putfield org.eclipse.jetty.util.resource.JarFileResource._directory:Z
38: aload 0
aload 5
putfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
39: goto 42
40: StackMap locals: java.util.jar.JarEntry
StackMap stack:
aload 0
iconst_0
putfield org.eclipse.jetty.util.resource.JarFileResource._directory:Z
41: aload 0
aload 4
putfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
end local 5 end local 4 42: StackMap locals:
StackMap stack:
iload 2
ifeq 47
aload 3
ifnull 47
43: aload 3
invokevirtual java.util.jar.JarFile.close:()V
44: goto 47
45: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 46: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 4
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 end local 3 end local 2 47: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._directory:Z
ifne 48
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
ifnonnull 48
iconst_0
goto 49
StackMap locals:
StackMap stack: org.eclipse.jetty.util.resource.JarFileResource
48: iconst_1
StackMap locals: org.eclipse.jetty.util.resource.JarFileResource int
StackMap stack: org.eclipse.jetty.util.resource.JarFileResource int
49: putfield org.eclipse.jetty.util.resource.JarFileResource._exists:Z
50: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._exists:Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
4 9 1 fileUrl Ljava/lang/String;
7 9 2 e Ljava/lang/Exception;
10 51 1 check Z
14 47 2 closeJarFile Z
15 47 3 jarFile Ljava/util/jar/JarFile;
18 23 4 c Ljava/net/JarURLConnection;
25 26 4 e Ljava/lang/Exception;
28 42 4 entry Ljava/util/jar/JarEntry;
36 42 5 directory Ljava/util/jar/JarEntry;
46 47 4 ioe Ljava/io/IOException;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
17 23 24 Class java.lang.Exception
43 44 45 Class java.io.IOException
public boolean isDirectory();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.exists:()Z
ifeq 1
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._directory:Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
public long lastModified();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.checkConnection:()Z
ifeq 4
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._file:Ljava/io/File;
ifnull 4
1: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.exists:()Z
ifeq 3
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
ifnull 3
2: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
invokevirtual java.util.jar.JarEntry.getTime:()J
lreturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._file:Ljava/io/File;
invokevirtual java.io.File.lastModified:()J
lreturn
4: StackMap locals:
StackMap stack:
ldc -1
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
public java.lang.String[] list();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._lock:Lorg/eclipse/jetty/util/thread/AutoLock;
invokevirtual org.eclipse.jetty.util.thread.AutoLock.lock:()Lorg/eclipse/jetty/util/thread/AutoLock;
astore 3
start local 3 2: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.isDirectory:()Z
ifeq 15
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
ifnonnull 15
3: aconst_null
astore 4
start local 4 4: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.listEntries:()Ljava/util/List;
astore 4
5: goto 12
6: StackMap locals: org.eclipse.jetty.util.resource.JarFileResource java.lang.Throwable java.lang.Throwable org.eclipse.jetty.util.thread.AutoLock java.util.List
StackMap stack: java.lang.Exception
astore 5
start local 5 7: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 9
8: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/slf4j/Logger;
ldc "JarFile list failure"
aload 5
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
goto 10
9: StackMap locals: java.lang.Exception
StackMap stack:
getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/slf4j/Logger;
ldc "JarFile list failure {}"
aload 5
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.close:()V
11: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.listEntries:()Ljava/util/List;
astore 4
end local 5 12: StackMap locals:
StackMap stack:
aload 4
ifnull 15
13: aload 0
aload 4
invokeinterface java.util.List.size:()I
anewarray java.lang.String
putfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
14: aload 4
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
end local 4 15: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
16: aload 3
ifnull 17
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
17: StackMap locals:
StackMap stack: java.lang.String[]
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 1
19: aload 3
ifnull 20
aload 3
invokevirtual org.eclipse.jetty.util.thread.AutoLock.close:()V
end local 3 StackMap locals:
StackMap stack:
20: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
21: astore 2
aload 1
ifnonnull 22
aload 2
astore 1
goto 23
StackMap locals:
StackMap stack:
22: aload 1
aload 2
if_acmpeq 23
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
23: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
2 20 3 l Lorg/eclipse/jetty/util/thread/AutoLock;
4 15 4 list Ljava/util/List<Ljava/lang/String;>;
7 12 5 e Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
2 16 18 any
1 17 21 any
18 21 21 any
private java.util.List<java.lang.String> listEntries();
descriptor: ()Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.checkConnection:()Z
pop
1: new java.util.ArrayList
dup
bipush 32
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 2: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
astore 2
start local 2 3: aload 2
ifnonnull 13
4: new java.net.URL
dup
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarUrl:Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
checkcast java.net.JarURLConnection
astore 3
start local 3 5: aload 3
aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.getUseCaches:()Z
invokevirtual java.net.JarURLConnection.setUseCaches:(Z)V
6: aload 3
invokevirtual java.net.JarURLConnection.getJarFile:()Ljava/util/jar/JarFile;
astore 2
end local 3 7: goto 11
8: StackMap locals: org.eclipse.jetty.util.resource.JarFileResource java.util.ArrayList java.util.jar.JarFile
StackMap stack: java.lang.Exception
astore 3
start local 3 9: aload 3
invokevirtual java.lang.Exception.printStackTrace:()V
10: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/slf4j/Logger;
ldc "IGNORED"
aload 3
invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 11: StackMap locals:
StackMap stack:
aload 2
ifnonnull 13
12: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.jar.JarFile.entries:()Ljava/util/Enumeration;
astore 3
start local 3 14: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._urlString:Ljava/lang/String;
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._urlString:Ljava/lang/String;
ldc "!/"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 15: aload 4
invokestatic org.eclipse.jetty.util.URIUtil.decodePath:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 16: goto 32
17: StackMap locals: java.util.Enumeration java.lang.String java.lang.String
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.jar.JarEntry
astore 6
start local 6 18: aload 6
invokevirtual java.util.jar.JarEntry.getName:()Ljava/lang/String;
astore 7
start local 7 19: aload 7
aload 5
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 32
aload 7
invokevirtual java.lang.String.length:()I
aload 5
invokevirtual java.lang.String.length:()I
if_icmpne 21
20: goto 32
21: StackMap locals: java.util.jar.JarEntry java.lang.String
StackMap stack:
aload 7
aload 5
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 8
start local 8 22: aload 8
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 9
start local 9 23: iload 9
iflt 31
24: iload 9
ifne 26
aload 8
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpne 26
25: goto 32
26: StackMap locals: java.lang.String int
StackMap stack:
iload 9
ifne 28
27: aload 8
iload 9
iconst_1
iadd
aload 8
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
goto 29
28: StackMap locals:
StackMap stack:
aload 8
iconst_0
iload 9
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
29: StackMap locals:
StackMap stack:
aload 1
aload 8
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifeq 31
30: goto 32
31: StackMap locals:
StackMap stack:
aload 1
aload 8
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 8 end local 7 end local 6 32: StackMap locals: org.eclipse.jetty.util.resource.JarFileResource java.util.ArrayList java.util.jar.JarFile java.util.Enumeration java.lang.String java.lang.String
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 17
33: aload 1
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
2 34 1 list Ljava/util/ArrayList<Ljava/lang/String;>;
3 34 2 jarFile Ljava/util/jar/JarFile;
5 7 3 jc Ljava/net/JarURLConnection;
9 11 3 e Ljava/lang/Exception;
14 34 3 e Ljava/util/Enumeration<Ljava/util/jar/JarEntry;>;
15 34 4 encodedDir Ljava/lang/String;
16 34 5 dir Ljava/lang/String;
18 32 6 entry Ljava/util/jar/JarEntry;
19 32 7 name Ljava/lang/String;
22 32 8 listName Ljava/lang/String;
23 32 9 dash I
Exception table:
from to target type
4 7 8 Class java.lang.Exception
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public long length();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.isDirectory:()Z
ifeq 2
1: ldc -1
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
ifnull 4
3: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
invokevirtual java.util.jar.JarEntry.getSize:()J
lreturn
4: StackMap locals:
StackMap stack:
ldc -1
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
public boolean isContainedIn(org.eclipse.jetty.util.resource.Resource);
descriptor: (Lorg/eclipse/jetty/util/resource/Resource;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._urlString:Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "!/"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 3
start local 3 2: iload 3
ifle 4
3: aload 2
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 2
ldc "jar:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
5: aload 2
iconst_4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
6: StackMap locals:
StackMap stack:
new java.net.URL
dup
aload 2
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 4
start local 4 7: aload 4
aload 1
invokevirtual org.eclipse.jetty.util.resource.Resource.getURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
invokevirtual java.net.URL.sameFile:(Ljava/net/URL;)Z
ireturn
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 Lorg/eclipse/jetty/util/resource/JarFileResource;
0 8 1 resource Lorg/eclipse/jetty/util/resource/Resource;
1 8 2 string Ljava/lang/String;
2 8 3 index I
7 8 4 url Ljava/net/URL;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
resource
public java.io.File getJarFile();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._file:Ljava/io/File;
ifnull 2
1: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._file:Ljava/io/File;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
}
SourceFile: "JarFileResource.java"