public class org.apache.catalina.startup.Catalina
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.startup.Catalina
super_class: java.lang.Object
{
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
public static final java.lang.String SERVER_XML;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "conf/server.xml"
protected boolean await;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected java.lang.String configFile;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.ClassLoader parentClassLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0004) ACC_PROTECTED
protected org.apache.catalina.Server server;
descriptor: Lorg/apache/catalina/Server;
flags: (0x0004) ACC_PROTECTED
protected boolean useShutdownHook;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected java.lang.Thread shutdownHook;
descriptor: Ljava/lang/Thread;
flags: (0x0004) ACC_PROTECTED
protected boolean useNaming;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean loaded;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean throwOnInitFailure;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean generateCode;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected java.io.File generatedCodeLocation;
descriptor: Ljava/io/File;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String generatedCodeLocationParameter;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String generatedCodePackage;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected boolean useGeneratedCode;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private static final org.apache.juli.logging.Log log;
descriptor: Lorg/apache/juli/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "org.apache.catalina.startup"
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
1: putstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
2: ldc Lorg/apache/catalina/startup/Catalina;
invokestatic org.apache.juli.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
putstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
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
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.catalina.startup.Catalina.await:Z
2: aload 0
ldc "conf/server.xml"
putfield org.apache.catalina.startup.Catalina.configFile:Ljava/lang/String;
3: aload 0
4: ldc Lorg/apache/catalina/startup/Catalina;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
putfield org.apache.catalina.startup.Catalina.parentClassLoader:Ljava/lang/ClassLoader;
5: aload 0
aconst_null
putfield org.apache.catalina.startup.Catalina.server:Lorg/apache/catalina/Server;
6: aload 0
iconst_1
putfield org.apache.catalina.startup.Catalina.useShutdownHook:Z
7: aload 0
aconst_null
putfield org.apache.catalina.startup.Catalina.shutdownHook:Ljava/lang/Thread;
8: aload 0
iconst_1
putfield org.apache.catalina.startup.Catalina.useNaming:Z
9: aload 0
iconst_0
putfield org.apache.catalina.startup.Catalina.loaded:Z
10: aload 0
11: ldc "org.apache.catalina.startup.EXIT_ON_INIT_FAILURE"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putfield org.apache.catalina.startup.Catalina.throwOnInitFailure:Z
12: aload 0
iconst_0
putfield org.apache.catalina.startup.Catalina.generateCode:Z
13: aload 0
aconst_null
putfield org.apache.catalina.startup.Catalina.generatedCodeLocation:Ljava/io/File;
14: aload 0
aconst_null
putfield org.apache.catalina.startup.Catalina.generatedCodeLocationParameter:Ljava/lang/String;
15: aload 0
ldc "catalinaembedded"
putfield org.apache.catalina.startup.Catalina.generatedCodePackage:Ljava/lang/String;
16: aload 0
iconst_0
putfield org.apache.catalina.startup.Catalina.useGeneratedCode:Z
17: aload 0
invokevirtual org.apache.catalina.startup.Catalina.setSecurityProtection:()V
18: invokestatic org.apache.tomcat.util.ExceptionUtils.preload:()V
19: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/catalina/startup/Catalina;
public void setConfigFile(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.startup.Catalina.configFile:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
0 2 1 file Ljava/lang/String;
MethodParameters:
Name Flags
file
public java.lang.String getConfigFile();
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.startup.Catalina.configFile:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Catalina;
public void setUseShutdownHook(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.startup.Catalina.useShutdownHook:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
0 2 1 useShutdownHook Z
MethodParameters:
Name Flags
useShutdownHook
public boolean getUseShutdownHook();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Catalina.useShutdownHook:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Catalina;
public boolean getGenerateCode();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Catalina.generateCode:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Catalina;
public void setGenerateCode(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.startup.Catalina.generateCode:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
0 2 1 generateCode Z
MethodParameters:
Name Flags
generateCode
public boolean getUseGeneratedCode();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Catalina.useGeneratedCode:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Catalina;
public void setUseGeneratedCode(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.startup.Catalina.useGeneratedCode:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
0 2 1 useGeneratedCode Z
MethodParameters:
Name Flags
useGeneratedCode
public java.io.File getGeneratedCodeLocation();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodeLocation:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Catalina;
public void setGeneratedCodeLocation(java.io.File);
descriptor: (Ljava/io/File;)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.startup.Catalina.generatedCodeLocation:Ljava/io/File;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
0 2 1 generatedCodeLocation Ljava/io/File;
MethodParameters:
Name Flags
generatedCodeLocation
public java.lang.String getGeneratedCodePackage();
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.startup.Catalina.generatedCodePackage:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Catalina;
public void setGeneratedCodePackage(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.startup.Catalina.generatedCodePackage:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
0 2 1 generatedCodePackage Ljava/lang/String;
MethodParameters:
Name Flags
generatedCodePackage
public boolean getThrowOnInitFailure();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Catalina.throwOnInitFailure:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Catalina;
public void setThrowOnInitFailure(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.startup.Catalina.throwOnInitFailure:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
0 2 1 throwOnInitFailure Z
MethodParameters:
Name Flags
throwOnInitFailure
public void setParentClassLoader(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)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.startup.Catalina.parentClassLoader:Ljava/lang/ClassLoader;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
0 2 1 parentClassLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
parentClassLoader
public java.lang.ClassLoader getParentClassLoader();
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.startup.Catalina.parentClassLoader:Ljava/lang/ClassLoader;
ifnull 2
1: aload 0
getfield org.apache.catalina.startup.Catalina.parentClassLoader:Ljava/lang/ClassLoader;
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/startup/Catalina;
public void setServer(org.apache.catalina.Server);
descriptor: (Lorg/apache/catalina/Server;)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.startup.Catalina.server:Lorg/apache/catalina/Server;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
0 2 1 server Lorg/apache/catalina/Server;
MethodParameters:
Name Flags
server
public org.apache.catalina.Server getServer();
descriptor: ()Lorg/apache/catalina/Server;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Catalina.server:Lorg/apache/catalina/Server;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Catalina;
public boolean isUseNaming();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Catalina.useNaming:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Catalina;
public void setUseNaming(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.startup.Catalina.useNaming:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
0 2 1 useNaming Z
MethodParameters:
Name Flags
useNaming
public void setAwait(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.startup.Catalina.await:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
0 2 1 b Z
MethodParameters:
Name Flags
b
public boolean isAwait();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Catalina.await:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Catalina;
protected boolean arguments(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 1
arraylength
iconst_1
if_icmpge 5
3: aload 0
invokevirtual org.apache.catalina.startup.Catalina.usage:()V
4: iconst_0
ireturn
5: StackMap locals: int int
StackMap stack:
aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 45
StackMap locals: org.apache.catalina.startup.Catalina java.lang.String[] int int top int int java.lang.String[]
StackMap stack:
6: aload 7
iload 5
aaload
astore 4
start local 4 7: iload 2
ifeq 11
8: aload 0
aload 4
putfield org.apache.catalina.startup.Catalina.configFile:Ljava/lang/String;
9: iconst_0
istore 2
10: goto 44
StackMap locals: org.apache.catalina.startup.Catalina java.lang.String[] int int java.lang.String int int java.lang.String[]
StackMap stack:
11: aload 4
ldc "-config"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: iconst_1
istore 2
13: goto 44
StackMap locals:
StackMap stack:
14: aload 4
ldc "-generateCode"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
15: aload 0
iconst_1
invokevirtual org.apache.catalina.startup.Catalina.setGenerateCode:(Z)V
16: iconst_1
istore 3
17: goto 44
StackMap locals:
StackMap stack:
18: aload 4
ldc "-useGeneratedCode"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
19: aload 0
iconst_1
invokevirtual org.apache.catalina.startup.Catalina.setUseGeneratedCode:(Z)V
20: iconst_0
istore 3
21: goto 44
StackMap locals:
StackMap stack:
22: aload 4
ldc "-nonaming"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
23: aload 0
iconst_0
invokevirtual org.apache.catalina.startup.Catalina.setUseNaming:(Z)V
24: iconst_0
istore 3
25: goto 44
StackMap locals:
StackMap stack:
26: aload 4
ldc "-help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
27: aload 0
invokevirtual org.apache.catalina.startup.Catalina.usage:()V
28: iconst_0
ireturn
29: StackMap locals:
StackMap stack:
aload 4
ldc "start"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
30: iconst_0
istore 3
31: goto 44
StackMap locals:
StackMap stack:
32: aload 4
ldc "configtest"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
33: iconst_0
istore 3
34: goto 44
StackMap locals:
StackMap stack:
35: aload 4
ldc "stop"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
36: iconst_0
istore 3
37: goto 44
StackMap locals:
StackMap stack:
38: iload 3
ifeq 42
39: aload 0
aload 4
putfield org.apache.catalina.startup.Catalina.generatedCodeLocationParameter:Ljava/lang/String;
40: iconst_0
istore 3
41: goto 44
42: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.startup.Catalina.usage:()V
43: iconst_0
ireturn
end local 4 44: StackMap locals: org.apache.catalina.startup.Catalina java.lang.String[] int int top int int java.lang.String[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
45: iload 5
iload 6
if_icmplt 6
46: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Lorg/apache/catalina/startup/Catalina;
0 47 1 args [Ljava/lang/String;
1 47 2 isConfig Z
2 47 3 isGenerateCode Z
7 44 4 arg Ljava/lang/String;
MethodParameters:
Name Flags
args
protected java.io.File configFile();
descriptor: ()Ljava/io/File;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.Catalina.configFile:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
invokevirtual java.io.File.isAbsolute:()Z
ifne 3
2: new java.io.File
dup
invokestatic org.apache.catalina.startup.Bootstrap.getCatalinaBase:()Ljava/lang/String;
aload 0
getfield org.apache.catalina.startup.Catalina.configFile:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 1
3: StackMap locals: java.io.File
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/startup/Catalina;
1 4 1 file Ljava/io/File;
protected org.apache.tomcat.util.digester.Digester createStartDigester();
descriptor: ()Lorg/apache/tomcat/util/digester/Digester;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=1
start local 0 0: new org.apache.tomcat.util.digester.Digester
dup
invokespecial org.apache.tomcat.util.digester.Digester.<init>:()V
astore 1
start local 1 1: aload 1
iconst_0
invokevirtual org.apache.tomcat.util.digester.Digester.setValidating:(Z)V
2: aload 1
iconst_1
invokevirtual org.apache.tomcat.util.digester.Digester.setRulesValidation:(Z)V
3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 5: aload 3
ldc "className"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 2
ldc Ljava/lang/Object;
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 8: aload 4
ldc "source"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 2
ldc Lorg/apache/catalina/core/StandardContext;
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 11: aload 5
ldc "portOffset"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: aload 2
ldc Lorg/apache/catalina/connector/Connector;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 1
aload 2
invokevirtual org.apache.tomcat.util.digester.Digester.setFakeAttributes:(Ljava/util/Map;)V
14: aload 1
iconst_1
invokevirtual org.apache.tomcat.util.digester.Digester.setUseContextClassLoader:(Z)V
15: aload 1
ldc "Server"
16: ldc "org.apache.catalina.core.StandardServer"
17: ldc "className"
18: invokevirtual org.apache.tomcat.util.digester.Digester.addObjectCreate:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
19: aload 1
ldc "Server"
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;)V
20: aload 1
ldc "Server"
21: ldc "setServer"
22: ldc "org.apache.catalina.Server"
23: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
24: aload 1
ldc "Server/GlobalNamingResources"
25: ldc "org.apache.catalina.deploy.NamingResourcesImpl"
26: invokevirtual org.apache.tomcat.util.digester.Digester.addObjectCreate:(Ljava/lang/String;Ljava/lang/String;)V
27: aload 1
ldc "Server/GlobalNamingResources"
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;)V
28: aload 1
ldc "Server/GlobalNamingResources"
29: ldc "setGlobalNamingResources"
30: ldc "org.apache.catalina.deploy.NamingResourcesImpl"
31: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
32: aload 1
ldc "Server/Listener"
33: new org.apache.catalina.startup.ListenerCreateRule
dup
aconst_null
ldc "className"
invokespecial org.apache.catalina.startup.ListenerCreateRule.<init>:(Ljava/lang/String;Ljava/lang/String;)V
34: invokevirtual org.apache.tomcat.util.digester.Digester.addRule:(Ljava/lang/String;Lorg/apache/tomcat/util/digester/Rule;)V
35: aload 1
ldc "Server/Listener"
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;)V
36: aload 1
ldc "Server/Listener"
37: ldc "addLifecycleListener"
38: ldc "org.apache.catalina.LifecycleListener"
39: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
40: aload 1
ldc "Server/Service"
41: ldc "org.apache.catalina.core.StandardService"
42: ldc "className"
43: invokevirtual org.apache.tomcat.util.digester.Digester.addObjectCreate:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
44: aload 1
ldc "Server/Service"
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;)V
45: aload 1
ldc "Server/Service"
46: ldc "addService"
47: ldc "org.apache.catalina.Service"
48: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
49: aload 1
ldc "Server/Service/Listener"
50: aconst_null
51: ldc "className"
52: invokevirtual org.apache.tomcat.util.digester.Digester.addObjectCreate:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
53: aload 1
ldc "Server/Service/Listener"
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;)V
54: aload 1
ldc "Server/Service/Listener"
55: ldc "addLifecycleListener"
56: ldc "org.apache.catalina.LifecycleListener"
57: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
58: aload 1
ldc "Server/Service/Executor"
59: ldc "org.apache.catalina.core.StandardThreadExecutor"
60: ldc "className"
61: invokevirtual org.apache.tomcat.util.digester.Digester.addObjectCreate:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
62: aload 1
ldc "Server/Service/Executor"
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;)V
63: aload 1
ldc "Server/Service/Executor"
64: ldc "addExecutor"
65: ldc "org.apache.catalina.Executor"
66: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
67: aload 1
ldc "Server/Service/Connector"
68: new org.apache.catalina.startup.ConnectorCreateRule
dup
invokespecial org.apache.catalina.startup.ConnectorCreateRule.<init>:()V
69: invokevirtual org.apache.tomcat.util.digester.Digester.addRule:(Ljava/lang/String;Lorg/apache/tomcat/util/digester/Rule;)V
70: aload 1
ldc "Server/Service/Connector"
71: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "executor"
aastore
dup
iconst_1
ldc "sslImplementationName"
aastore
dup
iconst_2
ldc "protocol"
aastore
72: invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;[Ljava/lang/String;)V
73: aload 1
ldc "Server/Service/Connector"
74: ldc "addConnector"
75: ldc "org.apache.catalina.connector.Connector"
76: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
77: aload 1
ldc "Server/Service/Connector"
new org.apache.catalina.startup.AddPortOffsetRule
dup
invokespecial org.apache.catalina.startup.AddPortOffsetRule.<init>:()V
invokevirtual org.apache.tomcat.util.digester.Digester.addRule:(Ljava/lang/String;Lorg/apache/tomcat/util/digester/Rule;)V
78: aload 1
ldc "Server/Service/Connector/SSLHostConfig"
79: ldc "org.apache.tomcat.util.net.SSLHostConfig"
80: invokevirtual org.apache.tomcat.util.digester.Digester.addObjectCreate:(Ljava/lang/String;Ljava/lang/String;)V
81: aload 1
ldc "Server/Service/Connector/SSLHostConfig"
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;)V
82: aload 1
ldc "Server/Service/Connector/SSLHostConfig"
83: ldc "addSslHostConfig"
84: ldc "org.apache.tomcat.util.net.SSLHostConfig"
85: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
86: aload 1
ldc "Server/Service/Connector/SSLHostConfig/Certificate"
87: new org.apache.catalina.startup.CertificateCreateRule
dup
invokespecial org.apache.catalina.startup.CertificateCreateRule.<init>:()V
88: invokevirtual org.apache.tomcat.util.digester.Digester.addRule:(Ljava/lang/String;Lorg/apache/tomcat/util/digester/Rule;)V
89: aload 1
ldc "Server/Service/Connector/SSLHostConfig/Certificate"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "type"
aastore
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;[Ljava/lang/String;)V
90: aload 1
ldc "Server/Service/Connector/SSLHostConfig/Certificate"
91: ldc "addCertificate"
92: ldc "org.apache.tomcat.util.net.SSLHostConfigCertificate"
93: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
94: aload 1
ldc "Server/Service/Connector/SSLHostConfig/OpenSSLConf"
95: ldc "org.apache.tomcat.util.net.openssl.OpenSSLConf"
96: invokevirtual org.apache.tomcat.util.digester.Digester.addObjectCreate:(Ljava/lang/String;Ljava/lang/String;)V
97: aload 1
ldc "Server/Service/Connector/SSLHostConfig/OpenSSLConf"
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;)V
98: aload 1
ldc "Server/Service/Connector/SSLHostConfig/OpenSSLConf"
99: ldc "setOpenSslConf"
100: ldc "org.apache.tomcat.util.net.openssl.OpenSSLConf"
101: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
102: aload 1
ldc "Server/Service/Connector/SSLHostConfig/OpenSSLConf/OpenSSLConfCmd"
103: ldc "org.apache.tomcat.util.net.openssl.OpenSSLConfCmd"
104: invokevirtual org.apache.tomcat.util.digester.Digester.addObjectCreate:(Ljava/lang/String;Ljava/lang/String;)V
105: aload 1
ldc "Server/Service/Connector/SSLHostConfig/OpenSSLConf/OpenSSLConfCmd"
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;)V
106: aload 1
ldc "Server/Service/Connector/SSLHostConfig/OpenSSLConf/OpenSSLConfCmd"
107: ldc "addCmd"
108: ldc "org.apache.tomcat.util.net.openssl.OpenSSLConfCmd"
109: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
110: aload 1
ldc "Server/Service/Connector/Listener"
111: aconst_null
112: ldc "className"
113: invokevirtual org.apache.tomcat.util.digester.Digester.addObjectCreate:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
114: aload 1
ldc "Server/Service/Connector/Listener"
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;)V
115: aload 1
ldc "Server/Service/Connector/Listener"
116: ldc "addLifecycleListener"
117: ldc "org.apache.catalina.LifecycleListener"
118: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
119: aload 1
ldc "Server/Service/Connector/UpgradeProtocol"
120: aconst_null
121: ldc "className"
122: invokevirtual org.apache.tomcat.util.digester.Digester.addObjectCreate:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
123: aload 1
ldc "Server/Service/Connector/UpgradeProtocol"
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;)V
124: aload 1
ldc "Server/Service/Connector/UpgradeProtocol"
125: ldc "addUpgradeProtocol"
126: ldc "org.apache.coyote.UpgradeProtocol"
127: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
128: aload 1
new org.apache.catalina.startup.NamingRuleSet
dup
ldc "Server/GlobalNamingResources/"
invokespecial org.apache.catalina.startup.NamingRuleSet.<init>:(Ljava/lang/String;)V
invokevirtual org.apache.tomcat.util.digester.Digester.addRuleSet:(Lorg/apache/tomcat/util/digester/RuleSet;)V
129: aload 1
new org.apache.catalina.startup.EngineRuleSet
dup
ldc "Server/Service/"
invokespecial org.apache.catalina.startup.EngineRuleSet.<init>:(Ljava/lang/String;)V
invokevirtual org.apache.tomcat.util.digester.Digester.addRuleSet:(Lorg/apache/tomcat/util/digester/RuleSet;)V
130: aload 1
new org.apache.catalina.startup.HostRuleSet
dup
ldc "Server/Service/Engine/"
invokespecial org.apache.catalina.startup.HostRuleSet.<init>:(Ljava/lang/String;)V
invokevirtual org.apache.tomcat.util.digester.Digester.addRuleSet:(Lorg/apache/tomcat/util/digester/RuleSet;)V
131: aload 1
new org.apache.catalina.startup.ContextRuleSet
dup
ldc "Server/Service/Engine/Host/"
invokespecial org.apache.catalina.startup.ContextRuleSet.<init>:(Ljava/lang/String;)V
invokevirtual org.apache.tomcat.util.digester.Digester.addRuleSet:(Lorg/apache/tomcat/util/digester/RuleSet;)V
132: aload 0
aload 1
ldc "Server/Service/Engine/Host/Cluster/"
invokevirtual org.apache.catalina.startup.Catalina.addClusterRuleSet:(Lorg/apache/tomcat/util/digester/Digester;Ljava/lang/String;)V
133: aload 1
new org.apache.catalina.startup.NamingRuleSet
dup
ldc "Server/Service/Engine/Host/Context/"
invokespecial org.apache.catalina.startup.NamingRuleSet.<init>:(Ljava/lang/String;)V
invokevirtual org.apache.tomcat.util.digester.Digester.addRuleSet:(Lorg/apache/tomcat/util/digester/RuleSet;)V
134: aload 1
ldc "Server/Service/Engine"
135: new org.apache.catalina.startup.Catalina$SetParentClassLoaderRule
dup
aload 0
aload 0
getfield org.apache.catalina.startup.Catalina.parentClassLoader:Ljava/lang/ClassLoader;
invokespecial org.apache.catalina.startup.Catalina$SetParentClassLoaderRule.<init>:(Lorg/apache/catalina/startup/Catalina;Ljava/lang/ClassLoader;)V
136: invokevirtual org.apache.tomcat.util.digester.Digester.addRule:(Ljava/lang/String;Lorg/apache/tomcat/util/digester/Rule;)V
137: aload 0
aload 1
ldc "Server/Service/Engine/Cluster/"
invokevirtual org.apache.catalina.startup.Catalina.addClusterRuleSet:(Lorg/apache/tomcat/util/digester/Digester;Ljava/lang/String;)V
138: aload 1
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 139 0 this Lorg/apache/catalina/startup/Catalina;
1 139 1 digester Lorg/apache/tomcat/util/digester/Digester;
4 139 2 fakeAttributes Ljava/util/Map<Ljava/lang/Class<*>;Ljava/util/List<Ljava/lang/String;>;>;
5 139 3 objectAttrs Ljava/util/List<Ljava/lang/String;>;
8 139 4 contextAttrs Ljava/util/List<Ljava/lang/String;>;
11 139 5 connectorAttrs Ljava/util/List<Ljava/lang/String;>;
private void addClusterRuleSet(org.apache.tomcat.util.digester.Digester, java.lang.String);
descriptor: (Lorg/apache/tomcat/util/digester/Digester;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: ldc "org.apache.catalina.ha.ClusterRuleSet"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
3: aload 3
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 4
4: aload 4
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.tomcat.util.digester.RuleSet
astore 5
start local 5 5: aload 1
aload 5
invokevirtual org.apache.tomcat.util.digester.Digester.addRuleSet:(Lorg/apache/tomcat/util/digester/RuleSet;)V
end local 5 6: goto 19
StackMap locals: org.apache.catalina.startup.Catalina org.apache.tomcat.util.digester.Digester java.lang.String java.lang.Class java.lang.reflect.Constructor
StackMap stack: java.lang.Exception
7: astore 5
start local 5 8: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 15
9: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.noCluster"
iconst_1
anewarray java.lang.Object
dup
iconst_0
10: new java.lang.StringBuilder
dup
aload 5
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
11: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
12: aload 5
13: invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
14: goto 19
StackMap locals: java.lang.Exception
StackMap stack:
15: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 19
16: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.noCluster"
iconst_1
anewarray java.lang.Object
dup
iconst_0
17: new java.lang.StringBuilder
dup
aload 5
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
18: 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
end local 5 19: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/catalina/startup/Catalina;
0 20 1 digester Lorg/apache/tomcat/util/digester/Digester;
0 20 2 prefix Ljava/lang/String;
1 20 3 clazz Ljava/lang/Class<*>;
2 20 4 constructor Ljava/lang/reflect/Constructor<*>;
5 6 5 ruleSet Lorg/apache/tomcat/util/digester/RuleSet;
8 19 5 e Ljava/lang/Exception;
Exception table:
from to target type
2 6 7 Class java.lang.Exception
MethodParameters:
Name Flags
digester
prefix
protected org.apache.tomcat.util.digester.Digester createStopDigester();
descriptor: ()Lorg/apache/tomcat/util/digester/Digester;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: new org.apache.tomcat.util.digester.Digester
dup
invokespecial org.apache.tomcat.util.digester.Digester.<init>:()V
astore 1
start local 1 1: aload 1
iconst_1
invokevirtual org.apache.tomcat.util.digester.Digester.setUseContextClassLoader:(Z)V
2: aload 1
ldc "Server"
3: ldc "org.apache.catalina.core.StandardServer"
4: ldc "className"
5: invokevirtual org.apache.tomcat.util.digester.Digester.addObjectCreate:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
6: aload 1
ldc "Server"
invokevirtual org.apache.tomcat.util.digester.Digester.addSetProperties:(Ljava/lang/String;)V
7: aload 1
ldc "Server"
8: ldc "setServer"
9: ldc "org.apache.catalina.Server"
10: invokevirtual org.apache.tomcat.util.digester.Digester.addSetNext:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
11: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/startup/Catalina;
1 12 1 digester Lorg/apache/tomcat/util/digester/Digester;
protected void parseServerXml(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=15, args_size=2
start local 0 start local 1 0: new org.apache.catalina.startup.CatalinaBaseConfigurationSource
dup
invokestatic org.apache.catalina.startup.Bootstrap.getCatalinaBaseFile:()Ljava/io/File;
aload 0
invokevirtual org.apache.catalina.startup.Catalina.getConfigFile:()Ljava/lang/String;
invokespecial org.apache.catalina.startup.CatalinaBaseConfigurationSource.<init>:(Ljava/io/File;Ljava/lang/String;)V
invokestatic org.apache.tomcat.util.file.ConfigFileLoader.setSource:(Lorg/apache/tomcat/util/file/ConfigurationSource;)V
1: aload 0
invokevirtual org.apache.catalina.startup.Catalina.configFile:()Ljava/io/File;
astore 2
start local 2 2: aload 0
getfield org.apache.catalina.startup.Catalina.useGeneratedCode:Z
ifeq 14
invokestatic org.apache.tomcat.util.digester.Digester.isGeneratedCodeLoaderSet:()Z
ifne 14
3: new java.lang.StringBuilder
dup
aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodePackage:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".DigesterGeneratedCodeLoader"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 4: ldc Lorg/apache/catalina/startup/Catalina;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
aload 3
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast org.apache.tomcat.util.digester.Digester$GeneratedCodeLoader
5: astore 4
start local 4 6: aload 4
invokestatic org.apache.tomcat.util.digester.Digester.setGeneratedCodeLoader:(Lorg/apache/tomcat/util/digester/Digester$GeneratedCodeLoader;)V
end local 4 7: goto 14
StackMap locals: org.apache.catalina.startup.Catalina int java.io.File java.lang.String
StackMap stack: java.lang.Exception
8: astore 4
start local 4 9: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 12
10: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.noLoader"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 4
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;Ljava/lang/Throwable;)V
11: goto 13
12: StackMap locals: java.lang.Exception
StackMap stack:
getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.noLoader"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
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
13: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield org.apache.catalina.startup.Catalina.useGeneratedCode:Z
end local 4 end local 3 14: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 15: aconst_null
astore 4
start local 4 16: aload 0
getfield org.apache.catalina.startup.Catalina.generateCode:Z
ifne 17
aload 0
getfield org.apache.catalina.startup.Catalina.useGeneratedCode:Z
ifeq 20
17: StackMap locals: java.io.File java.lang.String
StackMap stack:
iload 1
ifeq 18
new java.lang.StringBuilder
dup
aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodePackage:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".ServerXml"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 19
StackMap locals:
StackMap stack:
18: new java.lang.StringBuilder
dup
aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodePackage:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".ServerXmlStop"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
19: astore 4
20: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.Catalina.generateCode:Z
ifeq 31
21: aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodeLocationParameter:Ljava/lang/String;
ifnull 26
22: aload 0
new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodeLocationParameter:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
putfield org.apache.catalina.startup.Catalina.generatedCodeLocation:Ljava/io/File;
23: aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodeLocation:Ljava/io/File;
invokevirtual java.io.File.isAbsolute:()Z
ifne 27
24: aload 0
new java.io.File
dup
invokestatic org.apache.catalina.startup.Bootstrap.getCatalinaHomeFile:()Ljava/io/File;
aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodeLocationParameter:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
putfield org.apache.catalina.startup.Catalina.generatedCodeLocation:Ljava/io/File;
25: goto 27
26: StackMap locals:
StackMap stack:
aload 0
new java.io.File
dup
invokestatic org.apache.catalina.startup.Bootstrap.getCatalinaHomeFile:()Ljava/io/File;
ldc "work"
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
putfield org.apache.catalina.startup.Catalina.generatedCodeLocation:Ljava/io/File;
27: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodeLocation:Ljava/io/File;
aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodePackage:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 3
28: aload 3
invokevirtual java.io.File.isDirectory:()Z
ifne 31
aload 3
invokevirtual java.io.File.mkdirs:()Z
ifne 31
29: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.generatedCodeLocationError"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodeLocation:Ljava/io/File;
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
30: aload 0
iconst_0
putfield org.apache.catalina.startup.Catalina.generateCode:Z
31: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 32: aload 0
getfield org.apache.catalina.startup.Catalina.useGeneratedCode:Z
ifeq 34
33: aload 4
invokestatic org.apache.tomcat.util.digester.Digester.loadGeneratedClass:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.apache.catalina.startup.Catalina$ServerXml
astore 5
34: StackMap locals: org.apache.catalina.startup.Catalina$ServerXml
StackMap stack:
aload 5
ifnull 37
35: aload 5
aload 0
invokeinterface org.apache.catalina.startup.Catalina$ServerXml.load:(Lorg/apache/catalina/startup/Catalina;)V
36: goto 78
37: StackMap locals:
StackMap stack:
aconst_null
astore 6
aconst_null
astore 7
38: invokestatic org.apache.tomcat.util.file.ConfigFileLoader.getSource:()Lorg/apache/tomcat/util/file/ConfigurationSource;
invokeinterface org.apache.tomcat.util.file.ConfigurationSource.getServerXml:()Lorg/apache/tomcat/util/file/ConfigurationSource$Resource;
astore 8
start local 8 39: iload 1
ifeq 40
aload 0
invokevirtual org.apache.catalina.startup.Catalina.createStartDigester:()Lorg/apache/tomcat/util/digester/Digester;
goto 41
StackMap locals: java.lang.Throwable java.lang.Throwable org.apache.tomcat.util.file.ConfigurationSource$Resource
StackMap stack:
40: aload 0
invokevirtual org.apache.catalina.startup.Catalina.createStopDigester:()Lorg/apache/tomcat/util/digester/Digester;
StackMap locals:
StackMap stack: org.apache.tomcat.util.digester.Digester
41: astore 9
start local 9 42: aload 8
invokevirtual org.apache.tomcat.util.file.ConfigurationSource$Resource.getInputStream:()Ljava/io/InputStream;
astore 10
start local 10 43: new org.xml.sax.InputSource
dup
aload 8
invokevirtual org.apache.tomcat.util.file.ConfigurationSource$Resource.getURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
invokevirtual java.net.URL.toString:()Ljava/lang/String;
invokespecial org.xml.sax.InputSource.<init>:(Ljava/lang/String;)V
astore 11
start local 11 44: aload 11
aload 10
invokevirtual org.xml.sax.InputSource.setByteStream:(Ljava/io/InputStream;)V
45: aload 9
aload 0
invokevirtual org.apache.tomcat.util.digester.Digester.push:(Ljava/lang/Object;)V
46: aload 0
getfield org.apache.catalina.startup.Catalina.generateCode:Z
ifeq 49
47: aload 9
invokevirtual org.apache.tomcat.util.digester.Digester.startGeneratingCode:()V
48: aload 0
aload 9
iload 1
invokevirtual org.apache.catalina.startup.Catalina.generateClassHeader:(Lorg/apache/tomcat/util/digester/Digester;Z)V
49: StackMap locals: org.apache.tomcat.util.digester.Digester java.io.InputStream org.xml.sax.InputSource
StackMap stack:
aload 9
aload 11
invokevirtual org.apache.tomcat.util.digester.Digester.parse:(Lorg/xml/sax/InputSource;)Ljava/lang/Object;
pop
50: aload 0
getfield org.apache.catalina.startup.Catalina.generateCode:Z
ifeq 68
51: aload 0
aload 9
invokevirtual org.apache.catalina.startup.Catalina.generateClassFooter:(Lorg/apache/tomcat/util/digester/Digester;)V
52: aconst_null
astore 12
aconst_null
astore 13
53: new java.io.FileWriter
dup
54: new java.io.File
dup
aload 3
55: iload 1
ifeq 56
ldc "ServerXml.java"
goto 57
StackMap locals: org.apache.catalina.startup.Catalina int java.io.File java.io.File java.lang.String org.apache.catalina.startup.Catalina$ServerXml java.lang.Throwable java.lang.Throwable org.apache.tomcat.util.file.ConfigurationSource$Resource org.apache.tomcat.util.digester.Digester java.io.InputStream org.xml.sax.InputSource java.lang.Throwable java.lang.Throwable
StackMap stack: new 53 new 53 new 54 new 54 java.io.File
56: ldc "ServerXmlStop.java"
StackMap locals: org.apache.catalina.startup.Catalina int java.io.File java.io.File java.lang.String org.apache.catalina.startup.Catalina$ServerXml java.lang.Throwable java.lang.Throwable org.apache.tomcat.util.file.ConfigurationSource$Resource org.apache.tomcat.util.digester.Digester java.io.InputStream org.xml.sax.InputSource java.lang.Throwable java.lang.Throwable
StackMap stack: new 53 new 53 new 54 new 54 java.io.File java.lang.String
57: invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
58: invokespecial java.io.FileWriter.<init>:(Ljava/io/File;)V
astore 14
start local 14 59: aload 14
aload 9
invokevirtual org.apache.tomcat.util.digester.Digester.getGeneratedCode:()Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.FileWriter.write:(Ljava/lang/String;)V
60: aload 14
ifnull 66
aload 14
invokevirtual java.io.FileWriter.close:()V
goto 66
StackMap locals: org.apache.catalina.startup.Catalina int java.io.File java.io.File java.lang.String org.apache.catalina.startup.Catalina$ServerXml java.lang.Throwable java.lang.Throwable org.apache.tomcat.util.file.ConfigurationSource$Resource org.apache.tomcat.util.digester.Digester java.io.InputStream org.xml.sax.InputSource java.lang.Throwable java.lang.Throwable java.io.FileWriter
StackMap stack: java.lang.Throwable
61: astore 12
aload 14
ifnull 62
aload 14
invokevirtual java.io.FileWriter.close:()V
end local 14 StackMap locals:
StackMap stack:
62: aload 12
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
63: astore 13
aload 12
ifnonnull 64
aload 13
astore 12
goto 65
StackMap locals:
StackMap stack:
64: aload 12
aload 13
if_acmpeq 65
aload 12
aload 13
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
65: aload 12
athrow
66: StackMap locals:
StackMap stack:
aload 9
invokevirtual org.apache.tomcat.util.digester.Digester.endGeneratingCode:()V
67: aload 4
invokestatic org.apache.tomcat.util.digester.Digester.addGeneratedClass:(Ljava/lang/String;)V
end local 11 end local 10 end local 9 68: StackMap locals:
StackMap stack:
aload 8
ifnull 78
aload 8
invokevirtual org.apache.tomcat.util.file.ConfigurationSource$Resource.close:()V
goto 78
StackMap locals:
StackMap stack: java.lang.Throwable
69: astore 6
aload 8
ifnull 70
aload 8
invokevirtual org.apache.tomcat.util.file.ConfigurationSource$Resource.close:()V
end local 8 StackMap locals:
StackMap stack:
70: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
71: astore 7
aload 6
ifnonnull 72
aload 7
astore 6
goto 73
StackMap locals:
StackMap stack:
72: aload 6
aload 7
if_acmpeq 73
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
73: aload 6
athrow
StackMap locals: org.apache.catalina.startup.Catalina int java.io.File java.io.File java.lang.String org.apache.catalina.startup.Catalina$ServerXml
StackMap stack: java.lang.Exception
74: astore 6
start local 6 75: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.configFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 6
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;Ljava/lang/Throwable;)V
76: aload 2
invokevirtual java.io.File.exists:()Z
ifeq 78
aload 2
invokevirtual java.io.File.canRead:()Z
ifne 78
77: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.incorrectPermissions"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.warn:(Ljava/lang/Object;)V
end local 6 78: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 79 0 this Lorg/apache/catalina/startup/Catalina;
0 79 1 start Z
2 79 2 file Ljava/io/File;
4 14 3 loaderClassName Ljava/lang/String;
6 7 4 loader Lorg/apache/tomcat/util/digester/Digester$GeneratedCodeLoader;
9 14 4 e Ljava/lang/Exception;
15 79 3 serverXmlLocation Ljava/io/File;
16 79 4 xmlClassName Ljava/lang/String;
32 79 5 serverXml Lorg/apache/catalina/startup/Catalina$ServerXml;
39 70 8 resource Lorg/apache/tomcat/util/file/ConfigurationSource$Resource;
42 68 9 digester Lorg/apache/tomcat/util/digester/Digester;
43 68 10 inputStream Ljava/io/InputStream;
44 68 11 inputSource Lorg/xml/sax/InputSource;
59 62 14 writer Ljava/io/FileWriter;
75 78 6 e Ljava/lang/Exception;
Exception table:
from to target type
4 7 8 Class java.lang.Exception
59 60 61 any
53 63 63 any
39 68 69 any
38 71 71 any
37 74 74 Class java.lang.Exception
MethodParameters:
Name Flags
start
public void stopServer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual org.apache.catalina.startup.Catalina.stopServer:([Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
public void stopServer(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 0
aload 1
invokevirtual org.apache.catalina.startup.Catalina.arguments:([Ljava/lang/String;)Z
pop
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
astore 2
start local 2 3: aload 2
ifnonnull 9
4: aload 0
iconst_0
invokevirtual org.apache.catalina.startup.Catalina.parseServerXml:(Z)V
5: aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
ifnonnull 15
6: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.stopError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
7: iconst_1
invokestatic java.lang.System.exit:(I)V
8: goto 15
9: StackMap locals: org.apache.catalina.Server
StackMap stack:
aload 2
invokeinterface org.apache.catalina.Server.stop:()V
10: aload 2
invokeinterface org.apache.catalina.Server.destroy:()V
11: goto 14
StackMap locals:
StackMap stack: org.apache.catalina.LifecycleException
12: astore 3
start local 3 13: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.stopError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 14: StackMap locals:
StackMap stack:
return
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
astore 2
16: aload 2
invokeinterface org.apache.catalina.Server.getPortWithOffset:()I
ifle 50
17: aconst_null
astore 3
aconst_null
astore 4
18: new java.net.Socket
dup
aload 2
invokeinterface org.apache.catalina.Server.getAddress:()Ljava/lang/String;
aload 2
invokeinterface org.apache.catalina.Server.getPortWithOffset:()I
invokespecial java.net.Socket.<init>:(Ljava/lang/String;I)V
astore 5
start local 5 19: aload 5
invokevirtual java.net.Socket.getOutputStream:()Ljava/io/OutputStream;
astore 6
start local 6 20: aload 2
invokeinterface org.apache.catalina.Server.getShutdown:()Ljava/lang/String;
astore 7
start local 7 21: iconst_0
istore 8
start local 8 22: goto 25
23: StackMap locals: org.apache.catalina.startup.Catalina java.lang.String[] org.apache.catalina.Server java.lang.Throwable java.lang.Throwable java.net.Socket java.io.OutputStream java.lang.String int
StackMap stack:
aload 6
aload 7
iload 8
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.io.OutputStream.write:(I)V
24: iinc 8 1
StackMap locals:
StackMap stack:
25: iload 8
aload 7
invokevirtual java.lang.String.length:()I
if_icmplt 23
end local 8 26: aload 6
invokevirtual java.io.OutputStream.flush:()V
end local 7 27: aload 6
ifnull 30
aload 6
invokevirtual java.io.OutputStream.close:()V
goto 30
StackMap locals: org.apache.catalina.startup.Catalina java.lang.String[] org.apache.catalina.Server java.lang.Throwable java.lang.Throwable java.net.Socket java.io.OutputStream
StackMap stack: java.lang.Throwable
28: astore 3
aload 6
ifnull 29
aload 6
invokevirtual java.io.OutputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
29: aload 3
athrow
StackMap locals:
StackMap stack:
30: aload 5
ifnull 52
aload 5
invokevirtual java.net.Socket.close:()V
goto 52
StackMap locals:
StackMap stack: java.lang.Throwable
31: astore 4
aload 3
ifnonnull 32
aload 4
astore 3
goto 33
StackMap locals:
StackMap stack:
32: aload 3
aload 4
if_acmpeq 33
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
33: aload 5
ifnull 34
aload 5
invokevirtual java.net.Socket.close:()V
end local 5 StackMap locals:
StackMap stack:
34: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
35: astore 4
aload 3
ifnonnull 36
aload 4
astore 3
goto 37
StackMap locals:
StackMap stack:
36: aload 3
aload 4
if_acmpeq 37
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
37: aload 3
athrow
StackMap locals: org.apache.catalina.startup.Catalina java.lang.String[] org.apache.catalina.Server
StackMap stack: java.net.ConnectException
38: astore 3
start local 3 39: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.stopServer.connectException"
iconst_4
anewarray java.lang.Object
dup
iconst_0
aload 2
invokeinterface org.apache.catalina.Server.getAddress:()Ljava/lang/String;
aastore
dup
iconst_1
40: aload 2
invokeinterface org.apache.catalina.Server.getPortWithOffset:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
aastore
dup
iconst_2
aload 2
invokeinterface org.apache.catalina.Server.getPort:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
aastore
dup
iconst_3
41: aload 2
invokeinterface org.apache.catalina.Server.getPortOffset:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
aastore
42: 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
43: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.stopError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
44: iconst_1
invokestatic java.lang.System.exit:(I)V
end local 3 45: goto 52
46: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 47: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.stopError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
48: iconst_1
invokestatic java.lang.System.exit:(I)V
end local 3 49: goto 52
50: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.stopServer"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;)V
51: iconst_1
invokestatic java.lang.System.exit:(I)V
52: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lorg/apache/catalina/startup/Catalina;
0 53 1 arguments [Ljava/lang/String;
3 53 2 s Lorg/apache/catalina/Server;
13 14 3 e Lorg/apache/catalina/LifecycleException;
19 34 5 socket Ljava/net/Socket;
20 29 6 stream Ljava/io/OutputStream;
21 27 7 shutdown Ljava/lang/String;
22 26 8 i I
39 45 3 ce Ljava/net/ConnectException;
47 49 3 e Ljava/io/IOException;
Exception table:
from to target type
9 11 12 Class org.apache.catalina.LifecycleException
20 27 28 any
19 30 31 any
18 35 35 any
17 38 38 Class java.net.ConnectException
17 38 46 Class java.io.IOException
MethodParameters:
Name Flags
arguments
public void load();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=5, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Catalina.loaded:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.catalina.startup.Catalina.loaded:Z
3: invokestatic java.lang.System.nanoTime:()J
lstore 1
start local 1 4: aload 0
invokevirtual org.apache.catalina.startup.Catalina.initNaming:()V
5: aload 0
iconst_1
invokevirtual org.apache.catalina.startup.Catalina.parseServerXml:(Z)V
6: aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
astore 3
start local 3 7: aload 3
ifnonnull 9
8: return
9: StackMap locals: long org.apache.catalina.Server
StackMap stack:
aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
aload 0
invokeinterface org.apache.catalina.Server.setCatalina:(Lorg/apache/catalina/startup/Catalina;)V
10: aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
invokestatic org.apache.catalina.startup.Bootstrap.getCatalinaHomeFile:()Ljava/io/File;
invokeinterface org.apache.catalina.Server.setCatalinaHome:(Ljava/io/File;)V
11: aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
invokestatic org.apache.catalina.startup.Bootstrap.getCatalinaBaseFile:()Ljava/io/File;
invokeinterface org.apache.catalina.Server.setCatalinaBase:(Ljava/io/File;)V
12: aload 0
invokevirtual org.apache.catalina.startup.Catalina.initStreams:()V
13: aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
invokeinterface org.apache.catalina.Server.init:()V
14: goto 19
StackMap locals:
StackMap stack: org.apache.catalina.LifecycleException
15: astore 4
start local 4 16: aload 0
getfield org.apache.catalina.startup.Catalina.throwOnInitFailure:Z
ifeq 18
17: new java.lang.Error
dup
aload 4
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
18: StackMap locals: org.apache.catalina.LifecycleException
StackMap stack:
getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.initError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 4
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 4 19: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 21
20: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.init"
iconst_1
anewarray java.lang.Object
dup
iconst_0
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokestatic java.lang.System.nanoTime:()J
lload 1
lsub
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
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
21: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/catalina/startup/Catalina;
4 22 1 t1 J
7 22 3 s Lorg/apache/catalina/Server;
16 19 4 e Lorg/apache/catalina/LifecycleException;
Exception table:
from to target type
13 14 15 Class org.apache.catalina.LifecycleException
public void load(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.catalina.startup.Catalina.arguments:([Ljava/lang/String;)Z
ifeq 5
1: aload 0
invokevirtual org.apache.catalina.startup.Catalina.load:()V
2: goto 5
StackMap locals:
StackMap stack: java.lang.Exception
3: astore 2
start local 2 4: aload 2
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.lang.Exception.printStackTrace:(Ljava/io/PrintStream;)V
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/startup/Catalina;
0 6 1 args [Ljava/lang/String;
4 5 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
MethodParameters:
Name Flags
args
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
ifnonnull 2
1: aload 0
invokevirtual org.apache.catalina.startup.Catalina.load:()V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
ifnonnull 5
3: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.noServer"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.fatal:(Ljava/lang/Object;)V
4: return
5: StackMap locals:
StackMap stack:
invokestatic java.lang.System.nanoTime:()J
lstore 1
start local 1 6: aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
invokeinterface org.apache.catalina.Server.start:()V
7: goto 15
StackMap locals: org.apache.catalina.startup.Catalina long
StackMap stack: org.apache.catalina.LifecycleException
8: astore 3
start local 3 9: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.serverStartFail"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokeinterface org.apache.juli.logging.Log.fatal:(Ljava/lang/Object;Ljava/lang/Throwable;)V
10: aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
invokeinterface org.apache.catalina.Server.destroy:()V
11: goto 14
StackMap locals: org.apache.catalina.startup.Catalina long org.apache.catalina.LifecycleException
StackMap stack: org.apache.catalina.LifecycleException
12: astore 4
start local 4 13: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
ldc "destroy() failed for failed Server "
aload 4
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 4 14: StackMap locals:
StackMap stack:
return
end local 3 15: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isInfoEnabled:()Z
ifeq 17
16: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.startup"
iconst_1
anewarray java.lang.Object
dup
iconst_0
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokestatic java.lang.System.nanoTime:()J
lload 1
lsub
invokevirtual java.util.concurrent.TimeUnit.toMillis:(J)J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
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
17: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.Catalina.generateCode:Z
ifeq 19
18: aload 0
invokevirtual org.apache.catalina.startup.Catalina.generateLoader:()V
19: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.Catalina.useShutdownHook:Z
ifeq 28
20: aload 0
getfield org.apache.catalina.startup.Catalina.shutdownHook:Ljava/lang/Thread;
ifnonnull 22
21: aload 0
new org.apache.catalina.startup.Catalina$CatalinaShutdownHook
dup
aload 0
invokespecial org.apache.catalina.startup.Catalina$CatalinaShutdownHook.<init>:(Lorg/apache/catalina/startup/Catalina;)V
putfield org.apache.catalina.startup.Catalina.shutdownHook:Ljava/lang/Thread;
22: StackMap locals:
StackMap stack:
invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
aload 0
getfield org.apache.catalina.startup.Catalina.shutdownHook:Ljava/lang/Thread;
invokevirtual java.lang.Runtime.addShutdownHook:(Ljava/lang/Thread;)V
23: invokestatic java.util.logging.LogManager.getLogManager:()Ljava/util/logging/LogManager;
astore 3
start local 3 24: aload 3
instanceof org.apache.juli.ClassLoaderLogManager
ifeq 28
25: aload 3
checkcast org.apache.juli.ClassLoaderLogManager
26: iconst_0
27: invokevirtual org.apache.juli.ClassLoaderLogManager.setUseShutdownHook:(Z)V
end local 3 28: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.Catalina.await:Z
ifeq 31
29: aload 0
invokevirtual org.apache.catalina.startup.Catalina.await:()V
30: aload 0
invokevirtual org.apache.catalina.startup.Catalina.stop:()V
31: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/apache/catalina/startup/Catalina;
6 32 1 t1 J
9 15 3 e Lorg/apache/catalina/LifecycleException;
13 14 4 e1 Lorg/apache/catalina/LifecycleException;
24 28 3 logManager Ljava/util/logging/LogManager;
Exception table:
from to target type
6 7 8 Class org.apache.catalina.LifecycleException
10 11 12 Class org.apache.catalina.LifecycleException
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Catalina.useShutdownHook:Z
ifeq 10
1: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
aload 0
getfield org.apache.catalina.startup.Catalina.shutdownHook:Ljava/lang/Thread;
invokevirtual java.lang.Runtime.removeShutdownHook:(Ljava/lang/Thread;)Z
pop
2: invokestatic java.util.logging.LogManager.getLogManager:()Ljava/util/logging/LogManager;
astore 1
start local 1 3: aload 1
instanceof org.apache.juli.ClassLoaderLogManager
ifeq 10
4: aload 1
checkcast org.apache.juli.ClassLoaderLogManager
5: iconst_1
6: invokevirtual org.apache.juli.ClassLoaderLogManager.setUseShutdownHook:(Z)V
end local 1 7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 1
start local 1 9: aload 1
invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
end local 1 10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
astore 1
start local 1 11: aload 1
invokeinterface org.apache.catalina.Server.getState:()Lorg/apache/catalina/LifecycleState;
astore 2
start local 2 12: getstatic org.apache.catalina.LifecycleState.STOPPING_PREP:Lorg/apache/catalina/LifecycleState;
aload 2
invokevirtual org.apache.catalina.LifecycleState.compareTo:(Ljava/lang/Enum;)I
ifgt 14
13: getstatic org.apache.catalina.LifecycleState.DESTROYED:Lorg/apache/catalina/LifecycleState;
aload 2
invokevirtual org.apache.catalina.LifecycleState.compareTo:(Ljava/lang/Enum;)I
ifge 19
14: StackMap locals: org.apache.catalina.Server org.apache.catalina.LifecycleState
StackMap stack:
aload 1
invokeinterface org.apache.catalina.Server.stop:()V
15: aload 1
invokeinterface org.apache.catalina.Server.destroy:()V
end local 2 end local 1 16: goto 19
StackMap locals: org.apache.catalina.startup.Catalina
StackMap stack: org.apache.catalina.LifecycleException
17: astore 1
start local 1 18: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.stopError"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 1
invokeinterface org.apache.juli.logging.Log.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 1 19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/catalina/startup/Catalina;
3 7 1 logManager Ljava/util/logging/LogManager;
9 10 1 t Ljava/lang/Throwable;
11 16 1 s Lorg/apache/catalina/Server;
12 16 2 state Lorg/apache/catalina/LifecycleState;
18 19 1 e Lorg/apache/catalina/LifecycleException;
Exception table:
from to target type
0 7 8 Class java.lang.Throwable
10 16 17 Class org.apache.catalina.LifecycleException
public void await();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
invokeinterface org.apache.catalina.Server.await:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
protected void usage();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.usage"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Catalina;
protected void initStreams();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.tomcat.util.log.SystemLogHandler
dup
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokespecial org.apache.tomcat.util.log.SystemLogHandler.<init>:(Ljava/io/PrintStream;)V
invokestatic java.lang.System.setOut:(Ljava/io/PrintStream;)V
1: new org.apache.tomcat.util.log.SystemLogHandler
dup
getstatic java.lang.System.err:Ljava/io/PrintStream;
invokespecial org.apache.tomcat.util.log.SystemLogHandler.<init>:(Ljava/io/PrintStream;)V
invokestatic java.lang.System.setErr:(Ljava/io/PrintStream;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/startup/Catalina;
protected void initNaming();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Catalina.useNaming:Z
ifne 4
1: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
getstatic org.apache.catalina.startup.Catalina.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "catalina.noNaming"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface org.apache.juli.logging.Log.info:(Ljava/lang/Object;)V
2: ldc "catalina.useNaming"
ldc "false"
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
3: goto 21
4: StackMap locals:
StackMap stack:
ldc "catalina.useNaming"
ldc "true"
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
5: ldc "org.apache.naming"
astore 1
start local 1 6: ldc "java.naming.factory.url.pkgs"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
7: astore 2
start local 2 8: aload 2
ifnull 10
9: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
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;
astore 1
10: StackMap locals: java.lang.String java.lang.String
StackMap stack:
ldc "java.naming.factory.url.pkgs"
aload 1
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
11: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 13
12: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "Setting naming prefix="
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;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
13: StackMap locals:
StackMap stack:
ldc "java.naming.factory.initial"
14: invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
15: aload 1
ifnonnull 20
16: ldc "java.naming.factory.initial"
17: ldc "org.apache.naming.java.javaURLContextFactory"
18: invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
19: goto 21
20: StackMap locals:
StackMap stack:
getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
new java.lang.StringBuilder
dup
ldc "INITIAL_CONTEXT_FACTORY already set "
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;
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
end local 2 end local 1 21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/catalina/startup/Catalina;
6 21 1 value Ljava/lang/String;
8 21 2 oldValue Ljava/lang/String;
protected void setSecurityProtection();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic org.apache.catalina.security.SecurityConfig.newInstance:()Lorg/apache/catalina/security/SecurityConfig;
astore 1
start local 1 1: aload 1
invokevirtual org.apache.catalina.security.SecurityConfig.setPackageDefinition:()V
2: aload 1
invokevirtual org.apache.catalina.security.SecurityConfig.setPackageAccess:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/startup/Catalina;
1 4 1 securityConfig Lorg/apache/catalina/security/SecurityConfig;
protected void generateLoader();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=7, args_size=1
start local 0 0: ldc "DigesterGeneratedCodeLoader"
astore 1
start local 1 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 2: aload 2
ldc "package "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodePackage: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;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 2
ldc "public class "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 2
ldc " implements org.apache.tomcat.util.digester.Digester.GeneratedCodeLoader {"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 2
ldc "public Object loadGeneratedCode(String className) {"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 2
ldc "switch (className) {"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: invokestatic org.apache.tomcat.util.digester.Digester.getGeneratedClasses:()[Ljava/lang/String;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 12
StackMap locals: org.apache.catalina.startup.Catalina java.lang.String java.lang.StringBuilder top int int java.lang.String[]
StackMap stack:
8: aload 6
iload 4
aaload
astore 3
start local 3 9: aload 2
ldc "case \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" : return new "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 2
ldc "();"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 11: iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 5
if_icmplt 8
13: aload 2
ldc "default: return null; }"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 2
ldc "}}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodeLocation:Ljava/io/File;
aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodePackage:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 3
start local 3 16: aconst_null
astore 4
aconst_null
astore 5
17: new java.io.FileWriter
dup
new java.io.File
dup
aload 3
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".java"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
invokespecial java.io.FileWriter.<init>:(Ljava/io/File;)V
astore 6
start local 6 18: aload 6
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.FileWriter.write:(Ljava/lang/String;)V
19: aload 6
ifnull 27
aload 6
invokevirtual java.io.FileWriter.close:()V
goto 27
StackMap locals: org.apache.catalina.startup.Catalina java.lang.String java.lang.StringBuilder java.io.File java.lang.Throwable java.lang.Throwable java.io.FileWriter
StackMap stack: java.lang.Throwable
20: astore 4
aload 6
ifnull 21
aload 6
invokevirtual java.io.FileWriter.close:()V
end local 6 StackMap locals:
StackMap stack:
21: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 5
aload 4
ifnonnull 23
aload 5
astore 4
goto 24
StackMap locals:
StackMap stack:
23: aload 4
aload 5
if_acmpeq 24
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
24: aload 4
athrow
StackMap locals: org.apache.catalina.startup.Catalina java.lang.String java.lang.StringBuilder java.io.File
StackMap stack: java.io.IOException
25: astore 4
start local 4 26: getstatic org.apache.catalina.startup.Catalina.log:Lorg/apache/juli/logging/Log;
ldc "Error writing code loader"
aload 4
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 4 27: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/catalina/startup/Catalina;
1 28 1 loaderClassName Ljava/lang/String;
2 28 2 code Ljava/lang/StringBuilder;
9 11 3 generatedClassName Ljava/lang/String;
16 28 3 loaderLocation Ljava/io/File;
18 21 6 writer Ljava/io/FileWriter;
26 27 4 e Ljava/io/IOException;
Exception table:
from to target type
18 19 20 any
17 22 22 any
16 25 25 Class java.io.IOException
protected void (org.apache.tomcat.util.digester.Digester, boolean);
descriptor: (Lorg/apache/tomcat/util/digester/Digester;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.tomcat.util.digester.Digester.getGeneratedCode:()Ljava/lang/StringBuilder;
astore 3
start local 3 1: aload 3
ldc "package "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.catalina.startup.Catalina.generatedCodePackage: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;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 3
ldc "public class ServerXml"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: iload 2
ifne 5
4: aload 3
ldc "Stop"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 3
ldc " implements "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 3
ldc Lorg/apache/catalina/startup/Catalina$ServerXml;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
bipush 36
bipush 46
invokevirtual java.lang.String.replace:(CC)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;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 3
ldc "public void load("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc Lorg/apache/catalina/startup/Catalina;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 3
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 1
aload 0
invokevirtual org.apache.tomcat.util.digester.Digester.toVariableName:(Ljava/lang/Object;)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;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/catalina/startup/Catalina;
0 10 1 digester Lorg/apache/tomcat/util/digester/Digester;
0 10 2 start Z
1 10 3 code Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
digester
start
protected void (org.apache.tomcat.util.digester.Digester);
descriptor: (Lorg/apache/tomcat/util/digester/Digester;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.tomcat.util.digester.Digester.getGeneratedCode:()Ljava/lang/StringBuilder;
astore 2
start local 2 1: aload 2
bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 2
bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/startup/Catalina;
0 4 1 digester Lorg/apache/tomcat/util/digester/Digester;
1 4 2 code Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
digester
}
SourceFile: "Catalina.java"
NestMembers:
org.apache.catalina.startup.Catalina$CatalinaShutdownHook org.apache.catalina.startup.Catalina$ServerXml org.apache.catalina.startup.Catalina$SetParentClassLoaderRule
InnerClasses:
protected CatalinaShutdownHook = org.apache.catalina.startup.Catalina$CatalinaShutdownHook of org.apache.catalina.startup.Catalina
public abstract ServerXml = org.apache.catalina.startup.Catalina$ServerXml of org.apache.catalina.startup.Catalina
final SetParentClassLoaderRule = org.apache.catalina.startup.Catalina$SetParentClassLoaderRule of org.apache.catalina.startup.Catalina
public abstract GeneratedCodeLoader = org.apache.tomcat.util.digester.Digester$GeneratedCodeLoader of org.apache.tomcat.util.digester.Digester
public Resource = org.apache.tomcat.util.file.ConfigurationSource$Resource of org.apache.tomcat.util.file.ConfigurationSource