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.eclipse.jetty.util.log.Logger LOG;
descriptor: Lorg/eclipse/jetty/util/log/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.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
putstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/eclipse/jetty/util/log/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 synchronized void close();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.eclipse.jetty.util.resource.JarFileResource._exists:Z
1: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
2: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
3: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._file:Ljava/io/File;
4: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.getUseCaches:()Z
ifne 12
5: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
ifnull 12
6: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/eclipse/jetty/util/log/Logger;
invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
ifeq 8
7: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/eclipse/jetty/util/log/Logger;
new java.lang.StringBuilder
dup
ldc "Closing JarFile "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
invokevirtual java.util.jar.JarFile.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
invokevirtual java.util.jar.JarFile.close:()V
9: goto 12
10: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 11: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 1
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(Ljava/lang/Throwable;)V
end local 1 12: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
13: aload 0
invokespecial org.eclipse.jetty.util.resource.JarResource.close:()V
14: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
11 12 1 ioe Ljava/io/IOException;
Exception table:
from to target type
6 9 10 Class java.io.IOException
protected synchronized boolean checkConnection();
descriptor: ()Z
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.util.resource.JarResource.checkConnection:()Z
pop
1: goto 9
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
3: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarConnection:Ljava/net/JarURLConnection;
ifnonnull 8
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
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
7: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
8: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
athrow
9: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarConnection:Ljava/net/JarURLConnection;
ifnonnull 14
10: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
11: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._file:Ljava/io/File;
12: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
13: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
14: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
ifnull 15
iconst_1
ireturn
StackMap locals:
StackMap stack:
15: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
Exception table:
from to target type
0 2 2 any
protected synchronized void newConnection();
descriptor: ()V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.jetty.util.resource.JarResource.newConnection:()V
1: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._entry:Ljava/util/jar/JarEntry;
2: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._file:Ljava/io/File;
3: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._jarFile:Ljava/util/jar/JarFile;
4: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
5: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._urlString:Ljava/lang/String;
ldc "!/"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 1
start local 1 6: aload 0
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._urlString:Ljava/lang/String;
iconst_0
iload 1
iconst_2
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield org.eclipse.jetty.util.resource.JarFileResource._jarUrl:Ljava/lang/String;
7: aload 0
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._urlString:Ljava/lang/String;
iload 1
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;
8: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._path:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 10
9: aload 0
aconst_null
putfield org.eclipse.jetty.util.resource.JarFileResource._path:Ljava/lang/String;
10: StackMap locals: 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;
11: 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;
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
6 13 1 sep I
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 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
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/eclipse/jetty/util/log/Logger;
aload 2
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(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/eclipse/jetty/util/log/Logger;
aload 4
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(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/eclipse/jetty/util/log/Logger;
aload 4
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(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=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._urlString:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 2
aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.exists:()Z
ifeq 1
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._directory:Z
ifne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 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 synchronized java.lang.String[] list();
descriptor: ()[Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.isDirectory:()Z
ifeq 12
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
ifnonnull 12
1: aconst_null
astore 1
start local 1 2: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.listEntries:()Ljava/util/List;
astore 1
3: goto 9
4: StackMap locals: org.eclipse.jetty.util.resource.JarFileResource java.util.List
StackMap stack: java.lang.Exception
astore 2
start local 2 5: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/eclipse/jetty/util/log/Logger;
new java.lang.StringBuilder
dup
ldc "Retrying list:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokeinterface org.eclipse.jetty.util.log.Logger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
6: getstatic org.eclipse.jetty.util.resource.JarFileResource.LOG:Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/Throwable;)V
7: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.close:()V
8: aload 0
invokevirtual org.eclipse.jetty.util.resource.JarFileResource.listEntries:()Ljava/util/List;
astore 1
end local 2 9: StackMap locals:
StackMap stack:
aload 1
ifnull 12
10: aload 0
aload 1
invokeinterface java.util.List.size:()I
anewarray java.lang.String
putfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
11: aload 1
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 1 12: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.resource.JarFileResource._list:[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
2 12 1 list Ljava/util/List<Ljava/lang/String;>;
5 9 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
private java.util.List<java.lang.String> listEntries();
descriptor: ()Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, 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/eclipse/jetty/util/log/Logger;
aload 3
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(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: goto 31
16: StackMap locals: java.util.Enumeration java.lang.String
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.jar.JarEntry
astore 5
start local 5 17: aload 5
invokevirtual java.util.jar.JarEntry.getName:()Ljava/lang/String;
bipush 92
bipush 47
invokestatic org.eclipse.jetty.util.StringUtil.replace:(Ljava/lang/String;CC)Ljava/lang/String;
astore 6
start local 6 18: aload 6
aload 4
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 31
aload 6
invokevirtual java.lang.String.length:()I
aload 4
invokevirtual java.lang.String.length:()I
if_icmpne 20
19: goto 31
20: StackMap locals: java.util.jar.JarEntry java.lang.String
StackMap stack:
aload 6
aload 4
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 7
start local 7 21: aload 7
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 8
start local 8 22: iload 8
iflt 30
23: iload 8
ifne 25
aload 7
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpne 25
24: goto 31
25: StackMap locals: java.lang.String int
StackMap stack:
iload 8
ifne 27
26: aload 7
iload 8
iconst_1
iadd
aload 7
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
goto 28
27: StackMap locals:
StackMap stack:
aload 7
iconst_0
iload 8
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
28: StackMap locals:
StackMap stack:
aload 1
aload 7
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifeq 30
29: goto 31
30: StackMap locals:
StackMap stack:
aload 1
aload 7
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 end local 6 end local 5 31: StackMap locals: org.eclipse.jetty.util.resource.JarFileResource java.util.ArrayList java.util.jar.JarFile java.util.Enumeration java.lang.String
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 16
32: aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/eclipse/jetty/util/resource/JarFileResource;
2 33 1 list Ljava/util/ArrayList<Ljava/lang/String;>;
3 33 2 jarFile Ljava/util/jar/JarFile;
5 7 3 jc Ljava/net/JarURLConnection;
9 11 3 e Ljava/lang/Exception;
14 33 3 e Ljava/util/Enumeration<Ljava/util/jar/JarEntry;>;
15 33 4 dir Ljava/lang/String;
17 31 5 entry Ljava/util/jar/JarEntry;
18 31 6 name Ljava/lang/String;
21 31 7 listName Ljava/lang/String;
22 31 8 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
}
SourceFile: "JarFileResource.java"