public class org.apache.catalina.loader.WebappLoader extends org.apache.catalina.util.LifecycleMBeanBase implements org.apache.catalina.Loader, java.beans.PropertyChangeListener
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
private java.lang.ClassLoader parentClassLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0002) ACC_PRIVATE
private boolean reloadable;
descriptor: Z
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 "org.apache.catalina.loader"
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
2: putstatic org.apache.catalina.loader.WebappLoader.sm:Lorg/apache/tomcat/util/res/StringManager;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial org.apache.catalina.loader.WebappLoader.<init>:(Ljava/lang/ClassLoader;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/loader/WebappLoader;
public void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)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
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
aconst_null
putfield org.apache.catalina.loader.WebappLoader.parentClassLoader:Ljava/lang/ClassLoader;
6: aload 0
iconst_0
putfield org.apache.catalina.loader.WebappLoader.reloadable:Z
7: 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;
8: aload 0
aconst_null
putfield org.apache.catalina.loader.WebappLoader.classpath:Ljava/lang/String;
9: aload 0
aload 1
putfield org.apache.catalina.loader.WebappLoader.parentClassLoader:Ljava/lang/ClassLoader;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/loader/WebappLoader;
0 11 1 parent Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
parent
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 6
3: new java.lang.IllegalStateException
dup
4: 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;
5: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
ifnull 8
7: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
aload 0
invokeinterface org.apache.catalina.Context.removePropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
astore 2
start local 2 9: aload 0
aload 1
putfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
10: 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
11: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
ifnull 14
12: aload 0
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getReloadable:()Z
invokevirtual org.apache.catalina.loader.WebappLoader.setReloadable:(Z)V
13: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
aload 0
invokeinterface org.apache.catalina.Context.addPropertyChangeListener:(Ljava/beans/PropertyChangeListener;)V
14: StackMap locals: org.apache.catalina.Context
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/catalina/loader/WebappLoader;
0 15 1 context Lorg/apache/catalina/Context;
9 15 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 boolean getReloadable();
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.reloadable:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/loader/WebappLoader;
public void setReloadable(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.reloadable:Z
istore 2
start local 2 1: aload 0
iload 1
putfield org.apache.catalina.loader.WebappLoader.reloadable:Z
2: aload 0
getfield org.apache.catalina.loader.WebappLoader.support:Ljava/beans/PropertyChangeSupport;
ldc "reloadable"
3: iload 2
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
4: aload 0
getfield org.apache.catalina.loader.WebappLoader.reloadable:Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
5: invokevirtual java.beans.PropertyChangeSupport.firePropertyChange:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/loader/WebappLoader;
0 7 1 reloadable Z
1 7 2 oldReloadable Z
MethodParameters:
Name Flags
reloadable
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=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.loader.WebappLoader.reloadable:Z
ifeq 17
aload 0
invokevirtual org.apache.catalina.loader.WebappLoader.modified:()Z
ifeq 17
1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
2: ldc Lorg/apache/catalina/loader/WebappLoader;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
3: invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
4: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
ifnull 13
5: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.reload:()V
6: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 1
8: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
ifnull 12
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLoader:()Lorg/apache/catalina/Loader;
ifnull 12
9: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
10: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLoader:()Lorg/apache/catalina/Loader;
invokeinterface org.apache.catalina.Loader.getClassLoader:()Ljava/lang/ClassLoader;
11: invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
12: StackMap locals: java.lang.Throwable
StackMap stack:
aload 1
athrow
13: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
ifnull 17
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLoader:()Lorg/apache/catalina/Loader;
ifnull 17
14: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
15: aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getLoader:()Lorg/apache/catalina/Loader;
invokeinterface org.apache.catalina.Loader.getClassLoader:()Ljava/lang/ClassLoader;
16: invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
17: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/catalina/loader/WebappLoader;
Exception table:
from to target type
1 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=3, locals=4, 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: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: java.lang.String[] java.lang.StringBuilder int
StackMap stack:
aload 2
aload 1
iload 3
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 1
arraylength
if_icmplt 4
end local 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;
3 7 3 i I
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:()Ljavax/servlet/ServletContext;
astore 1
start local 1 4: aload 1
ldc "org.apache.catalina.jsp_classpath"
invokeinterface javax.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 javax.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 javax.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 Ljavax/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
public void propertyChange(java.beans.PropertyChangeEvent);
descriptor: (Ljava/beans/PropertyChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.beans.PropertyChangeEvent.getSource:()Ljava/lang/Object;
instanceof org.apache.catalina.Context
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.beans.PropertyChangeEvent.getPropertyName:()Ljava/lang/String;
ldc "reloadable"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
3: aload 0
4: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
5: invokevirtual org.apache.catalina.loader.WebappLoader.setReloadable:(Z)V
6: goto 11
StackMap locals:
StackMap stack: java.lang.NumberFormatException
7: pop
8: 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.reloadable"
iconst_1
anewarray java.lang.Object
dup
iconst_0
9: aload 1
invokevirtual java.beans.PropertyChangeEvent.getNewValue:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
10: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
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;
0 12 1 event Ljava/beans/PropertyChangeEvent;
Exception table:
from to target type
3 6 7 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
event
private org.apache.catalina.loader.WebappClassLoaderBase createClassLoader();
descriptor: ()Lorg/apache/catalina/loader/WebappClassLoaderBase;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=1
start local 0 0: 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 1: aconst_null
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.loader.WebappLoader.parentClassLoader:Ljava/lang/ClassLoader;
ifnonnull 4
3: aload 0
aload 0
getfield org.apache.catalina.loader.WebappLoader.context:Lorg/apache/catalina/Context;
invokeinterface org.apache.catalina.Context.getParentClassLoader:()Ljava/lang/ClassLoader;
putfield org.apache.catalina.loader.WebappLoader.parentClassLoader:Ljava/lang/ClassLoader;
4: StackMap locals: java.lang.Class org.apache.catalina.loader.WebappClassLoaderBase
StackMap stack:
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/ClassLoader;
aastore
astore 3
start local 3 5: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.catalina.loader.WebappLoader.parentClassLoader:Ljava/lang/ClassLoader;
aastore
astore 4
start local 4 6: aload 1
aload 3
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 5
start local 5 7: aload 5
aload 4
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.loader.WebappClassLoaderBase
astore 2
8: aload 2
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 9 0 this Lorg/apache/catalina/loader/WebappLoader;
1 9 1 clazz Ljava/lang/Class<*>;
2 9 2 classLoader Lorg/apache/catalina/loader/WebappClassLoaderBase;
5 9 3 argTypes [Ljava/lang/Class;
6 9 4 args [Ljava/lang/Object;
7 9 5 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:()Ljavax/servlet/ServletContext;
astore 1
start local 1 5: aload 1
ldc "javax.servlet.context.tempdir"
invokeinterface javax.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 javax.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 javax.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 Ljavax/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:()Ljavax/servlet/ServletContext;
astore 1
start local 1 3: aload 1
ifnonnull 5
4: return
5: StackMap locals: javax.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 javax.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 Ljavax/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=6, 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: iconst_0
istore 4
start local 4 3: goto 15
4: StackMap locals: java.net.URL[] int
StackMap stack:
aload 3
iload 4
aaload
invokevirtual java.net.URL.toString:()Ljava/lang/String;
astore 5
start local 5 5: aload 5
ldc "file://"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 7
6: aload 5
bipush 7
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic org.apache.tomcat.util.buf.UDecoder.URLDecode:(Ljava/lang/String;)Ljava/lang/String;
astore 5
goto 9
7: StackMap locals: java.lang.String
StackMap stack:
aload 5
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 14
8: aload 5
iconst_5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic org.apache.tomcat.util.buf.UDecoder.URLDecode:(Ljava/lang/String;)Ljava/lang/String;
astore 5
9: StackMap locals:
StackMap stack:
aload 5
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 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 5 14: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
aload 3
arraylength
if_icmplt 4
end local 4 end local 3 16: goto 27
StackMap locals:
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;
3 16 4 i I
5 14 5 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
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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"