public class org.apache.catalina.loader.WebappLoader extends org.apache.catalina.util.LifecycleMBeanBase implements org.apache.catalina.Loader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.loader.WebappLoader
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
private org.apache.catalina.loader.WebappClassLoaderBase classLoader;
descriptor: Lorg/apache/catalina/loader/WebappClassLoaderBase;
flags: (0x0002) ACC_PRIVATE
private org.apache.catalina.Context context;
descriptor: Lorg/apache/catalina/Context;
flags: (0x0002) ACC_PRIVATE
private boolean delegate;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String loaderClass;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
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
protected final java.beans.PropertyChangeSupport support;
descriptor: Ljava/beans/PropertyChangeSupport;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private java.lang.String classpath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/catalina/loader/WebappLoader;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.loader.WebappLoader.log:Lorg/apache/juli/logging/Log;
1: ldc Lorg/apache/catalina/loader/WebappLoader;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.loader.WebappLoader.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
aconst_null
putfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
2: aload 0
aconst_null
putfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
3: aload 0
iconst_0
putfield org.apache.catalina.loader.WebappLoader.delegate:Z
4: aload 0
ldc Lorg/apache/catalina/loader/ParallelWebappClassLoader;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
putfield org.apache.catalina.loader.WebappLoader.loaderClass:Ljava/lang/String;
5: aload 0
new java.beans.PropertyChangeSupport
dup
aload 0
invokespecial java.beans.PropertyChangeSupport.<init>:(Ljava/lang/Object;)V
putfield org.apache.catalina.loader.WebappLoader.support:Ljava/beans/PropertyChangeSupport;
6: aload 0
aconst_null
putfield org.apache.catalina.loader.WebappLoader.classpath:Ljava/lang/String;
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/loader/WebappLoader;
public java.lang.ClassLoader getClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/loader/WebappLoader;
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.loader.WebappLoader.context:Lorg/apache/catalina/Context;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/loader/WebappLoader;
public void setContext(org.apache.catalina.Context);
descriptor: (Lorg/apache/catalina/Context;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
aload 1
if_acmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.loader.WebappLoader.getState:()Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.LifecycleState.isAvailable:()Z
ifeq 4
3: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.loader.WebappLoader.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "webappLoader.setContext.ise"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
astore 2
start local 2 5: aload 0
aload 1
putfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
6: aload 0
getfield org.apache.catalina.loader.WebappLoader.support:Ljava/beans/PropertyChangeSupport;
ldc "context"
aload 2
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/loader/WebappLoader;
0 8 1 context Lorg/apache/catalina/Context;
5 8 2 oldContext Lorg/apache/catalina/Context;
MethodParameters:
Name Flags
context
public boolean getDelegate();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.loader.WebappLoader.delegate:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/loader/WebappLoader;
public void setDelegate(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.catalina.loader.WebappLoader.delegate:Z
istore 2
start local 2 1: aload 0
iload 1
putfield org.apache.catalina.loader.WebappLoader.delegate:Z
2: aload 0
getfield org.apache.catalina.loader.WebappLoader.support:Ljava/beans/PropertyChangeSupport;
ldc "delegate"
iload 2
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
3: aload 0
getfield org.apache.catalina.loader.WebappLoader.delegate:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
4: invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/loader/WebappLoader;
0 6 1 delegate Z
1 6 2 oldDelegate Z
MethodParameters:
Name Flags
delegate
public java.lang.String getLoaderClass();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.loader.WebappLoader.loaderClass:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/loader/WebappLoader;
public void setLoaderClass(java.lang.String);
descriptor: (Ljava/lang/String;)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.loader.WebappLoader.loaderClass:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/loader/WebappLoader;
0 2 1 loaderClass Ljava/lang/String;
MethodParameters:
Name Flags
loaderClass
public void setLoaderInstance(org.apache.catalina.loader.WebappClassLoaderBase);
descriptor: (Lorg/apache/catalina/loader/WebappClassLoaderBase;)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.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
1: aload 0
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual org.apache.catalina.loader.WebappLoader.setLoaderClass:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/loader/WebappLoader;
0 3 1 loaderInstance Lorg/apache/catalina/loader/WebappClassLoaderBase;
MethodParameters:
Name Flags
loaderInstance
public void addPropertyChangeListener(java.beans.PropertyChangeListener);
descriptor: (Ljava/beans/PropertyChangeListener;)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.loader.WebappLoader.support:Ljava/beans/PropertyChangeSupport;
aload 1
invokevirtual java.beans.PropertyChangeSupport.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/loader/WebappLoader;
0 2 1 listener Ljava/beans/PropertyChangeListener;
MethodParameters:
Name Flags
listener
public void backgroundProcess();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.loader.WebappLoader.getContext:()Lorg/apache/catalina/Context;
astore 1
start local 1 1: aload 1
ifnull 11
2: aload 1
invokeinterface org.apache.catalina.Context.getReloadable:()Z
ifeq 11
aload 0
invokevirtual org.apache.catalina.loader.WebappLoader.modified:()Z
ifeq 11
3: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 4: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
ldc Lorg/apache/catalina/loader/WebappLoader;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
5: aload 1
invokeinterface org.apache.catalina.Context.reload:()V
6: goto 10
StackMap locals: org.apache.catalina.loader.WebappLoader org.apache.catalina.Context java.lang.ClassLoader
StackMap stack: java.lang.Throwable
7: astore 3
8: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 2
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
9: aload 3
athrow
10: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 2
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/loader/WebappLoader;
1 12 1 context Lorg/apache/catalina/Context;
4 11 2 originalTccl Ljava/lang/ClassLoader;
Exception table:
from to target type
4 7 7 any
public java.lang.String[] getLoaderRepositories();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
ifnonnull 2
1: iconst_0
anewarray java.lang.String
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
invokevirtual org.apache.catalina.loader.WebappClassLoaderBase.getURLs:()[Ljava/net/URL;
astore 1
start local 1 3: aload 1
arraylength
anewarray java.lang.String
astore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 8
6: StackMap locals: java.net.URL[] java.lang.String[] int
StackMap stack:
aload 2
iload 3
aload 1
iload 3
aaload
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
aastore
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 1
arraylength
if_icmplt 6
end local 3 9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/loader/WebappLoader;
3 10 1 urls [Ljava/net/URL;
4 10 2 result [Ljava/lang/String;
5 9 3 i I
public java.lang.String getLoaderRepositoriesString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.loader.WebappLoader.getLoaderRepositories:()[Ljava/lang/String;
astore 1
start local 1 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 2: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 6
StackMap locals: org.apache.catalina.loader.WebappLoader java.lang.String[] java.lang.StringBuilder top int int java.lang.String[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 2
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 3 5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 5
if_icmplt 3
7: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/catalina/loader/WebappLoader;
1 8 1 repositories [Ljava/lang/String;
2 8 2 sb Ljava/lang/StringBuilder;
4 5 3 repository Ljava/lang/String;
public java.lang.String getClasspath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.loader.WebappLoader.classpath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/loader/WebappLoader;
public boolean modified();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
ifnull 1
aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
invokevirtual org.apache.catalina.loader.WebappClassLoaderBase.modified:()Z
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/loader/WebappLoader;
public void removePropertyChangeListener(java.beans.PropertyChangeListener);
descriptor: (Ljava/beans/PropertyChangeListener;)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.loader.WebappLoader.support:Ljava/beans/PropertyChangeSupport;
aload 1
invokevirtual java.beans.PropertyChangeSupport.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/loader/WebappLoader;
0 2 1 listener Ljava/beans/PropertyChangeListener;
MethodParameters:
Name Flags
listener
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokestatic org.apache.catalina.util.ToStringUtil.toString:(Ljava/lang/Object;Lorg/apache/catalina/Container;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/loader/WebappLoader;
protected void startInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=3, args_size=1
start local 0 0: getstatic org.apache.catalina.loader.WebappLoader.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.apache.catalina.loader.WebappLoader.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.loader.WebappLoader.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "webappLoader.starting"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getResources:()Lorg/apache/catalina/WebResourceRoot;
ifnonnull 6
3: getstatic org.apache.catalina.loader.WebappLoader.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.loader.WebappLoader.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "webappLoader.noResources"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
4: aload 0
getstatic org.apache.catalina.LifecycleState.STARTING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.loader.WebappLoader.setState:(Lorg/apache/catalina/LifecycleState;)V
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.apache.catalina.loader.WebappLoader.createClassLoader:()Lorg/apache/catalina/loader/WebappClassLoaderBase;
putfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
7: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getResources:()Lorg/apache/catalina/WebResourceRoot;
invokevirtual org.apache.catalina.loader.WebappClassLoaderBase.setResources:(Lorg/apache/catalina/WebResourceRoot;)V
8: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
aload 0
getfield org.apache.catalina.loader.WebappLoader.delegate:Z
invokevirtual org.apache.catalina.loader.WebappClassLoaderBase.setDelegate:(Z)V
9: aload 0
invokevirtual org.apache.catalina.loader.WebappLoader.setClassPath:()V
10: aload 0
invokevirtual org.apache.catalina.loader.WebappLoader.setPermissions:()V
11: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
invokevirtual org.apache.catalina.loader.WebappClassLoaderBase.start:()V
12: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
astore 1
start local 1 13: aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 15
14: new java.lang.StringBuilder
dup
ldc "/"
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;
astore 1
15: StackMap locals: java.lang.String
StackMap stack:
new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getDomain:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ",host="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getParent:()Lorg/apache/catalina/Container;
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ",context="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 2
start local 2 19: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
20: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
aload 2
aconst_null
invokevirtual org.apache.tomcat.util.modeler.Registry.registerComponent:(Ljava/lang/Object;Ljavax/management/ObjectName;Ljava/lang/String;)V
end local 2 end local 1 21: goto 26
StackMap locals: org.apache.catalina.loader.WebappLoader
StackMap stack: java.lang.Throwable
22: astore 1
start local 1 23: aload 1
invokestatic org.apache.tomcat.util.ExceptionUtils.unwrapInvocationTargetException:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
24: aload 1
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
25: new org.apache.catalina.LifecycleException
dup
getstatic org.apache.catalina.loader.WebappLoader.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "webappLoader.startError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 1
invokespecial org.apache.catalina.LifecycleException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 26: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.catalina.LifecycleState.STARTING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.loader.WebappLoader.setState:(Lorg/apache/catalina/LifecycleState;)V
27: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/catalina/loader/WebappLoader;
13 21 1 contextName Ljava/lang/String;
19 21 2 cloname Ljavax/management/ObjectName;
23 26 1 t Ljava/lang/Throwable;
Exception table:
from to target type
6 21 22 Class java.lang.Throwable
Exceptions:
throws org.apache.catalina.LifecycleException
protected void stopInternal();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=1
start local 0 0: getstatic org.apache.catalina.loader.WebappLoader.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.apache.catalina.loader.WebappLoader.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.loader.WebappLoader.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "webappLoader.stopping"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.apache.catalina.LifecycleState.STOPPING:Lorg/apache/catalina/LifecycleState;
invokevirtual org.apache.catalina.loader.WebappLoader.setState:(Lorg/apache/catalina/LifecycleState;)V
3: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getServletContext:()Ljakarta/servlet/ServletContext;
astore 1
start local 1 4: aload 1
ldc "org.apache.catalina.jsp_classpath"
invokeinterface jakarta.servlet.ServletContext.removeAttribute:(Ljava/lang/String;)V
5: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
ifnull 23
6: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
invokevirtual org.apache.catalina.loader.WebappClassLoaderBase.stop:()V
7: goto 11
StackMap locals: org.apache.catalina.loader.WebappLoader jakarta.servlet.ServletContext
StackMap stack: java.lang.Throwable
8: astore 2
9: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
invokevirtual org.apache.catalina.loader.WebappClassLoaderBase.destroy:()V
10: aload 2
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
invokevirtual org.apache.catalina.loader.WebappClassLoaderBase.destroy:()V
12: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
astore 2
start local 2 13: aload 2
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 15
14: new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
15: StackMap locals: java.lang.String
StackMap stack:
new javax.management.ObjectName
dup
new java.lang.StringBuilder
dup
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getDomain:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":type="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ",host="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getParent:()Lorg/apache/catalina/Container;
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ",context="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
astore 3
start local 3 19: aconst_null
aconst_null
invokestatic org.apache.tomcat.util.modeler.Registry.getRegistry:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/apache/tomcat/util/modeler/Registry;
aload 3
invokevirtual org.apache.tomcat.util.modeler.Registry.unregisterComponent:(Ljavax/management/ObjectName;)V
end local 3 end local 2 20: goto 23
StackMap locals: org.apache.catalina.loader.WebappLoader jakarta.servlet.ServletContext
StackMap stack: java.lang.Exception
21: astore 2
start local 2 22: getstatic org.apache.catalina.loader.WebappLoader.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.loader.WebappLoader.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "webappLoader.stopError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 2
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 23: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
24: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/catalina/loader/WebappLoader;
4 25 1 servletContext Ljakarta/servlet/ServletContext;
13 20 2 contextName Ljava/lang/String;
19 20 3 cloname Ljavax/management/ObjectName;
22 23 2 e Ljava/lang/Exception;
Exception table:
from to target type
6 8 8 any
12 20 21 Class java.lang.Exception
Exceptions:
throws org.apache.catalina.LifecycleException
private org.apache.catalina.loader.WebappClassLoaderBase createClassLoader();
descriptor: ()Lorg/apache/catalina/loader/WebappClassLoaderBase;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
ifnull 2
1: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
areturn
2: StackMap locals:
StackMap stack:
ldc Lorg/apache/catalina/loader/ParallelWebappClassLoader;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 0
getfield org.apache.catalina.loader.WebappLoader.loaderClass:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: new org.apache.catalina.loader.ParallelWebappClassLoader
dup
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getParentClassLoader:()Ljava/lang/ClassLoader;
invokespecial org.apache.catalina.loader.ParallelWebappClassLoader.<init>:(Ljava/lang/ClassLoader;)V
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.loader.WebappLoader.loaderClass:Ljava/lang/String;
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 5: aconst_null
astore 2
start local 2 6: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getParentClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 7: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/ClassLoader;
aastore
astore 4
start local 4 8: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
astore 5
start local 5 9: aload 1
aload 4
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 6
start local 6 10: aload 6
aload 5
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.loader.WebappClassLoaderBase
astore 2
11: aload 2
areturn
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 12 0 this Lorg/apache/catalina/loader/WebappLoader;
5 12 1 clazz Ljava/lang/Class<*>;
6 12 2 classLoader Lorg/apache/catalina/loader/WebappClassLoaderBase;
7 12 3 parentClassLoader Ljava/lang/ClassLoader;
8 12 4 argTypes [Ljava/lang/Class;
9 12 5 args [Ljava/lang/Object;
10 12 6 constr Ljava/lang/reflect/Constructor<*>;
Exceptions:
throws java.lang.Exception
private void setPermissions();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=1
start local 0 0: getstatic org.apache.catalina.Globals.IS_SECURITY_ENABLED:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
ifnonnull 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getServletContext:()Ljakarta/servlet/ServletContext;
astore 1
start local 1 5: aload 1
ldc "jakarta.servlet.context.tempdir"
invokeinterface jakarta.servlet.ServletContext.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.io.File
6: astore 2
start local 2 7: aload 2
ifnull 19
8: aload 2
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 3
start local 3 9: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
10: new java.io.FilePermission
dup
aload 3
ldc "read,write"
invokespecial java.io.FilePermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
11: invokevirtual org.apache.catalina.loader.WebappClassLoaderBase.addPermission:(Ljava/security/Permission;)V
12: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
13: new java.io.FilePermission
dup
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: ldc "read,write,delete"
15: invokespecial java.io.FilePermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
16: invokevirtual org.apache.catalina.loader.WebappClassLoaderBase.addPermission:(Ljava/security/Permission;)V
end local 3 17: goto 19
StackMap locals: org.apache.catalina.loader.WebappLoader jakarta.servlet.ServletContext java.io.File
StackMap stack: java.io.IOException
18: pop
19: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getResources:()Lorg/apache/catalina/WebResourceRoot;
invokeinterface org.apache.catalina.WebResourceRoot.getBaseUrls:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 22
StackMap locals: org.apache.catalina.loader.WebappLoader jakarta.servlet.ServletContext java.io.File top java.util.Iterator
StackMap stack:
20: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.net.URL
astore 3
start local 3 21: aload 0
getfield org.apache.catalina.loader.WebappLoader.classLoader:Lorg/apache/catalina/loader/WebappClassLoaderBase;
aload 3
invokevirtual org.apache.catalina.loader.WebappClassLoaderBase.addPermission:(Ljava/net/URL;)V
end local 3 22: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/catalina/loader/WebappLoader;
5 24 1 servletContext Ljakarta/servlet/ServletContext;
7 24 2 workDir Ljava/io/File;
9 17 3 workDirPath Ljava/lang/String;
21 22 3 url Ljava/net/URL;
Exception table:
from to target type
8 17 18 Class java.io.IOException
private void setClassPath();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getServletContext:()Ljakarta/servlet/ServletContext;
astore 1
start local 1 3: aload 1
ifnonnull 5
4: return
5: StackMap locals: jakarta.servlet.ServletContext
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 6: aload 0
invokevirtual org.apache.catalina.loader.WebappLoader.getClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 7: aload 0
getfield org.apache.catalina.loader.WebappLoader.delegate:Z
ifeq 13
aload 3
ifnull 13
8: aload 3
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 3
9: goto 13
10: StackMap locals: java.lang.StringBuilder java.lang.ClassLoader
StackMap stack:
aload 0
aload 2
aload 3
invokevirtual org.apache.catalina.loader.WebappLoader.buildClassPath:(Ljava/lang/StringBuilder;Ljava/lang/ClassLoader;)Z
ifne 12
11: goto 14
12: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 3
13: StackMap locals:
StackMap stack:
aload 3
ifnonnull 10
14: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.loader.WebappLoader.delegate:Z
ifeq 18
15: aload 0
invokevirtual org.apache.catalina.loader.WebappLoader.getClassLoader:()Ljava/lang/ClassLoader;
astore 3
16: aload 3
ifnull 18
17: aload 0
aload 2
aload 3
invokevirtual org.apache.catalina.loader.WebappLoader.buildClassPath:(Ljava/lang/StringBuilder;Ljava/lang/ClassLoader;)Z
pop
18: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.apache.catalina.loader.WebappLoader.classpath:Ljava/lang/String;
19: aload 1
ldc "org.apache.catalina.jsp_classpath"
aload 0
getfield org.apache.catalina.loader.WebappLoader.classpath:Ljava/lang/String;
invokeinterface jakarta.servlet.ServletContext.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
20: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/catalina/loader/WebappLoader;
3 21 1 servletContext Ljakarta/servlet/ServletContext;
6 21 2 classpath Ljava/lang/StringBuilder;
7 21 3 loader Ljava/lang/ClassLoader;
private boolean buildClassPath(java.lang.StringBuilder, java.lang.ClassLoader);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/ClassLoader;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof java.net.URLClassLoader
ifeq 17
1: aload 2
checkcast java.net.URLClassLoader
invokevirtual java.net.URLClassLoader.getURLs:()[Ljava/net/URL;
astore 3
start local 3 2: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 15
StackMap locals: org.apache.catalina.loader.WebappLoader java.lang.StringBuilder java.lang.ClassLoader java.net.URL[] top int int java.net.URL[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 4
invokevirtual java.net.URL.toString:()Ljava/lang/String;
astore 8
start local 8 5: aload 8
ldc "file://"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 7
6: aload 8
bipush 7
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic org.apache.tomcat.util.buf.UDecoder.URLDecode:(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String;
astore 8
goto 9
7: StackMap locals: org.apache.catalina.loader.WebappLoader java.lang.StringBuilder java.lang.ClassLoader java.net.URL[] java.net.URL int int java.net.URL[] java.lang.String
StackMap stack:
aload 8
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 14
8: aload 8
iconst_5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic org.apache.tomcat.util.buf.UDecoder.URLDecode:(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String;
astore 8
9: StackMap locals:
StackMap stack:
aload 8
ifnonnull 11
10: goto 14
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifle 13
12: aload 1
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: StackMap locals:
StackMap stack:
aload 1
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 end local 4 14: StackMap locals: org.apache.catalina.loader.WebappLoader java.lang.StringBuilder java.lang.ClassLoader java.net.URL[] top int int java.net.URL[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
iload 6
if_icmplt 3
end local 3 16: goto 27
StackMap locals: org.apache.catalina.loader.WebappLoader java.lang.StringBuilder java.lang.ClassLoader
StackMap stack:
17: aload 2
invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
if_acmpne 24
18: ldc "java.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 19: aload 3
ifnull 23
aload 3
invokevirtual java.lang.String.length:()I
ifle 23
20: aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifle 22
21: aload 1
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 24: StackMap locals:
StackMap stack:
invokestatic org.apache.tomcat.util.compat.JreCompat.isGraalAvailable:()Z
ifne 26
25: getstatic org.apache.catalina.loader.WebappLoader.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.loader.WebappLoader.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "webappLoader.unknownClassLoader"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
26: StackMap locals:
StackMap stack:
iconst_0
ireturn
27: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/catalina/loader/WebappLoader;
0 28 1 classpath Ljava/lang/StringBuilder;
0 28 2 loader Ljava/lang/ClassLoader;
2 16 3 repositories [Ljava/net/URL;
4 14 4 url Ljava/net/URL;
5 14 8 repository Ljava/lang/String;
19 24 3 cp Ljava/lang/String;
MethodParameters:
Name Flags
classpath
loader
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.loader.WebappLoader.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/loader/WebappLoader;
protected java.lang.String getObjectNameKeyProperties();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "type=Loader"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc ",host="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getParent:()Lorg/apache/catalina/Container;
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc ",context="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getName:()Ljava/lang/String;
astore 2
start local 2 5: aload 2
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 7
6: aload 1
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: StackMap locals: java.lang.StringBuilder java.lang.String
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/loader/WebappLoader;
1 9 1 name Ljava/lang/StringBuilder;
5 9 2 contextName Ljava/lang/String;
}
SourceFile: "WebappLoader.java"