public abstract class org.apache.catalina.webresources.AbstractArchiveResourceSet extends org.apache.catalina.webresources.AbstractResourceSet
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.catalina.webresources.AbstractArchiveResourceSet
super_class: org.apache.catalina.webresources.AbstractResourceSet
{
private java.net.URL baseUrl;
descriptor: Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
private java.lang.String baseUrlString;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.jar.JarFile archive;
descriptor: Ljava/util/jar/JarFile;
flags: (0x0002) ACC_PRIVATE
protected java.util.Map<java.lang.String, java.util.jar.JarEntry> archiveEntries;
descriptor: Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/jar/JarEntry;>;
protected final java.lang.Object archiveLock;
descriptor: Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private long archiveUseCount;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private org.apache.catalina.webresources.JarContents jarContents;
descriptor: Lorg/apache/catalina/webresources/JarContents;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.webresources.AbstractResourceSet.<init>:()V
1: aload 0
aconst_null
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archive:Ljava/util/jar/JarFile;
2: aload 0
aconst_null
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archiveEntries:Ljava/util/Map;
3: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archiveLock:Ljava/lang/Object;
4: aload 0
lconst_0
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archiveUseCount:J
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
protected final void setBaseUrl(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.baseUrl:Ljava/net/URL;
1: aload 1
ifnonnull 4
2: aload 0
aconst_null
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.baseUrlString:Ljava/lang/String;
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.net.URL.toString:()Ljava/lang/String;
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.baseUrlString:Ljava/lang/String;
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
0 6 1 baseUrl Ljava/net/URL;
MethodParameters:
Name Flags
baseUrl
public final java.net.URL getBaseUrl();
descriptor: ()Ljava/net/URL;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.baseUrl:Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
protected final java.lang.String getBaseUrlString();
descriptor: ()Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.baseUrlString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
public final java.lang.String[] list(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.checkPath:(Ljava/lang/String;)V
1: aload 0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getWebAppMount:()Ljava/lang/String;
astore 2
start local 2 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: aload 1
aload 2
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 26
4: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getInternalPath:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
aload 2
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: astore 4
start local 4 6: aload 4
invokevirtual java.lang.String.length:()I
ifle 8
aload 4
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 8
7: aload 4
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
8: StackMap locals: java.lang.String java.util.ArrayList java.lang.String
StackMap stack:
aload 0
iconst_0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getArchiveEntries:(Z)Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 24
StackMap locals: org.apache.catalina.webresources.AbstractArchiveResourceSet java.lang.String java.lang.String java.util.ArrayList java.lang.String top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 10: aload 5
invokevirtual java.lang.String.length:()I
aload 4
invokevirtual java.lang.String.length:()I
if_icmple 24
11: aload 5
aload 4
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 24
12: aload 5
aload 5
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 17
13: aload 5
14: aload 4
invokevirtual java.lang.String.length:()I
aload 5
invokevirtual java.lang.String.length:()I
iconst_1
isub
15: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
16: goto 18
17: StackMap locals: org.apache.catalina.webresources.AbstractArchiveResourceSet java.lang.String java.lang.String java.util.ArrayList java.lang.String java.lang.String java.util.Iterator
StackMap stack:
aload 5
aload 4
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
18: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.String.length:()I
ifne 20
19: goto 24
20: StackMap locals:
StackMap stack:
aload 5
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 22
21: aload 5
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
22: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.String.length:()I
ifle 24
aload 5
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_m1
if_icmpne 24
23: aload 3
aload 5
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 5 24: StackMap locals: org.apache.catalina.webresources.AbstractArchiveResourceSet java.lang.String java.lang.String java.util.ArrayList java.lang.String top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 4 25: goto 35
26: StackMap locals: org.apache.catalina.webresources.AbstractArchiveResourceSet java.lang.String java.lang.String java.util.ArrayList
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 28
27: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
28: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 35
29: aload 2
bipush 47
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.indexOf:(II)I
istore 4
start local 4 30: iload 4
iconst_m1
if_icmpne 32
31: iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aastore
areturn
32: StackMap locals: int
StackMap stack:
iconst_1
anewarray java.lang.String
dup
iconst_0
33: aload 2
aload 1
invokevirtual java.lang.String.length:()I
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
aastore
34: areturn
end local 4 35: StackMap locals:
StackMap stack:
aload 3
iconst_0
anewarray java.lang.String
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
0 36 1 path Ljava/lang/String;
2 36 2 webAppMount Ljava/lang/String;
3 36 3 result Ljava/util/ArrayList<Ljava/lang/String;>;
6 25 4 pathInJar Ljava/lang/String;
10 24 5 name Ljava/lang/String;
30 35 4 i I
MethodParameters:
Name Flags
path
public final java.util.Set<java.lang.String> listWebAppPaths(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.checkPath:(Ljava/lang/String;)V
1: aload 0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getWebAppMount:()Ljava/lang/String;
astore 2
start local 2 2: new org.apache.catalina.util.ResourceSet
dup
invokespecial org.apache.catalina.util.ResourceSet.<init>:()V
astore 3
start local 3 3: aload 1
aload 2
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
4: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getInternalPath:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
aload 2
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: astore 4
start local 4 6: aload 4
invokevirtual java.lang.String.length:()I
ifle 11
7: aload 4
aload 4
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpeq 9
8: new java.lang.StringBuilder
dup
aload 4
iconst_1
invokevirtual java.lang.String.substring:(I)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;
astore 4
9: StackMap locals: java.lang.String org.apache.catalina.util.ResourceSet java.lang.String
StackMap stack:
aload 4
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 11
10: aload 4
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
11: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getArchiveEntries:(Z)Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 18
StackMap locals: org.apache.catalina.webresources.AbstractArchiveResourceSet java.lang.String java.lang.String org.apache.catalina.util.ResourceSet java.lang.String top java.util.Iterator
StackMap stack:
12: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 13: aload 5
invokevirtual java.lang.String.length:()I
aload 4
invokevirtual java.lang.String.length:()I
if_icmple 18
aload 5
aload 4
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 18
14: aload 5
bipush 47
aload 4
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.indexOf:(II)I
istore 7
start local 7 15: iload 7
iconst_m1
if_icmpeq 17
iload 7
aload 5
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpeq 17
16: aload 5
iconst_0
iload 7
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
17: StackMap locals: org.apache.catalina.webresources.AbstractArchiveResourceSet java.lang.String java.lang.String org.apache.catalina.util.ResourceSet java.lang.String java.lang.String java.util.Iterator int
StackMap stack:
aload 3
new java.lang.StringBuilder
dup
aload 2
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;
aload 5
aload 0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getInternalPath:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.util.ResourceSet.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 5 18: StackMap locals: org.apache.catalina.webresources.AbstractArchiveResourceSet java.lang.String java.lang.String org.apache.catalina.util.ResourceSet java.lang.String top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
end local 4 19: goto 28
20: StackMap locals: org.apache.catalina.webresources.AbstractArchiveResourceSet java.lang.String java.lang.String org.apache.catalina.util.ResourceSet
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 22
21: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
22: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 28
23: aload 2
bipush 47
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.indexOf:(II)I
istore 4
start local 4 24: iload 4
iconst_m1
if_icmpne 27
25: aload 3
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.util.ResourceSet.add:(Ljava/lang/Object;)Z
pop
26: goto 28
27: StackMap locals: int
StackMap stack:
aload 3
aload 2
iconst_0
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual org.apache.catalina.util.ResourceSet.add:(Ljava/lang/Object;)Z
pop
end local 4 28: StackMap locals:
StackMap stack:
aload 3
iconst_1
invokevirtual org.apache.catalina.util.ResourceSet.setLocked:(Z)V
29: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
0 30 1 path Ljava/lang/String;
2 30 2 webAppMount Ljava/lang/String;
3 30 3 result Lorg/apache/catalina/util/ResourceSet<Ljava/lang/String;>;
6 19 4 pathInJar Ljava/lang/String;
13 18 5 name Ljava/lang/String;
15 18 7 nextSlash I
24 28 4 i I
Signature: (Ljava/lang/String;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
path
protected abstract java.util.Map<java.lang.String, java.util.jar.JarEntry> getArchiveEntries(boolean);
descriptor: (Z)Ljava/util/Map;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (Z)Ljava/util/Map<Ljava/lang/String;Ljava/util/jar/JarEntry;>;
MethodParameters:
Name Flags
single
protected abstract java.util.jar.JarEntry getArchiveEntry(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/jar/JarEntry;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
pathInArchive
public final boolean mkdir(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.checkPath:(Ljava/lang/String;)V
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
0 2 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public final boolean write(java.lang.String, java.io.InputStream, boolean);
descriptor: (Ljava/lang/String;Ljava/io/InputStream;Z)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.checkPath:(Ljava/lang/String;)V
1: aload 2
ifnonnull 5
2: new java.lang.NullPointerException
dup
3: getstatic org.apache.catalina.webresources.AbstractArchiveResourceSet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "dirResourceSet.writeNpe"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
4: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
0 6 1 path Ljava/lang/String;
0 6 2 is Ljava/io/InputStream;
0 6 3 overwrite Z
MethodParameters:
Name Flags
path
is
overwrite
public final org.apache.catalina.WebResource getResource(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/catalina/WebResource;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.checkPath:(Ljava/lang/String;)V
1: aload 0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getWebAppMount:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getRoot:()Lorg/apache/catalina/WebResourceRoot;
astore 3
start local 3 3: aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.jarContents:Lorg/apache/catalina/webresources/JarContents;
ifnull 5
aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.jarContents:Lorg/apache/catalina/webresources/JarContents;
aload 1
aload 2
invokevirtual org.apache.catalina.webresources.JarContents.mightContainResource:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 5
4: new org.apache.catalina.webresources.EmptyResource
dup
aload 3
aload 1
invokespecial org.apache.catalina.webresources.EmptyResource.<init>:(Lorg/apache/catalina/WebResourceRoot;Ljava/lang/String;)V
areturn
5: StackMap locals: java.lang.String org.apache.catalina.WebResourceRoot
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 37
6: new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getInternalPath:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
7: aload 2
invokevirtual java.lang.String.length:()I
aload 1
invokevirtual java.lang.String.length:()I
8: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 9: aload 4
invokevirtual java.lang.String.length:()I
ifle 11
aload 4
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 11
10: aload 4
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
11: StackMap locals: java.lang.String
StackMap stack:
aload 4
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
12: aload 1
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 14
13: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
14: StackMap locals:
StackMap stack:
new org.apache.catalina.webresources.JarResourceRoot
dup
aload 3
new java.io.File
dup
aload 0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getBase:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
15: aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.baseUrlString:Ljava/lang/String;
aload 1
16: invokespecial org.apache.catalina.webresources.JarResourceRoot.<init>:(Lorg/apache/catalina/WebResourceRoot;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)V
areturn
17: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 18: aload 0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.isMultiRelease:()Z
ifeq 21
19: aload 0
aload 4
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getArchiveEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 5
20: goto 34
21: StackMap locals: java.util.jar.JarEntry
StackMap stack:
aload 0
iconst_1
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getArchiveEntries:(Z)Ljava/util/Map;
astore 6
start local 6 22: aload 4
aload 4
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpeq 29
23: aload 6
ifnonnull 26
24: aload 0
new java.lang.StringBuilder
dup
aload 4
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 org.apache.catalina.webresources.AbstractArchiveResourceSet.getArchiveEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 5
25: goto 27
26: StackMap locals: java.util.Map
StackMap stack:
aload 6
new java.lang.StringBuilder
dup
aload 4
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;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.jar.JarEntry
astore 5
27: StackMap locals:
StackMap stack:
aload 5
ifnull 29
28: new java.lang.StringBuilder
dup
aload 1
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;
astore 1
29: StackMap locals:
StackMap stack:
aload 5
ifnonnull 34
30: aload 6
ifnonnull 33
31: aload 0
aload 4
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getArchiveEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 5
32: goto 34
33: StackMap locals:
StackMap stack:
aload 6
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.jar.JarEntry
astore 5
end local 6 34: StackMap locals:
StackMap stack:
aload 5
ifnonnull 36
35: new org.apache.catalina.webresources.EmptyResource
dup
aload 3
aload 1
invokespecial org.apache.catalina.webresources.EmptyResource.<init>:(Lorg/apache/catalina/WebResourceRoot;Ljava/lang/String;)V
areturn
36: StackMap locals:
StackMap stack:
aload 0
aload 5
aload 1
aload 0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getManifest:()Ljava/util/jar/Manifest;
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.createArchiveResource:(Ljava/util/jar/JarEntry;Ljava/lang/String;Ljava/util/jar/Manifest;)Lorg/apache/catalina/WebResource;
areturn
end local 5 end local 4 37: StackMap locals:
StackMap stack:
new org.apache.catalina.webresources.EmptyResource
dup
aload 3
aload 1
invokespecial org.apache.catalina.webresources.EmptyResource.<init>:(Lorg/apache/catalina/WebResourceRoot;Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
0 38 1 path Ljava/lang/String;
2 38 2 webAppMount Ljava/lang/String;
3 38 3 root Lorg/apache/catalina/WebResourceRoot;
9 37 4 pathInJar Ljava/lang/String;
18 37 5 jarEntry Ljava/util/jar/JarEntry;
22 34 6 jarEntries Ljava/util/Map<Ljava/lang/String;Ljava/util/jar/JarEntry;>;
MethodParameters:
Name Flags
path
protected abstract boolean isMultiRelease();
descriptor: ()Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract org.apache.catalina.WebResource createArchiveResource(java.util.jar.JarEntry, java.lang.String, java.util.jar.Manifest);
descriptor: (Ljava/util/jar/JarEntry;Ljava/lang/String;Ljava/util/jar/Manifest;)Lorg/apache/catalina/WebResource;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
jarEntry
webAppPath
manifest
public final boolean isReadOnly();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
public void setReadOnly(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
3: getstatic org.apache.catalina.webresources.AbstractArchiveResourceSet.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "abstractArchiveResourceSet.setReadOnlyFalse"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
0 5 1 readOnly Z
MethodParameters:
Name Flags
readOnly
protected java.util.jar.JarFile openJarFile();
descriptor: ()Ljava/util/jar/JarFile;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archiveLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archive:Ljava/util/jar/JarFile;
ifnonnull 6
2: aload 0
invokestatic org.apache.tomcat.util.compat.JreCompat.getInstance:()Lorg/apache/tomcat/util/compat/JreCompat;
aload 0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getBase:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance:(Ljava/lang/String;)Ljava/util/jar/JarFile;
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archive:Ljava/util/jar/JarFile;
3: aload 0
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.getRoot:()Lorg/apache/catalina/WebResourceRoot;
astore 2
start local 2 4: aload 2
invokeinterface org.apache.catalina.WebResourceRoot.getContext:()Lorg/apache/catalina/Context;
ifnull 6
aload 2
invokeinterface org.apache.catalina.WebResourceRoot.getContext:()Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getUseBloomFilterForArchives:()Z
ifeq 6
5: aload 0
new org.apache.catalina.webresources.JarContents
dup
aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archive:Ljava/util/jar/JarFile;
invokespecial org.apache.catalina.webresources.JarContents.<init>:(Ljava/util/jar/JarFile;)V
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.jarContents:Lorg/apache/catalina/webresources/JarContents;
end local 2 6: StackMap locals: java.lang.Object
StackMap stack:
aload 0
dup
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archiveUseCount:J
lconst_1
ladd
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archiveUseCount:J
7: aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archive:Ljava/util/jar/JarFile;
aload 1
monitorexit
8: areturn
9: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
10: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
4 6 2 root Lorg/apache/catalina/WebResourceRoot;
Exception table:
from to target type
1 8 9 any
9 10 9 any
Exceptions:
throws java.io.IOException
protected void closeJarFile();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archiveLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
dup
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archiveUseCount:J
lconst_1
lsub
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archiveUseCount:J
2: aload 1
monitorexit
3: goto 6
StackMap locals: org.apache.catalina.webresources.AbstractArchiveResourceSet java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public void gc();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archiveLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archive:Ljava/util/jar/JarFile;
ifnull 8
aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archiveUseCount:J
lconst_0
lcmp
ifne 8
2: aload 0
getfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archive:Ljava/util/jar/JarFile;
invokevirtual java.util.jar.JarFile.close:()V
3: goto 5
StackMap locals: org.apache.catalina.webresources.AbstractArchiveResourceSet java.lang.Object
StackMap stack: java.io.IOException
4: pop
5: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archive:Ljava/util/jar/JarFile;
6: aload 0
aconst_null
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.archiveEntries:Ljava/util/Map;
7: aload 0
aconst_null
putfield org.apache.catalina.webresources.AbstractArchiveResourceSet.jarContents:Lorg/apache/catalina/webresources/JarContents;
8: StackMap locals:
StackMap stack:
aload 1
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 1
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
Exception table:
from to target type
2 3 4 Class java.io.IOException
1 9 10 any
10 11 10 any
}
SourceFile: "AbstractArchiveResourceSet.java"