public class org.apache.catalina.webresources.StandardRoot extends org.apache.catalina.util.LifecycleMBeanBase implements org.apache.catalina.WebResourceRoot
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.webresources.StandardRoot
super_class: org.apache.catalina.util.LifecycleMBeanBase
{
private static final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private org.apache.catalina.Context context;
descriptor: Lorg/apache/catalina/Context;
flags: (0x0002) ACC_PRIVATE
private boolean allowLinking;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.util.List<org.apache.catalina.WebResourceSet> preResources;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
private org.apache.catalina.WebResourceSet main;
descriptor: Lorg/apache/catalina/WebResourceSet;
flags: (0x0002) ACC_PRIVATE
private final java.util.List<org.apache.catalina.WebResourceSet> classResources;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
private final java.util.List<org.apache.catalina.WebResourceSet> jarResources;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
private final java.util.List<org.apache.catalina.WebResourceSet> postResources;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
private final org.apache.catalina.webresources.Cache cache;
descriptor: Lorg/apache/catalina/webresources/Cache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean cachingAllowed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.management.ObjectName cacheJmxName;
descriptor: Ljavax/management/ObjectName;
flags: (0x0002) ACC_PRIVATE
private boolean trackLockedFiles;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.util.Set<org.apache.catalina.TrackedWebResource> trackedResources;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Lorg/apache/catalina/TrackedWebResource;>;
private final java.util.List<org.apache.catalina.WebResourceSet> mainResources;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
private final java.util.List<java.util.List<org.apache.catalina.WebResourceSet>> allResources;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;>;
private static volatile int[] $SWITCH_TABLE$org$apache$catalina$WebResourceRoot$ResourceSetType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/catalina/webresources/StandardRoot;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.webresources.StandardRoot.log:Lorg/apache/juli/logging/Log;
1: ldc Lorg/apache/catalina/webresources/StandardRoot;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.webresources.StandardRoot.sm:Lorg/apache/tomcat/util/res/StringManager;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.util.LifecycleMBeanBase.<init>:()V
1: aload 0
iconst_0
putfield org.apache.catalina.webresources.StandardRoot.allowLinking:Z
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.webresources.StandardRoot.preResources:Ljava/util/List;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.webresources.StandardRoot.classResources:Ljava/util/List;
4: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.webresources.StandardRoot.jarResources:Ljava/util/List;
5: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.webresources.StandardRoot.postResources:Ljava/util/List;
6: aload 0
new org.apache.catalina.webresources.Cache
dup
aload 0
invokespecial org.apache.catalina.webresources.Cache.<init>:(Lorg/apache/catalina/webresources/StandardRoot;)V
putfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
7: aload 0
iconst_1
putfield org.apache.catalina.webresources.StandardRoot.cachingAllowed:Z
8: aload 0
aconst_null
putfield org.apache.catalina.webresources.StandardRoot.cacheJmxName:Ljavax/management/ObjectName;
9: aload 0
iconst_0
putfield org.apache.catalina.webresources.StandardRoot.trackLockedFiles:Z
10: aload 0
11: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
invokestatic java.util.Collections.newSetFromMap:(Ljava/util/Map;)Ljava/util/Set;
putfield org.apache.catalina.webresources.StandardRoot.trackedResources:Ljava/util/Set;
12: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.webresources.StandardRoot.mainResources:Ljava/util/List;
13: aload 0
14: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
15: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.preResources:Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.mainResources:Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.classResources:Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.jarResources:Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
19: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.postResources:Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
20: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/catalina/webresources/StandardRoot;
public void <init>(org.apache.catalina.Context);
descriptor: (Lorg/apache/catalina/Context;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.catalina.util.LifecycleMBeanBase.<init>:()V
1: aload 0
iconst_0
putfield org.apache.catalina.webresources.StandardRoot.allowLinking:Z
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.webresources.StandardRoot.preResources:Ljava/util/List;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.webresources.StandardRoot.classResources:Ljava/util/List;
4: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.webresources.StandardRoot.jarResources:Ljava/util/List;
5: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.webresources.StandardRoot.postResources:Ljava/util/List;
6: aload 0
new org.apache.catalina.webresources.Cache
dup
aload 0
invokespecial org.apache.catalina.webresources.Cache.<init>:(Lorg/apache/catalina/webresources/StandardRoot;)V
putfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
7: aload 0
iconst_1
putfield org.apache.catalina.webresources.StandardRoot.cachingAllowed:Z
8: aload 0
aconst_null
putfield org.apache.catalina.webresources.StandardRoot.cacheJmxName:Ljavax/management/ObjectName;
9: aload 0
iconst_0
putfield org.apache.catalina.webresources.StandardRoot.trackLockedFiles:Z
10: aload 0
11: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
invokestatic java.util.Collections.newSetFromMap:(Ljava/util/Map;)Ljava/util/Set;
putfield org.apache.catalina.webresources.StandardRoot.trackedResources:Ljava/util/Set;
12: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.webresources.StandardRoot.mainResources:Ljava/util/List;
13: aload 0
14: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
15: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.preResources:Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.mainResources:Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.classResources:Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.jarResources:Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
19: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.postResources:Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
20: aload 0
aload 1
putfield org.apache.catalina.webresources.StandardRoot.context:Lorg/apache/catalina/Context;
21: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 22 1 context Lorg/apache/catalina/Context;
MethodParameters:
Name Flags
context
public java.lang.String[] list(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.apache.catalina.webresources.StandardRoot.list:(Ljava/lang/String;Z)[Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
private java.lang.String[] list(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)[Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=13, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 2
1: aload 0
aload 1
invokevirtual org.apache.catalina.webresources.StandardRoot.validate:(Ljava/lang/String;)Ljava/lang/String;
astore 1
2: StackMap locals:
StackMap stack:
new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 3
start local 3 3: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 15
StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int java.util.HashSet top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 5: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 14
StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int java.util.HashSet java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 6
start local 6 7: aload 6
invokeinterface org.apache.catalina.WebResourceSet.getClassLoaderOnly:()Z
ifne 14
8: aload 6
aload 1
invokeinterface org.apache.catalina.WebResourceSet.list:(Ljava/lang/String;)[Ljava/lang/String;
astore 8
start local 8 9: aload 8
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 13
StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int java.util.HashSet java.util.List java.util.Iterator org.apache.catalina.WebResourceSet java.util.Iterator java.lang.String[] top int int java.lang.String[]
StackMap stack:
10: aload 12
iload 10
aaload
astore 9
start local 9 11: aload 3
aload 9
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 9 12: iinc 10 1
StackMap locals:
StackMap stack:
13: iload 10
iload 11
if_icmplt 10
end local 8 end local 6 14: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int java.util.HashSet java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 4 15: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int java.util.HashSet top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
16: aload 3
aload 3
invokevirtual java.util.HashSet.size:()I
anewarray java.lang.String
invokevirtual java.util.HashSet.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 17 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 17 1 path Ljava/lang/String;
0 17 2 validate Z
3 17 3 result Ljava/util/HashSet<Ljava/lang/String;>;
5 15 4 list Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
7 14 6 webResourceSet Lorg/apache/catalina/WebResourceSet;
9 14 8 entries [Ljava/lang/String;
11 12 9 entry Ljava/lang/String;
MethodParameters:
Name Flags
path
validate
public java.util.Set<java.lang.String> listWebAppPaths(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.catalina.webresources.StandardRoot.validate:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String java.util.Set top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 4: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String java.util.Set java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 5
start local 5 6: aload 5
invokeinterface org.apache.catalina.WebResourceSet.getClassLoaderOnly:()Z
ifne 8
7: aload 2
aload 5
aload 1
invokeinterface org.apache.catalina.WebResourceSet.listWebAppPaths:(Ljava/lang/String;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 3 9: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String java.util.Set top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: aload 2
invokeinterface java.util.Set.size:()I
ifne 12
11: aconst_null
areturn
12: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String java.util.Set
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 13 1 path Ljava/lang/String;
2 13 2 result Ljava/util/Set<Ljava/lang/String;>;
4 9 3 list Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
6 8 5 webResourceSet Lorg/apache/catalina/WebResourceSet;
Signature: (Ljava/lang/String;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
path
public boolean mkdir(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.catalina.webresources.StandardRoot.validate:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 0
aload 1
invokevirtual org.apache.catalina.webresources.StandardRoot.preResourceExists:(Ljava/lang/String;)Z
ifeq 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.StandardRoot.main:Lorg/apache/catalina/WebResourceSet;
aload 1
invokeinterface org.apache.catalina.WebResourceSet.mkdir:(Ljava/lang/String;)Z
istore 2
start local 2 4: iload 2
ifeq 6
aload 0
invokevirtual org.apache.catalina.webresources.StandardRoot.isCachingAllowed:()Z
ifeq 6
5: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
aload 1
invokevirtual org.apache.catalina.webresources.Cache.removeCacheEntry:(Ljava/lang/String;)V
6: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 7 1 path Ljava/lang/String;
4 7 2 mkdirResult Z
MethodParameters:
Name Flags
path
public boolean write(java.lang.String, java.io.InputStream, boolean);
descriptor: (Ljava/lang/String;Ljava/io/InputStream;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, 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.StandardRoot.validate:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: iload 3
ifne 3
aload 0
aload 1
invokevirtual org.apache.catalina.webresources.StandardRoot.preResourceExists:(Ljava/lang/String;)Z
ifeq 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.StandardRoot.main:Lorg/apache/catalina/WebResourceSet;
aload 1
aload 2
iload 3
invokeinterface org.apache.catalina.WebResourceSet.write:(Ljava/lang/String;Ljava/io/InputStream;Z)Z
istore 4
start local 4 4: iload 4
ifeq 6
aload 0
invokevirtual org.apache.catalina.webresources.StandardRoot.isCachingAllowed:()Z
ifeq 6
5: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
aload 1
invokevirtual org.apache.catalina.webresources.Cache.removeCacheEntry:(Ljava/lang/String;)V
6: StackMap locals: int
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 7 1 path Ljava/lang/String;
0 7 2 is Ljava/io/InputStream;
0 7 3 overwrite Z
4 7 4 writeResult Z
MethodParameters:
Name Flags
path
is
overwrite
private boolean preResourceExists(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.preResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 2
start local 2 2: aload 2
aload 1
invokeinterface org.apache.catalina.WebResourceSet.getResource:(Ljava/lang/String;)Lorg/apache/catalina/WebResource;
astore 4
start local 4 3: aload 4
invokeinterface org.apache.catalina.WebResource.exists:()Z
ifeq 5
4: iconst_1
ireturn
end local 4 end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 7 1 path Ljava/lang/String;
2 5 2 webResourceSet Lorg/apache/catalina/WebResourceSet;
3 5 4 webResource Lorg/apache/catalina/WebResource;
MethodParameters:
Name Flags
path
public org.apache.catalina.WebResource getResource(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/catalina/WebResource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
iconst_0
invokevirtual org.apache.catalina.webresources.StandardRoot.getResource:(Ljava/lang/String;ZZ)Lorg/apache/catalina/WebResource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
private org.apache.catalina.WebResource getResource(java.lang.String, boolean, boolean);
descriptor: (Ljava/lang/String;ZZ)Lorg/apache/catalina/WebResource;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
ifeq 2
1: aload 0
aload 1
invokevirtual org.apache.catalina.webresources.StandardRoot.validate:(Ljava/lang/String;)Ljava/lang/String;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.webresources.StandardRoot.isCachingAllowed:()Z
ifeq 4
3: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
aload 1
iload 3
invokevirtual org.apache.catalina.webresources.Cache.getResource:(Ljava/lang/String;Z)Lorg/apache/catalina/WebResource;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 3
invokevirtual org.apache.catalina.webresources.StandardRoot.getResourceInternal:(Ljava/lang/String;Z)Lorg/apache/catalina/WebResource;
areturn
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/StandardRoot;
0 5 1 path Ljava/lang/String;
0 5 2 validate Z
0 5 3 useClassLoaderResources Z
MethodParameters:
Name Flags
path
validate
useClassLoaderResources
public org.apache.catalina.WebResource getClassLoaderResource(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/catalina/WebResource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.lang.StringBuilder
dup
ldc "/WEB-INF/classes"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
iconst_1
invokevirtual org.apache.catalina.webresources.StandardRoot.getResource:(Ljava/lang/String;ZZ)Lorg/apache/catalina/WebResource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public org.apache.catalina.WebResource[] getClassLoaderResources(java.lang.String);
descriptor: (Ljava/lang/String;)[Lorg/apache/catalina/WebResource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.lang.StringBuilder
dup
ldc "/WEB-INF/classes"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
invokevirtual org.apache.catalina.webresources.StandardRoot.getResources:(Ljava/lang/String;Z)[Lorg/apache/catalina/WebResource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
private java.lang.String validate(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.webresources.StandardRoot.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifne 4
1: new java.lang.IllegalStateException
dup
2: getstatic org.apache.catalina.webresources.StandardRoot.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardRoot.checkStateNotStarted"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
ifnull 5
aload 1
invokevirtual java.lang.String.length:()I
ifeq 5
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 8
5: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
6: getstatic org.apache.catalina.webresources.StandardRoot.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardRoot.invalidPath"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
getstatic java.io.File.separatorChar:C
bipush 92
if_icmpne 11
9: aload 1
iconst_1
invokestatic org.apache.tomcat.util.http.RequestUtil.normalize:(Ljava/lang/String;Z)Ljava/lang/String;
astore 2
start local 2 10: goto 12
end local 2 11: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokestatic org.apache.tomcat.util.http.RequestUtil.normalize:(Ljava/lang/String;Z)Ljava/lang/String;
astore 2
start local 2 12: StackMap locals: java.lang.String
StackMap stack:
aload 2
ifnull 13
aload 2
invokevirtual java.lang.String.length:()I
ifeq 13
aload 2
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 16
13: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
14: getstatic org.apache.catalina.webresources.StandardRoot.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardRoot.invalidPathNormal"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
15: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 17 1 path Ljava/lang/String;
10 11 2 result Ljava/lang/String;
12 17 2 result Ljava/lang/String;
MethodParameters:
Name Flags
path
protected final org.apache.catalina.WebResource getResourceInternal(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/apache/catalina/WebResource;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aconst_null
astore 5
start local 5 3: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 19
StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int org.apache.catalina.WebResource org.apache.catalina.WebResource org.apache.catalina.WebResource top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 6
start local 6 5: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 18
StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int org.apache.catalina.WebResource org.apache.catalina.WebResource org.apache.catalina.WebResource java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
6: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 8
start local 8 7: iload 2
ifne 8
aload 8
invokeinterface org.apache.catalina.WebResourceSet.getClassLoaderOnly:()Z
ifeq 9
8: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int org.apache.catalina.WebResource org.apache.catalina.WebResource org.apache.catalina.WebResource java.util.List java.util.Iterator org.apache.catalina.WebResourceSet java.util.Iterator
StackMap stack:
iload 2
ifeq 18
aload 8
invokeinterface org.apache.catalina.WebResourceSet.getStaticOnly:()Z
ifne 18
9: StackMap locals:
StackMap stack:
aload 8
aload 1
invokeinterface org.apache.catalina.WebResourceSet.getResource:(Ljava/lang/String;)Lorg/apache/catalina/WebResource;
astore 3
10: aload 3
invokeinterface org.apache.catalina.WebResource.exists:()Z
ifeq 12
11: aload 3
areturn
12: StackMap locals:
StackMap stack:
aload 4
ifnonnull 18
13: aload 3
invokeinterface org.apache.catalina.WebResource.isVirtual:()Z
ifeq 16
14: aload 3
astore 4
15: goto 18
StackMap locals:
StackMap stack:
16: aload 0
getfield org.apache.catalina.webresources.StandardRoot.main:Lorg/apache/catalina/WebResourceSet;
aload 8
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 18
17: aload 3
astore 5
end local 8 18: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int org.apache.catalina.WebResource org.apache.catalina.WebResource org.apache.catalina.WebResource java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 6 19: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int org.apache.catalina.WebResource org.apache.catalina.WebResource org.apache.catalina.WebResource top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
20: aload 4
ifnull 22
21: aload 4
areturn
22: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int org.apache.catalina.WebResource org.apache.catalina.WebResource org.apache.catalina.WebResource
StackMap stack:
aload 5
areturn
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 23 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 23 1 path Ljava/lang/String;
0 23 2 useClassLoaderResources Z
1 23 3 result Lorg/apache/catalina/WebResource;
2 23 4 virtual Lorg/apache/catalina/WebResource;
3 23 5 mainEmpty Lorg/apache/catalina/WebResource;
5 19 6 list Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
7 18 8 webResourceSet Lorg/apache/catalina/WebResourceSet;
MethodParameters:
Name Flags
path
useClassLoaderResources
public org.apache.catalina.WebResource[] getResources(java.lang.String);
descriptor: (Ljava/lang/String;)[Lorg/apache/catalina/WebResource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.apache.catalina.webresources.StandardRoot.getResources:(Ljava/lang/String;Z)[Lorg/apache/catalina/WebResource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
private org.apache.catalina.WebResource[] getResources(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)[Lorg/apache/catalina/WebResource;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.apache.catalina.webresources.StandardRoot.validate:(Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 0
invokevirtual org.apache.catalina.webresources.StandardRoot.isCachingAllowed:()Z
ifeq 3
2: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
aload 1
iload 2
invokevirtual org.apache.catalina.webresources.Cache.getResources:(Ljava/lang/String;Z)[Lorg/apache/catalina/WebResource;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual org.apache.catalina.webresources.StandardRoot.getResourcesInternal:(Ljava/lang/String;Z)[Lorg/apache/catalina/WebResource;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 4 1 path Ljava/lang/String;
0 4 2 useClassLoaderResources Z
MethodParameters:
Name Flags
path
useClassLoaderResources
protected org.apache.catalina.WebResource[] getResourcesInternal(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)[Lorg/apache/catalina/WebResource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=9, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 10
StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int java.util.List top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 3: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 9
StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int java.util.List java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 6
start local 6 5: iload 2
ifne 6
aload 6
invokeinterface org.apache.catalina.WebResourceSet.getClassLoaderOnly:()Z
ifne 9
6: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int java.util.List java.util.List java.util.Iterator org.apache.catalina.WebResourceSet java.util.Iterator
StackMap stack:
aload 6
aload 1
invokeinterface org.apache.catalina.WebResourceSet.getResource:(Ljava/lang/String;)Lorg/apache/catalina/WebResource;
astore 8
start local 8 7: aload 8
invokeinterface org.apache.catalina.WebResource.exists:()Z
ifeq 9
8: aload 3
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 6 9: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int java.util.List java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 4 10: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
11: aload 3
invokeinterface java.util.List.size:()I
ifne 13
12: aload 3
aload 0
getfield org.apache.catalina.webresources.StandardRoot.main:Lorg/apache/catalina/WebResourceSet;
aload 1
invokeinterface org.apache.catalina.WebResourceSet.getResource:(Ljava/lang/String;)Lorg/apache/catalina/WebResource;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String int java.util.List
StackMap stack:
aload 3
aload 3
invokeinterface java.util.List.size:()I
anewarray org.apache.catalina.WebResource
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.catalina.WebResource[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 14 1 path Ljava/lang/String;
0 14 2 useClassLoaderResources Z
1 14 3 result Ljava/util/List<Lorg/apache/catalina/WebResource;>;
3 10 4 list Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
5 9 6 webResourceSet Lorg/apache/catalina/WebResourceSet;
7 9 8 webResource Lorg/apache/catalina/WebResource;
MethodParameters:
Name Flags
path
useClassLoaderResources
public org.apache.catalina.WebResource[] listResources(java.lang.String);
descriptor: (Ljava/lang/String;)[Lorg/apache/catalina/WebResource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.apache.catalina.webresources.StandardRoot.listResources:(Ljava/lang/String;Z)[Lorg/apache/catalina/WebResource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
protected org.apache.catalina.WebResource[] listResources(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)[Lorg/apache/catalina/WebResource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 2
1: aload 0
aload 1
invokevirtual org.apache.catalina.webresources.StandardRoot.validate:(Ljava/lang/String;)Ljava/lang/String;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
invokevirtual org.apache.catalina.webresources.StandardRoot.list:(Ljava/lang/String;Z)[Ljava/lang/String;
astore 3
start local 3 3: aload 3
arraylength
anewarray org.apache.catalina.WebResource
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 11
6: StackMap locals: java.lang.String[] org.apache.catalina.WebResource[] int
StackMap stack:
aload 1
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 9
7: aload 4
iload 5
aload 0
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
aload 3
iload 5
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
iconst_0
invokevirtual org.apache.catalina.webresources.StandardRoot.getResource:(Ljava/lang/String;ZZ)Lorg/apache/catalina/WebResource;
aastore
8: goto 10
9: StackMap locals:
StackMap stack:
aload 4
iload 5
aload 0
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;
aload 3
iload 5
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
iconst_0
invokevirtual org.apache.catalina.webresources.StandardRoot.getResource:(Ljava/lang/String;ZZ)Lorg/apache/catalina/WebResource;
aastore
10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
aload 3
arraylength
if_icmplt 6
end local 5 12: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 13 1 path Ljava/lang/String;
0 13 2 validate Z
3 13 3 resources [Ljava/lang/String;
4 13 4 result [Lorg/apache/catalina/WebResource;
5 12 5 i I
MethodParameters:
Name Flags
path
validate
public void createWebResourceSet(org.apache.catalina.WebResourceRoot$ResourceSetType, java.lang.String, java.net.URL, java.lang.String);
descriptor: (Lorg/apache/catalina/WebResourceRoot$ResourceSetType;Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.apache.catalina.webresources.StandardRoot$BaseLocation
dup
aload 3
invokespecial org.apache.catalina.webresources.StandardRoot$BaseLocation.<init>:(Ljava/net/URL;)V
astore 5
start local 5 1: aload 0
aload 1
aload 2
aload 5
invokevirtual org.apache.catalina.webresources.StandardRoot$BaseLocation.getBasePath:()Ljava/lang/String;
2: aload 5
invokevirtual org.apache.catalina.webresources.StandardRoot$BaseLocation.getArchivePath:()Ljava/lang/String;
aload 4
3: invokevirtual org.apache.catalina.webresources.StandardRoot.createWebResourceSet:(Lorg/apache/catalina/WebResourceRoot$ResourceSetType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
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/StandardRoot;
0 5 1 type Lorg/apache/catalina/WebResourceRoot$ResourceSetType;
0 5 2 webAppMount Ljava/lang/String;
0 5 3 url Ljava/net/URL;
0 5 4 internalPath Ljava/lang/String;
1 5 5 baseLocation Lorg/apache/catalina/webresources/StandardRoot$BaseLocation;
MethodParameters:
Name Flags
type
webAppMount
url
internalPath
public void createWebResourceSet(org.apache.catalina.WebResourceRoot$ResourceSetType, java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Lorg/apache/catalina/WebResourceRoot$ResourceSetType;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: invokestatic org.apache.catalina.webresources.StandardRoot.$SWITCH_TABLE$org$apache$catalina$WebResourceRoot$ResourceSetType:()[I
aload 1
invokevirtual org.apache.catalina.WebResourceRoot$ResourceSetType.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 1
2: 5
3: 7
4: 3
default: 9
}
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.StandardRoot.preResources:Ljava/util/List;
astore 6
start local 6 2: goto 12
end local 6 3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.StandardRoot.classResources:Ljava/util/List;
astore 6
start local 6 4: goto 12
end local 6 5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.StandardRoot.jarResources:Ljava/util/List;
astore 6
start local 6 6: goto 12
end local 6 7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.StandardRoot.postResources:Ljava/util/List;
astore 6
start local 6 8: goto 12
end local 6 9: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
10: getstatic org.apache.catalina.webresources.StandardRoot.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardRoot.createUnknownType"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
11: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 6 12: StackMap locals: java.util.List
StackMap stack:
new java.io.File
dup
aload 3
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 8
start local 8 13: aload 8
invokevirtual java.io.File.isFile:()Z
ifeq 28
14: aload 4
ifnull 19
15: new org.apache.catalina.webresources.JarWarResourceSet
dup
aload 0
aload 2
aload 3
16: aload 4
aload 5
17: invokespecial org.apache.catalina.webresources.JarWarResourceSet.<init>:(Lorg/apache/catalina/WebResourceRoot;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 7
start local 7 18: goto 35
end local 7 StackMap locals: org.apache.catalina.webresources.StandardRoot org.apache.catalina.WebResourceRoot$ResourceSetType java.lang.String java.lang.String java.lang.String java.lang.String java.util.List top java.io.File
StackMap stack:
19: aload 8
invokevirtual java.io.File.getName:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 24
20: new org.apache.catalina.webresources.JarResourceSet
dup
aload 0
aload 2
aload 3
21: aload 5
22: invokespecial org.apache.catalina.webresources.JarResourceSet.<init>:(Lorg/apache/catalina/WebResourceRoot;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 7
start local 7 23: goto 35
end local 7 24: StackMap locals:
StackMap stack:
new org.apache.catalina.webresources.FileResourceSet
dup
aload 0
aload 2
aload 3
25: aload 5
26: invokespecial org.apache.catalina.webresources.FileResourceSet.<init>:(Lorg/apache/catalina/WebResourceRoot;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 7
start local 7 27: goto 35
end local 7 StackMap locals:
StackMap stack:
28: aload 8
invokevirtual java.io.File.isDirectory:()Z
ifeq 32
29: new org.apache.catalina.webresources.DirResourceSet
dup
aload 0
aload 2
aload 3
aload 5
invokespecial org.apache.catalina.webresources.DirResourceSet.<init>:(Lorg/apache/catalina/WebResourceRoot;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
30: astore 7
start local 7 31: goto 35
end local 7 32: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
33: getstatic org.apache.catalina.webresources.StandardRoot.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardRoot.createInvalidFile"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 8
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
34: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
start local 7 35: StackMap locals: org.apache.catalina.webresources.StandardRoot org.apache.catalina.WebResourceRoot$ResourceSetType java.lang.String java.lang.String java.lang.String java.lang.String java.util.List org.apache.catalina.WebResourceSet java.io.File
StackMap stack:
aload 1
getstatic org.apache.catalina.WebResourceRoot$ResourceSetType.CLASSES_JAR:Lorg/apache/catalina/WebResourceRoot$ResourceSetType;
invokevirtual org.apache.catalina.WebResourceRoot$ResourceSetType.equals:(Ljava/lang/Object;)Z
ifeq 38
36: aload 7
iconst_1
invokeinterface org.apache.catalina.WebResourceSet.setClassLoaderOnly:(Z)V
37: goto 40
StackMap locals:
StackMap stack:
38: aload 1
getstatic org.apache.catalina.WebResourceRoot$ResourceSetType.RESOURCE_JAR:Lorg/apache/catalina/WebResourceRoot$ResourceSetType;
invokevirtual org.apache.catalina.WebResourceRoot$ResourceSetType.equals:(Ljava/lang/Object;)Z
ifeq 40
39: aload 7
iconst_1
invokeinterface org.apache.catalina.WebResourceSet.setStaticOnly:(Z)V
40: StackMap locals:
StackMap stack:
aload 6
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
41: return
end local 8 end local 7 end local 6 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 42 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 42 1 type Lorg/apache/catalina/WebResourceRoot$ResourceSetType;
0 42 2 webAppMount Ljava/lang/String;
0 42 3 base Ljava/lang/String;
0 42 4 archivePath Ljava/lang/String;
0 42 5 internalPath Ljava/lang/String;
2 3 6 resourceList Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
4 5 6 resourceList Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
6 7 6 resourceList Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
8 9 6 resourceList Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
12 42 6 resourceList Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
18 19 7 resourceSet Lorg/apache/catalina/WebResourceSet;
23 24 7 resourceSet Lorg/apache/catalina/WebResourceSet;
27 28 7 resourceSet Lorg/apache/catalina/WebResourceSet;
31 32 7 resourceSet Lorg/apache/catalina/WebResourceSet;
35 42 7 resourceSet Lorg/apache/catalina/WebResourceSet;
13 42 8 file Ljava/io/File;
MethodParameters:
Name Flags
type
webAppMount
base
archivePath
internalPath
public void addPreResources(org.apache.catalina.WebResourceSet);
descriptor: (Lorg/apache/catalina/WebResourceSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface org.apache.catalina.WebResourceSet.setRoot:(Lorg/apache/catalina/WebResourceRoot;)V
1: aload 0
getfield org.apache.catalina.webresources.StandardRoot.preResources:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 3 1 webResourceSet Lorg/apache/catalina/WebResourceSet;
MethodParameters:
Name Flags
webResourceSet
public org.apache.catalina.WebResourceSet[] getPreResources();
descriptor: ()[Lorg/apache/catalina/WebResourceSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.preResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.preResources:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray org.apache.catalina.WebResourceSet
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
public void addJarResources(org.apache.catalina.WebResourceSet);
descriptor: (Lorg/apache/catalina/WebResourceSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface org.apache.catalina.WebResourceSet.setRoot:(Lorg/apache/catalina/WebResourceRoot;)V
1: aload 0
getfield org.apache.catalina.webresources.StandardRoot.jarResources:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 3 1 webResourceSet Lorg/apache/catalina/WebResourceSet;
MethodParameters:
Name Flags
webResourceSet
public org.apache.catalina.WebResourceSet[] getJarResources();
descriptor: ()[Lorg/apache/catalina/WebResourceSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.jarResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.jarResources:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray org.apache.catalina.WebResourceSet
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
public void addPostResources(org.apache.catalina.WebResourceSet);
descriptor: (Lorg/apache/catalina/WebResourceSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface org.apache.catalina.WebResourceSet.setRoot:(Lorg/apache/catalina/WebResourceRoot;)V
1: aload 0
getfield org.apache.catalina.webresources.StandardRoot.postResources:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 3 1 webResourceSet Lorg/apache/catalina/WebResourceSet;
MethodParameters:
Name Flags
webResourceSet
public org.apache.catalina.WebResourceSet[] getPostResources();
descriptor: ()[Lorg/apache/catalina/WebResourceSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.postResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.postResources:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray org.apache.catalina.WebResourceSet
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
protected org.apache.catalina.WebResourceSet[] getClassResources();
descriptor: ()[Lorg/apache/catalina/WebResourceSet;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.classResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.classResources:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray org.apache.catalina.WebResourceSet
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
protected void addClassResources(org.apache.catalina.WebResourceSet);
descriptor: (Lorg/apache/catalina/WebResourceSet;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface org.apache.catalina.WebResourceSet.setRoot:(Lorg/apache/catalina/WebResourceRoot;)V
1: aload 0
getfield org.apache.catalina.webresources.StandardRoot.classResources:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 3 1 webResourceSet Lorg/apache/catalina/WebResourceSet;
MethodParameters:
Name Flags
webResourceSet
public void setAllowLinking(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allowLinking:Z
iload 1
if_icmpeq 2
aload 0
getfield org.apache.catalina.webresources.StandardRoot.cachingAllowed:Z
ifeq 2
1: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
invokevirtual org.apache.catalina.webresources.Cache.clear:()V
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.catalina.webresources.StandardRoot.allowLinking:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 4 1 allowLinking Z
MethodParameters:
Name Flags
allowLinking
public boolean getAllowLinking();
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.StandardRoot.allowLinking:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
public void setCachingAllowed(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.webresources.StandardRoot.cachingAllowed:Z
1: iload 1
ifne 3
2: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
invokevirtual org.apache.catalina.webresources.Cache.clear:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 4 1 cachingAllowed Z
MethodParameters:
Name Flags
cachingAllowed
public boolean isCachingAllowed();
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.StandardRoot.cachingAllowed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
public long getCacheTtl();
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.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
invokevirtual org.apache.catalina.webresources.Cache.getTtl:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
public void setCacheTtl(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
lload 1
invokevirtual org.apache.catalina.webresources.Cache.setTtl:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 2 1 cacheTtl J
MethodParameters:
Name Flags
cacheTtl
public long getCacheMaxSize();
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.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
invokevirtual org.apache.catalina.webresources.Cache.getMaxSize:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
public void setCacheMaxSize(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
lload 1
invokevirtual org.apache.catalina.webresources.Cache.setMaxSize:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 2 1 cacheMaxSize J
MethodParameters:
Name Flags
cacheMaxSize
public void setCacheObjectMaxSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
iload 1
invokevirtual org.apache.catalina.webresources.Cache.setObjectMaxSize:(I)V
1: aload 0
invokevirtual org.apache.catalina.webresources.StandardRoot.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifeq 3
2: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
invokevirtual org.apache.catalina.webresources.Cache.enforceObjectMaxSizeLimit:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 4 1 cacheObjectMaxSize I
MethodParameters:
Name Flags
cacheObjectMaxSize
public int getCacheObjectMaxSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
invokevirtual org.apache.catalina.webresources.Cache.getObjectMaxSize:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
public void setTrackLockedFiles(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.webresources.StandardRoot.trackLockedFiles:Z
1: iload 1
ifne 3
2: aload 0
getfield org.apache.catalina.webresources.StandardRoot.trackedResources:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 4 1 trackLockedFiles Z
MethodParameters:
Name Flags
trackLockedFiles
public boolean getTrackLockedFiles();
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.StandardRoot.trackLockedFiles:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
public java.util.List<java.lang.String> getTrackedResources();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield org.apache.catalina.webresources.StandardRoot.trackedResources:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield org.apache.catalina.webresources.StandardRoot.trackedResources:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.apache.catalina.webresources.StandardRoot java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.TrackedWebResource
astore 2
start local 2 3: aload 1
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/webresources/StandardRoot;
1 6 1 result Ljava/util/List<Ljava/lang/String;>;
3 4 2 resource Lorg/apache/catalina/TrackedWebResource;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public org.apache.catalina.Context getContext();
descriptor: ()Lorg/apache/catalina/Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.context:Lorg/apache/catalina/Context;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
public void setContext(org.apache.catalina.Context);
descriptor: (Lorg/apache/catalina/Context;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.catalina.webresources.StandardRoot.context:Lorg/apache/catalina/Context;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 2 1 context Lorg/apache/catalina/Context;
MethodParameters:
Name Flags
context
protected void processWebInfLib();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
ldc "/WEB-INF/lib"
iconst_0
invokevirtual org.apache.catalina.webresources.StandardRoot.listResources:(Ljava/lang/String;Z)[Lorg/apache/catalina/WebResource;
astore 1
start local 1 1: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 8
StackMap locals: org.apache.catalina.webresources.StandardRoot org.apache.catalina.WebResource[] top int int org.apache.catalina.WebResource[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
invokeinterface org.apache.catalina.WebResource.isFile:()Z
ifeq 7
aload 2
invokeinterface org.apache.catalina.WebResource.getName:()Ljava/lang/String;
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 7
4: aload 0
getstatic org.apache.catalina.WebResourceRoot$ResourceSetType.CLASSES_JAR:Lorg/apache/catalina/WebResourceRoot$ResourceSetType;
5: ldc "/WEB-INF/classes"
aload 2
invokeinterface org.apache.catalina.WebResource.getURL:()Ljava/net/URL;
ldc "/"
6: invokevirtual org.apache.catalina.webresources.StandardRoot.createWebResourceSet:(Lorg/apache/catalina/WebResourceRoot$ResourceSetType;Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;)V
end local 2 7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 4
if_icmplt 2
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/webresources/StandardRoot;
1 10 1 possibleJars [Lorg/apache/catalina/WebResource;
3 7 2 possibleJar Lorg/apache/catalina/WebResource;
Exceptions:
throws org.apache.catalina.LifecycleException
protected final void setMainResources(org.apache.catalina.WebResourceSet);
descriptor: (Lorg/apache/catalina/WebResourceSet;)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.StandardRoot.main:Lorg/apache/catalina/WebResourceSet;
1: aload 0
getfield org.apache.catalina.webresources.StandardRoot.mainResources:Ljava/util/List;
invokeinterface java.util.List.clear:()V
2: aload 0
getfield org.apache.catalina.webresources.StandardRoot.mainResources:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 4 1 main Lorg/apache/catalina/WebResourceSet;
MethodParameters:
Name Flags
main
public void backgroundProcess();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
invokevirtual org.apache.catalina.webresources.Cache.backgroundProcess:()V
1: aload 0
invokevirtual org.apache.catalina.webresources.StandardRoot.gc:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/webresources/StandardRoot;
public void gc();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=5, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: org.apache.catalina.webresources.StandardRoot top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 1
start local 1 2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.apache.catalina.webresources.StandardRoot java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 3
start local 3 4: aload 3
invokeinterface org.apache.catalina.WebResourceSet.gc:()V
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 1 6: StackMap locals: org.apache.catalina.webresources.StandardRoot top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/webresources/StandardRoot;
2 6 1 list Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
4 5 3 webResourceSet Lorg/apache/catalina/WebResourceSet;
public void registerTrackedResource(org.apache.catalina.TrackedWebResource);
descriptor: (Lorg/apache/catalina/TrackedWebResource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.trackedResources:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 2 1 trackedResource Lorg/apache/catalina/TrackedWebResource;
MethodParameters:
Name Flags
trackedResource
public void deregisterTrackedResource(org.apache.catalina.TrackedWebResource);
descriptor: (Lorg/apache/catalina/TrackedWebResource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.trackedResources:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/webresources/StandardRoot;
0 2 1 trackedResource Lorg/apache/catalina/TrackedWebResource;
MethodParameters:
Name Flags
trackedResource
public java.util.List<java.net.URL> getBaseUrls();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: org.apache.catalina.webresources.StandardRoot java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: org.apache.catalina.webresources.StandardRoot java.util.List java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 4
start local 4 5: aload 4
invokeinterface org.apache.catalina.WebResourceSet.getClassLoaderOnly:()Z
ifne 9
6: aload 4
invokeinterface org.apache.catalina.WebResourceSet.getBaseUrl:()Ljava/net/URL;
astore 6
start local 6 7: aload 6
ifnull 9
8: aload 1
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 9: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 10: StackMap locals: org.apache.catalina.webresources.StandardRoot java.util.List top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
11: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/webresources/StandardRoot;
1 12 1 result Ljava/util/List<Ljava/net/URL;>;
3 10 2 list Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
5 9 4 webResourceSet Lorg/apache/catalina/WebResourceSet;
7 9 6 url Ljava/net/URL;
Signature: ()Ljava/util/List<Ljava/net/URL;>;
protected boolean isPackedWarFile();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.main:Lorg/apache/catalina/WebResourceSet;
instanceof org.apache.catalina.webresources.WarResourceSet
ifeq 1
aload 0
getfield org.apache.catalina.webresources.StandardRoot.preResources:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 1
aload 0
getfield org.apache.catalina.webresources.StandardRoot.postResources:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/webresources/StandardRoot;
protected java.lang.String getDomainInternal();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getDomain:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/webresources/StandardRoot;
protected java.lang.String getObjectNameKeyProperties();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "type=WebResourceRoot"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
aload 0
getfield org.apache.catalina.webresources.StandardRoot.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getMBeanKeyProperties:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/webresources/StandardRoot;
1 3 1 keyProperties Ljava/lang/StringBuilder;
protected void initInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
invokespecial org.apache.catalina.util.LifecycleMBeanBase.initInternal:()V
1: aload 0
aload 0
aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.webresources.StandardRoot.getObjectNameKeyProperties:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ",name=Cache"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.catalina.webresources.StandardRoot.register:(Ljava/lang/Object;Ljava/lang/String;)Ljavax/management/ObjectName;
putfield org.apache.catalina.webresources.StandardRoot.cacheJmxName:Ljavax/management/ObjectName;
2: aload 0
invokevirtual org.apache.catalina.webresources.StandardRoot.registerURLStreamHandlerFactory:()V
3: aload 0
getfield org.apache.catalina.webresources.StandardRoot.context:Lorg/apache/catalina/Context;
ifnonnull 7
4: new java.lang.IllegalStateException
dup
5: getstatic org.apache.catalina.webresources.StandardRoot.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardRoot.noContext"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
6: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 13
StackMap locals: org.apache.catalina.webresources.StandardRoot top java.util.Iterator
StackMap stack:
8: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 1
start local 1 9: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: org.apache.catalina.webresources.StandardRoot java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
10: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 3
start local 3 11: aload 3
invokeinterface org.apache.catalina.WebResourceSet.init:()V
end local 3 12: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
end local 1 13: StackMap locals: org.apache.catalina.webresources.StandardRoot top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
14: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/catalina/webresources/StandardRoot;
9 13 1 list Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
11 12 3 webResourceSet Lorg/apache/catalina/WebResourceSet;
Exceptions:
throws org.apache.catalina.LifecycleException
protected void registerURLStreamHandlerFactory();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.apache.tomcat.util.compat.JreCompat.isGraalAvailable:()Z
ifne 2
1: invokestatic org.apache.catalina.webresources.TomcatURLStreamHandlerFactory.register:()Z
pop
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/webresources/StandardRoot;
protected void startInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.mainResources:Ljava/util/List;
invokeinterface java.util.List.clear:()V
1: aload 0
aload 0
invokevirtual org.apache.catalina.webresources.StandardRoot.createMainResourceSet:()Lorg/apache/catalina/WebResourceSet;
putfield org.apache.catalina.webresources.StandardRoot.main:Lorg/apache/catalina/WebResourceSet;
2: aload 0
getfield org.apache.catalina.webresources.StandardRoot.mainResources:Ljava/util/List;
aload 0
getfield org.apache.catalina.webresources.StandardRoot.main:Lorg/apache/catalina/WebResourceSet;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 10
StackMap locals: org.apache.catalina.webresources.StandardRoot top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 1
start local 1 5: aload 1
aload 0
getfield org.apache.catalina.webresources.StandardRoot.classResources:Ljava/util/List;
if_acmpeq 10
6: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: org.apache.catalina.webresources.StandardRoot java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 3
start local 3 8: aload 3
invokeinterface org.apache.catalina.WebResourceSet.start:()V
end local 3 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 1 10: StackMap locals: org.apache.catalina.webresources.StandardRoot top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
11: aload 0
invokevirtual org.apache.catalina.webresources.StandardRoot.processWebInfLib:()V
12: aload 0
getfield org.apache.catalina.webresources.StandardRoot.classResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 15
StackMap locals:
StackMap stack:
13: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 1
start local 1 14: aload 1
invokeinterface org.apache.catalina.WebResourceSet.start:()V
end local 1 15: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
16: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
invokevirtual org.apache.catalina.webresources.Cache.enforceObjectMaxSizeLimit:()V
17: aload 0
getstatic org.apache.catalina.LifecycleState.STARTING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.webresources.StandardRoot.setState:(Lorg/apache/catalina/LifecycleState;)V
18: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/catalina/webresources/StandardRoot;
5 10 1 list Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
8 9 3 webResourceSet Lorg/apache/catalina/WebResourceSet;
14 15 1 classResource Lorg/apache/catalina/WebResourceSet;
Exceptions:
throws org.apache.catalina.LifecycleException
protected org.apache.catalina.WebResourceSet createMainResourceSet();
descriptor: ()Lorg/apache/catalina/WebResourceSet;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getDocBase:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: new org.apache.catalina.webresources.EmptyResourceSet
dup
aload 0
invokespecial org.apache.catalina.webresources.EmptyResourceSet.<init>:(Lorg/apache/catalina/WebResourceRoot;)V
astore 2
start local 2 3: goto 18
end local 2 4: StackMap locals: java.lang.String
StackMap stack:
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
start local 3 5: aload 3
invokevirtual java.io.File.isAbsolute:()Z
ifne 7
6: new java.io.File
dup
aload 0
getfield org.apache.catalina.webresources.StandardRoot.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getParent:()Lorg/apache/catalina/Container;
checkcast org.apache.catalina.Host
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 3
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 3
7: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String top java.io.File
StackMap stack:
aload 3
invokevirtual java.io.File.isDirectory:()Z
ifeq 10
8: new org.apache.catalina.webresources.DirResourceSet
dup
aload 0
ldc "/"
aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
ldc "/"
invokespecial org.apache.catalina.webresources.DirResourceSet.<init>:(Lorg/apache/catalina/WebResourceRoot;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 9: goto 18
end local 2 StackMap locals:
StackMap stack:
10: aload 3
invokevirtual java.io.File.isFile:()Z
ifeq 13
aload 1
ldc ".war"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 13
11: new org.apache.catalina.webresources.WarResourceSet
dup
aload 0
ldc "/"
aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokespecial org.apache.catalina.webresources.WarResourceSet.<init>:(Lorg/apache/catalina/WebResourceRoot;Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 12: goto 18
end local 2 13: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
14: getstatic org.apache.catalina.webresources.StandardRoot.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardRoot.startInvalidMain"
iconst_1
anewarray java.lang.Object
dup
iconst_0
15: aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
16: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
17: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 start local 2 18: StackMap locals: org.apache.catalina.webresources.StandardRoot java.lang.String org.apache.catalina.WebResourceSet
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/catalina/webresources/StandardRoot;
1 19 1 docBase Ljava/lang/String;
3 4 2 mainResourceSet Lorg/apache/catalina/WebResourceSet;
9 10 2 mainResourceSet Lorg/apache/catalina/WebResourceSet;
12 13 2 mainResourceSet Lorg/apache/catalina/WebResourceSet;
18 19 2 mainResourceSet Lorg/apache/catalina/WebResourceSet;
5 18 3 f Ljava/io/File;
protected void stopInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=5, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: org.apache.catalina.webresources.StandardRoot top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 1
start local 1 2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.apache.catalina.webresources.StandardRoot java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 3
start local 3 4: aload 3
invokeinterface org.apache.catalina.WebResourceSet.stop:()V
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 1 6: StackMap locals: org.apache.catalina.webresources.StandardRoot top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: aload 0
getfield org.apache.catalina.webresources.StandardRoot.main:Lorg/apache/catalina/WebResourceSet;
ifnull 9
8: aload 0
getfield org.apache.catalina.webresources.StandardRoot.main:Lorg/apache/catalina/WebResourceSet;
invokeinterface org.apache.catalina.WebResourceSet.destroy:()V
9: StackMap locals: org.apache.catalina.webresources.StandardRoot
StackMap stack:
aload 0
getfield org.apache.catalina.webresources.StandardRoot.mainResources:Ljava/util/List;
invokeinterface java.util.List.clear:()V
10: aload 0
getfield org.apache.catalina.webresources.StandardRoot.jarResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 13
StackMap locals: org.apache.catalina.webresources.StandardRoot top java.util.Iterator
StackMap stack:
11: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 1
start local 1 12: aload 1
invokeinterface org.apache.catalina.WebResourceSet.destroy:()V
end local 1 13: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
14: aload 0
getfield org.apache.catalina.webresources.StandardRoot.jarResources:Ljava/util/List;
invokeinterface java.util.List.clear:()V
15: aload 0
getfield org.apache.catalina.webresources.StandardRoot.classResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 18
StackMap locals:
StackMap stack:
16: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 1
start local 1 17: aload 1
invokeinterface org.apache.catalina.WebResourceSet.destroy:()V
end local 1 18: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
19: aload 0
getfield org.apache.catalina.webresources.StandardRoot.classResources:Ljava/util/List;
invokeinterface java.util.List.clear:()V
20: aload 0
getfield org.apache.catalina.webresources.StandardRoot.trackedResources:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 31
StackMap locals:
StackMap stack:
21: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.TrackedWebResource
astore 1
start local 1 22: getstatic org.apache.catalina.webresources.StandardRoot.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.webresources.StandardRoot.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "standardRoot.lockedFile"
iconst_2
anewarray java.lang.Object
dup
iconst_0
23: aload 0
getfield org.apache.catalina.webresources.StandardRoot.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
aastore
dup
iconst_1
24: aload 1
invokeinterface org.apache.catalina.TrackedWebResource.getName:()Ljava/lang/String;
aastore
25: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
26: aload 1
invokeinterface org.apache.catalina.TrackedWebResource.getCreatedBy:()Ljava/lang/Exception;
27: invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
28: aload 1
invokeinterface org.apache.catalina.TrackedWebResource.close:()V
29: goto 31
StackMap locals: org.apache.catalina.webresources.StandardRoot org.apache.catalina.TrackedWebResource java.util.Iterator
StackMap stack: java.io.IOException
30: pop
end local 1 31: StackMap locals: org.apache.catalina.webresources.StandardRoot top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
32: aload 0
getfield org.apache.catalina.webresources.StandardRoot.cache:Lorg/apache/catalina/webresources/Cache;
invokevirtual org.apache.catalina.webresources.Cache.clear:()V
33: aload 0
getstatic org.apache.catalina.LifecycleState.STOPPING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.webresources.StandardRoot.setState:(Lorg/apache/catalina/LifecycleState;)V
34: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lorg/apache/catalina/webresources/StandardRoot;
2 6 1 list Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
4 5 3 webResourceSet Lorg/apache/catalina/WebResourceSet;
12 13 1 webResourceSet Lorg/apache/catalina/WebResourceSet;
17 18 1 webResourceSet Lorg/apache/catalina/WebResourceSet;
22 31 1 trackedResource Lorg/apache/catalina/TrackedWebResource;
Exception table:
from to target type
28 29 30 Class java.io.IOException
Exceptions:
throws org.apache.catalina.LifecycleException
protected void destroyInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.webresources.StandardRoot.allResources:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: org.apache.catalina.webresources.StandardRoot top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 1
start local 1 2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.apache.catalina.webresources.StandardRoot java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.WebResourceSet
astore 3
start local 3 4: aload 3
invokeinterface org.apache.catalina.WebResourceSet.destroy:()V
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 1 6: StackMap locals: org.apache.catalina.webresources.StandardRoot top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: aload 0
aload 0
getfield org.apache.catalina.webresources.StandardRoot.cacheJmxName:Ljavax/management/ObjectName;
invokevirtual org.apache.catalina.webresources.StandardRoot.unregister:(Ljavax/management/ObjectName;)V
8: aload 0
invokespecial org.apache.catalina.util.LifecycleMBeanBase.destroyInternal:()V
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/webresources/StandardRoot;
2 6 1 list Ljava/util/List<Lorg/apache/catalina/WebResourceSet;>;
4 5 3 webResourceSet Lorg/apache/catalina/WebResourceSet;
Exceptions:
throws org.apache.catalina.LifecycleException
static int[] $SWITCH_TABLE$org$apache$catalina$WebResourceRoot$ResourceSetType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.catalina.webresources.StandardRoot.$SWITCH_TABLE$org$apache$catalina$WebResourceRoot$ResourceSetType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.catalina.WebResourceRoot$ResourceSetType.values:()[Lorg/apache/catalina/WebResourceRoot$ResourceSetType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.catalina.WebResourceRoot$ResourceSetType.CLASSES_JAR:Lorg/apache/catalina/WebResourceRoot$ResourceSetType;
invokevirtual org.apache.catalina.WebResourceRoot$ResourceSetType.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.apache.catalina.WebResourceRoot$ResourceSetType.POST:Lorg/apache/catalina/WebResourceRoot$ResourceSetType;
invokevirtual org.apache.catalina.WebResourceRoot$ResourceSetType.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.catalina.WebResourceRoot$ResourceSetType.PRE:Lorg/apache/catalina/WebResourceRoot$ResourceSetType;
invokevirtual org.apache.catalina.WebResourceRoot$ResourceSetType.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.apache.catalina.WebResourceRoot$ResourceSetType.RESOURCE_JAR:Lorg/apache/catalina/WebResourceRoot$ResourceSetType;
invokevirtual org.apache.catalina.WebResourceRoot$ResourceSetType.ordinal:()I
iconst_2
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.apache.catalina.webresources.StandardRoot.$SWITCH_TABLE$org$apache$catalina$WebResourceRoot$ResourceSetType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "StandardRoot.java"
NestMembers:
org.apache.catalina.webresources.StandardRoot$BaseLocation
InnerClasses:
public final ResourceSetType = org.apache.catalina.WebResourceRoot$ResourceSetType of org.apache.catalina.WebResourceRoot
BaseLocation = org.apache.catalina.webresources.StandardRoot$BaseLocation of org.apache.catalina.webresources.StandardRoot