public abstract class org.apache.catalina.webresources.AbstractSingleArchiveResourceSet extends org.apache.catalina.webresources.AbstractArchiveResourceSet
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.catalina.webresources.AbstractSingleArchiveResourceSet
super_class: org.apache.catalina.webresources.AbstractArchiveResourceSet
{
private volatile java.lang.Boolean multiRelease;
descriptor: Ljava/lang/Boolean;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.webresources.AbstractArchiveResourceSet.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/webresources/AbstractSingleArchiveResourceSet;
public void <init>(org.apache.catalina.WebResourceRoot, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Lorg/apache/catalina/WebResourceRoot;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial org.apache.catalina.webresources.AbstractArchiveResourceSet.<init>:()V
1: aload 0
aload 1
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.setRoot:(Lorg/apache/catalina/WebResourceRoot;)V
2: aload 0
aload 2
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.setWebAppMount:(Ljava/lang/String;)V
3: aload 0
aload 3
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.setBase:(Ljava/lang/String;)V
4: aload 0
aload 4
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.setInternalPath:(Ljava/lang/String;)V
5: aload 0
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.getRoot:()Lorg/apache/catalina/WebResourceRoot;
invokeinterface org.apache.catalina.WebResourceRoot.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifeq 10
6: aload 0
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.start:()V
7: goto 10
StackMap locals: org.apache.catalina.webresources.AbstractSingleArchiveResourceSet org.apache.catalina.WebResourceRoot java.lang.String java.lang.String java.lang.String
StackMap stack: org.apache.catalina.LifecycleException
8: astore 5
start local 5 9: new java.lang.IllegalStateException
dup
aload 5
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 10: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/webresources/AbstractSingleArchiveResourceSet;
0 11 1 root Lorg/apache/catalina/WebResourceRoot;
0 11 2 webAppMount Ljava/lang/String;
0 11 3 base Ljava/lang/String;
0 11 4 internalPath Ljava/lang/String;
9 10 5 e Lorg/apache/catalina/LifecycleException;
Exception table:
from to target type
6 7 8 Class org.apache.catalina.LifecycleException
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
root
webAppMount
base
internalPath
protected java.util.Map<java.lang.String, java.util.jar.JarEntry> getArchiveEntries(boolean);
descriptor: (Z)Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.archiveLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
getfield org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.archiveEntries:Ljava/util/Map;
ifnonnull 20
iload 1
ifne 20
2: aconst_null
astore 3
start local 3 3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.archiveEntries:Ljava/util/Map;
4: aload 0
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.openJarFile:()Ljava/util/jar/JarFile;
astore 3
5: aload 3
invokevirtual java.util.jar.JarFile.entries:()Ljava/util/Enumeration;
astore 4
start local 4 6: goto 9
7: StackMap locals: java.lang.Object java.util.jar.JarFile java.util.Enumeration
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.jar.JarEntry
astore 5
start local 5 8: aload 0
getfield org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.archiveEntries:Ljava/util/Map;
aload 5
invokevirtual java.util.jar.JarEntry.getName:()Ljava/lang/String;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 7
end local 4 10: goto 18
StackMap locals: org.apache.catalina.webresources.AbstractSingleArchiveResourceSet int java.lang.Object java.util.jar.JarFile
StackMap stack: java.io.IOException
11: astore 4
start local 4 12: aload 0
aconst_null
putfield org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.archiveEntries:Ljava/util/Map;
13: new java.lang.IllegalStateException
dup
aload 4
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 14: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
15: aload 3
ifnull 17
16: aload 0
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.closeJarFile:()V
17: StackMap locals: org.apache.catalina.webresources.AbstractSingleArchiveResourceSet int java.lang.Object java.util.jar.JarFile top top java.lang.Throwable
StackMap stack:
aload 6
athrow
18: StackMap locals: org.apache.catalina.webresources.AbstractSingleArchiveResourceSet int java.lang.Object java.util.jar.JarFile
StackMap stack:
aload 3
ifnull 20
19: aload 0
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.closeJarFile:()V
end local 3 20: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.archiveEntries:Ljava/util/Map;
aload 2
monitorexit
21: areturn
22: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
23: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/catalina/webresources/AbstractSingleArchiveResourceSet;
0 24 1 single Z
3 20 3 jarFile Ljava/util/jar/JarFile;
6 10 4 entries Ljava/util/Enumeration<Ljava/util/jar/JarEntry;>;
8 9 5 entry Ljava/util/jar/JarEntry;
12 14 4 ioe Ljava/io/IOException;
Exception table:
from to target type
4 10 11 Class java.io.IOException
4 14 14 any
1 21 22 any
22 23 22 any
Signature: (Z)Ljava/util/Map<Ljava/lang/String;Ljava/util/jar/JarEntry;>;
MethodParameters:
Name Flags
single
protected java.util.jar.JarEntry getArchiveEntry(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/jar/JarEntry;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.openJarFile:()Ljava/util/jar/JarFile;
astore 2
2: aload 2
aload 1
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 5
3: aload 2
ifnull 5
4: aload 0
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.closeJarFile:()V
5: StackMap locals: org.apache.catalina.webresources.AbstractSingleArchiveResourceSet java.lang.String java.util.jar.JarFile top top java.util.jar.JarEntry
StackMap stack:
aload 5
areturn
6: StackMap locals: org.apache.catalina.webresources.AbstractSingleArchiveResourceSet java.lang.String java.util.jar.JarFile
StackMap stack: java.io.IOException
astore 3
start local 3 7: new java.lang.IllegalStateException
dup
aload 3
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
9: aload 2
ifnull 11
10: aload 0
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.closeJarFile:()V
11: StackMap locals: org.apache.catalina.webresources.AbstractSingleArchiveResourceSet java.lang.String java.util.jar.JarFile top java.lang.Throwable
StackMap stack:
aload 4
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/webresources/AbstractSingleArchiveResourceSet;
0 12 1 pathInArchive Ljava/lang/String;
1 12 2 jarFile Ljava/util/jar/JarFile;
7 8 3 ioe Ljava/io/IOException;
Exception table:
from to target type
1 3 6 Class java.io.IOException
1 3 8 any
6 8 8 any
MethodParameters:
Name Flags
pathInArchive
protected boolean isMultiRelease();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.multiRelease:Ljava/lang/Boolean;
ifnonnull 21
1: aload 0
getfield org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.archiveLock:Ljava/lang/Object;
dup
astore 1
monitorenter
2: aload 0
getfield org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.multiRelease:Ljava/lang/Boolean;
ifnonnull 17
3: aconst_null
astore 2
start local 2 4: aload 0
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.openJarFile:()Ljava/util/jar/JarFile;
astore 2
5: aload 0
6: invokestatic org.apache.tomcat.util.compat.JreCompat.getInstance:()Lorg/apache/tomcat/util/compat/JreCompat;
aload 2
invokevirtual org.apache.tomcat.util.compat.JreCompat.jarFileIsMultiRelease:(Ljava/util/jar/JarFile;)Z
7: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
putfield org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.multiRelease:Ljava/lang/Boolean;
8: goto 15
StackMap locals: org.apache.catalina.webresources.AbstractSingleArchiveResourceSet java.lang.Object java.util.jar.JarFile
StackMap stack: java.io.IOException
9: astore 3
start local 3 10: new java.lang.IllegalStateException
dup
aload 3
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
12: aload 2
ifnull 14
13: aload 0
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.closeJarFile:()V
14: StackMap locals: org.apache.catalina.webresources.AbstractSingleArchiveResourceSet java.lang.Object java.util.jar.JarFile top java.lang.Throwable
StackMap stack:
aload 4
athrow
15: StackMap locals: org.apache.catalina.webresources.AbstractSingleArchiveResourceSet java.lang.Object java.util.jar.JarFile
StackMap stack:
aload 2
ifnull 17
16: aload 0
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.closeJarFile:()V
end local 2 17: StackMap locals:
StackMap stack:
aload 1
monitorexit
18: goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
19: aload 1
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.multiRelease:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/catalina/webresources/AbstractSingleArchiveResourceSet;
4 17 2 jarFile Ljava/util/jar/JarFile;
10 11 3 ioe Ljava/io/IOException;
Exception table:
from to target type
4 8 9 Class java.io.IOException
4 11 11 any
2 18 19 any
19 20 19 any
protected void initInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: invokestatic org.apache.tomcat.util.compat.JreCompat.getInstance:()Lorg/apache/tomcat/util/compat/JreCompat;
aload 0
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.getBase:()Ljava/lang/String;
invokevirtual org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance:(Ljava/lang/String;)Ljava/util/jar/JarFile;
astore 3
start local 3 2: aload 0
aload 3
invokevirtual java.util.jar.JarFile.getManifest:()Ljava/util/jar/Manifest;
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.setManifest:(Ljava/util/jar/Manifest;)V
3: aload 3
ifnull 11
aload 3
invokevirtual java.util.jar.JarFile.close:()V
goto 11
StackMap locals: org.apache.catalina.webresources.AbstractSingleArchiveResourceSet java.lang.Throwable java.lang.Throwable java.util.jar.JarFile
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual java.util.jar.JarFile.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals: org.apache.catalina.webresources.AbstractSingleArchiveResourceSet
StackMap stack: java.io.IOException
9: astore 1
start local 1 10: new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 11: StackMap locals:
StackMap stack:
aload 0
new java.io.File
dup
aload 0
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.getBase:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokestatic org.apache.tomcat.util.buf.UriUtil.buildJarSafeUrl:(Ljava/io/File;)Ljava/net/URL;
invokevirtual org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.setBaseUrl:(Ljava/net/URL;)V
12: goto 15
StackMap locals:
StackMap stack: java.net.MalformedURLException
13: astore 1
start local 1 14: new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/catalina/webresources/AbstractSingleArchiveResourceSet;
2 5 3 jarFile Ljava/util/jar/JarFile;
10 11 1 ioe Ljava/io/IOException;
14 15 1 e Ljava/net/MalformedURLException;
Exception table:
from to target type
2 3 4 any
1 6 6 any
0 9 9 Class java.io.IOException
11 12 13 Class java.net.MalformedURLException
Exceptions:
throws org.apache.catalina.LifecycleException
}
SourceFile: "AbstractSingleArchiveResourceSet.java"