public class org.apache.catalina.webresources.JarWarResource extends org.apache.catalina.webresources.AbstractArchiveResource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.webresources.JarWarResource
super_class: org.apache.catalina.webresources.AbstractArchiveResource
{
private static final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String archivePath;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/catalina/webresources/JarWarResource;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.webresources.JarWarResource.log:Lorg/apache/juli/logging/Log;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.catalina.webresources.AbstractArchiveResourceSet, java.lang.String, java.lang.String, java.util.jar.JarEntry, java.lang.String);
descriptor: (Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;Ljava/lang/String;Ljava/lang/String;Ljava/util/jar/JarEntry;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
1: new java.lang.StringBuilder
dup
ldc "jar:war:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic org.apache.tomcat.util.buf.UriUtil.getWarSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "!/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: aload 4
new java.lang.StringBuilder
dup
ldc "war:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic org.apache.tomcat.util.buf.UriUtil.getWarSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.catalina.webresources.AbstractArchiveResource.<init>:(Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;Ljava/lang/String;Ljava/lang/String;Ljava/util/jar/JarEntry;Ljava/lang/String;)V
3: aload 0
aload 5
putfield org.apache.catalina.webresources.JarWarResource.archivePath:Ljava/lang/String;
4: return
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 5 0 this Lorg/apache/catalina/webresources/JarWarResource;
0 5 1 archiveResourceSet Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
0 5 2 webAppPath Ljava/lang/String;
0 5 3 baseUrl Ljava/lang/String;
0 5 4 jarEntry Ljava/util/jar/JarEntry;
0 5 5 archivePath Ljava/lang/String;
MethodParameters:
Name Flags
archiveResourceSet
webAppPath
baseUrl
jarEntry
archivePath
protected org.apache.catalina.webresources.AbstractArchiveResource$JarInputStreamWrapper getJarInputStreamWrapper();
descriptor: ()Lorg/apache/catalina/webresources/AbstractArchiveResource$JarInputStreamWrapper;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=8, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: aload 0
invokevirtual org.apache.catalina.webresources.JarWarResource.getArchiveResourceSet:()Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.openJarFile:()Ljava/util/jar/JarFile;
astore 1
4: aload 1
aload 0
getfield org.apache.catalina.webresources.JarWarResource.archivePath:Ljava/lang/String;
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 4
start local 4 5: aload 1
aload 4
invokevirtual java.util.jar.JarFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
astore 5
start local 5 6: new java.util.jar.JarInputStream
dup
aload 5
invokespecial java.util.jar.JarInputStream.<init>:(Ljava/io/InputStream;)V
astore 2
7: aload 2
invokevirtual java.util.jar.JarInputStream.getNextJarEntry:()Ljava/util/jar/JarEntry;
astore 3
8: goto 10
9: StackMap locals: org.apache.catalina.webresources.JarWarResource java.util.jar.JarFile java.util.jar.JarInputStream java.util.jar.JarEntry java.util.jar.JarEntry java.io.InputStream
StackMap stack:
aload 2
invokevirtual java.util.jar.JarInputStream.getNextJarEntry:()Ljava/util/jar/JarEntry;
astore 3
10: StackMap locals:
StackMap stack:
aload 3
ifnull 12
11: aload 3
invokevirtual java.util.jar.JarEntry.getName:()Ljava/lang/String;
aload 0
invokevirtual org.apache.catalina.webresources.JarWarResource.getResource:()Ljava/util/jar/JarEntry;
invokevirtual java.util.jar.JarEntry.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
12: StackMap locals:
StackMap stack:
aload 3
ifnonnull 21
13: aload 3
ifnonnull 20
14: aload 2
ifnull 18
15: aload 2
invokevirtual java.util.jar.JarInputStream.close:()V
16: goto 18
StackMap locals:
StackMap stack: java.io.IOException
17: pop
18: StackMap locals:
StackMap stack:
aload 1
ifnull 20
19: aload 0
invokevirtual org.apache.catalina.webresources.JarWarResource.getArchiveResourceSet:()Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.closeJarFile:()V
20: StackMap locals:
StackMap stack:
aconst_null
areturn
21: StackMap locals:
StackMap stack:
new org.apache.catalina.webresources.AbstractArchiveResource$JarInputStreamWrapper
dup
aload 0
aload 3
aload 2
invokespecial org.apache.catalina.webresources.AbstractArchiveResource$JarInputStreamWrapper.<init>:(Lorg/apache/catalina/webresources/AbstractArchiveResource;Ljava/util/jar/JarEntry;Ljava/io/InputStream;)V
astore 7
22: aload 3
ifnonnull 29
23: aload 2
ifnull 27
24: aload 2
invokevirtual java.util.jar.JarInputStream.close:()V
25: goto 27
StackMap locals: org.apache.catalina.webresources.JarWarResource java.util.jar.JarFile java.util.jar.JarInputStream java.util.jar.JarEntry java.util.jar.JarEntry java.io.InputStream top org.apache.catalina.webresources.AbstractArchiveResource$JarInputStreamWrapper
StackMap stack: java.io.IOException
26: pop
27: StackMap locals:
StackMap stack:
aload 1
ifnull 29
28: aload 0
invokevirtual org.apache.catalina.webresources.JarWarResource.getArchiveResourceSet:()Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.closeJarFile:()V
29: StackMap locals:
StackMap stack:
aload 7
areturn
end local 5 end local 4 30: StackMap locals: org.apache.catalina.webresources.JarWarResource java.util.jar.JarFile java.util.jar.JarInputStream java.util.jar.JarEntry
StackMap stack: java.io.IOException
astore 4
start local 4 31: getstatic org.apache.catalina.webresources.JarWarResource.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 37
32: getstatic org.apache.catalina.webresources.JarWarResource.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.webresources.JarWarResource.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "jarResource.getInputStreamFail"
iconst_2
anewarray java.lang.Object
dup
iconst_0
33: aload 0
invokevirtual org.apache.catalina.webresources.JarWarResource.getResource:()Ljava/util/jar/JarEntry;
invokevirtual java.util.jar.JarEntry.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
invokevirtual org.apache.catalina.webresources.JarWarResource.getBaseUrl:()Ljava/lang/String;
aastore
34: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
35: aload 4
36: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
37: StackMap locals: java.io.IOException
StackMap stack:
aconst_null
astore 3
38: aload 3
ifnonnull 45
39: aload 2
ifnull 43
40: aload 2
invokevirtual java.util.jar.JarInputStream.close:()V
41: goto 43
StackMap locals:
StackMap stack: java.io.IOException
42: pop
43: StackMap locals:
StackMap stack:
aload 1
ifnull 45
44: aload 0
invokevirtual org.apache.catalina.webresources.JarWarResource.getArchiveResourceSet:()Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.closeJarFile:()V
45: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 46: StackMap locals: org.apache.catalina.webresources.JarWarResource java.util.jar.JarFile java.util.jar.JarInputStream java.util.jar.JarEntry
StackMap stack: java.lang.Throwable
astore 6
47: aload 3
ifnonnull 54
48: aload 2
ifnull 52
49: aload 2
invokevirtual java.util.jar.JarInputStream.close:()V
50: goto 52
StackMap locals: org.apache.catalina.webresources.JarWarResource java.util.jar.JarFile java.util.jar.JarInputStream java.util.jar.JarEntry top top java.lang.Throwable
StackMap stack: java.io.IOException
51: pop
52: StackMap locals:
StackMap stack:
aload 1
ifnull 54
53: aload 0
invokevirtual org.apache.catalina.webresources.JarWarResource.getArchiveResourceSet:()Lorg/apache/catalina/webresources/AbstractArchiveResourceSet;
invokevirtual org.apache.catalina.webresources.AbstractArchiveResourceSet.closeJarFile:()V
54: StackMap locals:
StackMap stack:
aload 6
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 this Lorg/apache/catalina/webresources/JarWarResource;
1 55 1 warFile Ljava/util/jar/JarFile;
2 55 2 jarIs Ljava/util/jar/JarInputStream;
3 55 3 entry Ljava/util/jar/JarEntry;
5 30 4 jarFileInWar Ljava/util/jar/JarEntry;
6 30 5 isInWar Ljava/io/InputStream;
31 46 4 e Ljava/io/IOException;
Exception table:
from to target type
15 16 17 Class java.io.IOException
24 25 26 Class java.io.IOException
3 13 30 Class java.io.IOException
21 22 30 Class java.io.IOException
40 41 42 Class java.io.IOException
3 13 46 any
21 22 46 any
30 38 46 any
49 50 51 Class java.io.IOException
protected org.apache.juli.logging.Log getLog();
descriptor: ()Lorg/apache/juli/logging/Log;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.apache.catalina.webresources.JarWarResource.log:Lorg/apache/juli/logging/Log;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/JarWarResource;
}
SourceFile: "JarWarResource.java"
InnerClasses:
protected JarInputStreamWrapper = org.apache.catalina.webresources.AbstractArchiveResource$JarInputStreamWrapper of org.apache.catalina.webresources.AbstractArchiveResource