public class org.apache.catalina.webresources.FileResource extends org.apache.catalina.webresources.AbstractResource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.webresources.FileResource
super_class: org.apache.catalina.webresources.AbstractResource
{
private static final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean PROPERTIES_NEED_CONVERT;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.io.File resource;
descriptor: Ljava/io/File;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean readOnly;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.jar.Manifest manifest;
descriptor: Ljava/util/jar/Manifest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean needConvert;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: ldc Lorg/apache/catalina/webresources/FileResource;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.webresources.FileResource.log:Lorg/apache/juli/logging/Log;
1: iconst_0
istore 0
start local 0 2: ldc "file.encoding"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 3: aload 1
ldc "EBCDIC"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 7
4: iconst_1
istore 0
end local 1 5: goto 7
StackMap locals: int
StackMap stack: java.lang.SecurityException
6: pop
7: StackMap locals:
StackMap stack:
iload 0
putstatic org.apache.catalina.webresources.FileResource.PROPERTIES_NEED_CONVERT:Z
end local 0 8: return
LocalVariableTable:
Start End Slot Name Signature
2 8 0 isEBCDIC Z
3 5 1 encoding Ljava/lang/String;
Exception table:
from to target type
2 5 6 Class java.lang.SecurityException
public void <init>(org.apache.catalina.WebResourceRoot, java.lang.String, java.io.File, boolean, java.util.jar.Manifest);
descriptor: (Lorg/apache/catalina/WebResourceRoot;Ljava/lang/String;Ljava/io/File;ZLjava/util/jar/Manifest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, 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
invokespecial org.apache.catalina.webresources.AbstractResource.<init>:(Lorg/apache/catalina/WebResourceRoot;Ljava/lang/String;)V
1: aload 0
aload 3
putfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
2: aload 2
aload 2
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 13
3: new java.lang.StringBuilder
dup
aload 3
invokevirtual java.io.File.getName:()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 6
start local 6 4: aload 2
aload 6
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 7
5: aload 0
aload 3
invokevirtual java.io.File.getName:()Ljava/lang/String;
putfield org.apache.catalina.webresources.FileResource.name:Ljava/lang/String;
6: goto 14
7: StackMap locals: org.apache.catalina.webresources.FileResource org.apache.catalina.WebResourceRoot java.lang.String java.io.File int java.util.jar.Manifest java.lang.String
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
iconst_1
isub
istore 7
start local 7 8: aload 0
aload 2
9: aload 2
bipush 47
iload 7
iconst_1
isub
invokevirtual java.lang.String.lastIndexOf:(II)I
iconst_1
iadd
10: iload 7
11: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield org.apache.catalina.webresources.FileResource.name:Ljava/lang/String;
end local 7 end local 6 12: goto 14
13: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual java.io.File.getName:()Ljava/lang/String;
putfield org.apache.catalina.webresources.FileResource.name:Ljava/lang/String;
14: StackMap locals:
StackMap stack:
aload 0
iload 4
putfield org.apache.catalina.webresources.FileResource.readOnly:Z
15: aload 0
aload 5
putfield org.apache.catalina.webresources.FileResource.manifest:Ljava/util/jar/Manifest;
16: aload 0
getstatic org.apache.catalina.webresources.FileResource.PROPERTIES_NEED_CONVERT:Z
ifeq 17
aload 0
getfield org.apache.catalina.webresources.FileResource.name:Ljava/lang/String;
ldc ".properties"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 17
iconst_1
goto 18
StackMap locals:
StackMap stack: org.apache.catalina.webresources.FileResource
17: iconst_0
StackMap locals: org.apache.catalina.webresources.FileResource org.apache.catalina.WebResourceRoot java.lang.String java.io.File int java.util.jar.Manifest
StackMap stack: org.apache.catalina.webresources.FileResource int
18: putfield org.apache.catalina.webresources.FileResource.needConvert:Z
19: 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 20 0 this Lorg/apache/catalina/webresources/FileResource;
0 20 1 root Lorg/apache/catalina/WebResourceRoot;
0 20 2 webAppPath Ljava/lang/String;
0 20 3 resource Ljava/io/File;
0 20 4 readOnly Z
0 20 5 manifest Ljava/util/jar/Manifest;
4 12 6 realName Ljava/lang/String;
8 12 7 endOfName I
MethodParameters:
Name Flags
root
webAppPath
resource
readOnly
manifest
public long getLastModified();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.lastModified:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/FileResource;
public boolean exists();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.exists:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/FileResource;
public boolean isVirtual();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/FileResource;
public boolean isDirectory();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.isDirectory:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/FileResource;
public boolean isFile();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.isFile:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/FileResource;
public boolean delete();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.FileResource.readOnly:Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.delete:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/webresources/FileResource;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.FileResource.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/FileResource;
public long getContentLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.catalina.webresources.FileResource.needConvert:Z
invokevirtual org.apache.catalina.webresources.FileResource.getContentLengthInternal:(Z)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/FileResource;
private long getContentLengthInternal(boolean);
descriptor: (Z)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ifeq 5
1: aload 0
invokevirtual org.apache.catalina.webresources.FileResource.getContent:()[B
astore 2
start local 2 2: aload 2
ifnonnull 4
3: ldc -1
lreturn
4: StackMap locals: byte[]
StackMap stack:
aload 2
arraylength
i2l
lreturn
end local 2 5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.webresources.FileResource.isDirectory:()Z
ifeq 7
6: ldc -1
lreturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.length:()J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/webresources/FileResource;
0 8 1 convert Z
2 5 2 content [B
MethodParameters:
Name Flags
convert
public java.lang.String getCanonicalPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: getstatic org.apache.catalina.webresources.FileResource.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 9
4: getstatic org.apache.catalina.webresources.FileResource.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.webresources.FileResource.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "fileResource.getCanonicalPathFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.getPath:()Ljava/lang/String;
aastore
6: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: aload 1
8: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
9: StackMap locals: java.io.IOException
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/webresources/FileResource;
3 10 1 ioe Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
public boolean canRead();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.canRead:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/FileResource;
protected java.io.InputStream doGetInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.FileResource.needConvert:Z
ifeq 5
1: aload 0
invokevirtual org.apache.catalina.webresources.FileResource.getContent:()[B
astore 1
start local 1 2: aload 1
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: byte[]
StackMap stack:
new java.io.ByteArrayInputStream
dup
aload 1
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
areturn
end local 1 5: StackMap locals:
StackMap stack:
new java.io.FileInputStream
dup
aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
6: areturn
7: StackMap locals:
StackMap stack: java.io.FileNotFoundException
pop
8: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/webresources/FileResource;
2 5 1 content [B
Exception table:
from to target type
5 6 7 Class java.io.FileNotFoundException
public final byte[] getContent();
descriptor: ()[B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=9, locals=10, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.catalina.webresources.FileResource.getContentLengthInternal:(Z)J
lstore 1
start local 1 1: lload 1
ldc 2147483647
lcmp
ifle 6
2: new java.lang.ArrayIndexOutOfBoundsException
dup
getstatic org.apache.catalina.webresources.FileResource.sm:Lorg/apache/tomcat/util/res/StringManager;
3: ldc "abstractResource.getContentTooLarge"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.catalina.webresources.FileResource.getWebappPath:()Ljava/lang/String;
aastore
dup
iconst_1
4: lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
5: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: long
StackMap stack:
lload 1
lconst_0
lcmp
ifge 8
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
lload 1
l2i
istore 3
start local 3 9: iload 3
newarray 8
astore 4
start local 4 10: iconst_0
istore 5
start local 5 11: aconst_null
astore 6
aconst_null
astore 7
12: new java.io.FileInputStream
dup
aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 8
start local 8 13: goto 18
14: StackMap locals: org.apache.catalina.webresources.FileResource long int byte[] int java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack:
aload 8
aload 4
iload 5
iload 3
iload 5
isub
invokevirtual java.io.InputStream.read:([BII)I
istore 9
start local 9 15: iload 9
ifge 17
16: goto 19
17: StackMap locals: int
StackMap stack:
iload 5
iload 9
iadd
istore 5
end local 9 18: StackMap locals:
StackMap stack:
iload 5
iload 3
if_icmplt 14
19: StackMap locals:
StackMap stack:
aload 8
ifnull 33
aload 8
invokevirtual java.io.InputStream.close:()V
goto 33
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 6
aload 8
ifnull 21
aload 8
invokevirtual java.io.InputStream.close:()V
end local 8 StackMap locals:
StackMap stack:
21: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 7
aload 6
ifnonnull 23
aload 7
astore 6
goto 24
StackMap locals:
StackMap stack:
23: aload 6
aload 7
if_acmpeq 24
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
24: aload 6
athrow
StackMap locals: org.apache.catalina.webresources.FileResource long int byte[] int
StackMap stack: java.io.IOException
25: astore 6
start local 6 26: aload 0
invokevirtual org.apache.catalina.webresources.FileResource.getLog:()Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 32
27: aload 0
invokevirtual org.apache.catalina.webresources.FileResource.getLog:()Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.webresources.FileResource.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "abstractResource.getContentFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
28: aload 0
invokevirtual org.apache.catalina.webresources.FileResource.getWebappPath:()Ljava/lang/String;
aastore
29: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
30: aload 6
31: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
32: StackMap locals: java.io.IOException
StackMap stack:
aconst_null
areturn
end local 6 33: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.FileResource.needConvert:Z
ifeq 39
34: new java.lang.String
dup
aload 4
invokespecial java.lang.String.<init>:([B)V
astore 6
start local 6 35: aload 6
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 4
36: goto 39
StackMap locals: org.apache.catalina.webresources.FileResource long int byte[] int java.lang.String
StackMap stack: java.lang.Exception
37: pop
38: aconst_null
astore 4
end local 6 39: StackMap locals:
StackMap stack:
aload 4
areturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lorg/apache/catalina/webresources/FileResource;
1 40 1 len J
9 40 3 size I
10 40 4 result [B
11 40 5 pos I
13 21 8 is Ljava/io/InputStream;
15 18 9 n I
26 33 6 ioe Ljava/io/IOException;
35 39 6 str Ljava/lang/String;
Exception table:
from to target type
13 19 20 any
12 22 22 any
11 25 25 Class java.io.IOException
35 36 37 Class java.lang.Exception
public long getCreation();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
1: ldc Ljava/nio/file/attribute/BasicFileAttributes;
iconst_0
anewarray java.nio.file.LinkOption
2: invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
astore 1
start local 1 3: aload 1
invokeinterface java.nio.file.attribute.BasicFileAttributes.creationTime:()Ljava/nio/file/attribute/FileTime;
invokevirtual java.nio.file.attribute.FileTime.toMillis:()J
4: lreturn
end local 1 5: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 6: getstatic org.apache.catalina.webresources.FileResource.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 12
7: getstatic org.apache.catalina.webresources.FileResource.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.webresources.FileResource.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "fileResource.getCreationFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
8: aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.getPath:()Ljava/lang/String;
aastore
9: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
10: aload 1
11: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
12: StackMap locals: java.io.IOException
StackMap stack:
lconst_0
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/catalina/webresources/FileResource;
3 5 1 attrs Ljava/nio/file/attribute/BasicFileAttributes;
6 13 1 e Ljava/io/IOException;
Exception table:
from to target type
0 4 5 Class java.io.IOException
public java.net.URL getURL();
descriptor: ()Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.exists:()Z
ifeq 11
1: aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
2: areturn
3: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 1
start local 1 4: getstatic org.apache.catalina.webresources.FileResource.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 10
5: getstatic org.apache.catalina.webresources.FileResource.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.webresources.FileResource.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "fileResource.getUrlFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
6: aload 0
getfield org.apache.catalina.webresources.FileResource.resource:Ljava/io/File;
invokevirtual java.io.File.getPath:()Ljava/lang/String;
aastore
7: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
8: aload 1
9: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
10: StackMap locals: java.net.MalformedURLException
StackMap stack:
aconst_null
areturn
end local 1 11: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/webresources/FileResource;
4 11 1 e Ljava/net/MalformedURLException;
Exception table:
from to target type
1 2 3 Class java.net.MalformedURLException
public java.net.URL getCodeBase();
descriptor: ()Ljava/net/URL;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.webresources.FileResource.getWebappPath:()Ljava/lang/String;
ldc "/WEB-INF/classes/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
aload 0
getfield org.apache.catalina.webresources.FileResource.name:Ljava/lang/String;
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
invokevirtual org.apache.catalina.webresources.FileResource.getWebResourceRoot:()Lorg/apache/catalina/WebResourceRoot;
ldc "/WEB-INF/classes/"
invokeinterface org.apache.catalina.WebResourceRoot.getResource:(Ljava/lang/String;)Lorg/apache/catalina/WebResource;
invokeinterface org.apache.catalina.WebResource.getURL:()Ljava/net/URL;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.webresources.FileResource.getURL:()Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/webresources/FileResource;
public java.security.cert.Certificate[] getCertificates();
descriptor: ()[Ljava/security/cert/Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/FileResource;
public java.util.jar.Manifest getManifest();
descriptor: ()Ljava/util/jar/Manifest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.FileResource.manifest:Ljava/util/jar/Manifest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/FileResource;
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.FileResource.log:Lorg/apache/juli/logging/Log;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/FileResource;
}
SourceFile: "FileResource.java"