public class org.apache.catalina.startup.Tomcat
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.startup.Tomcat
super_class: java.lang.Object
{
private static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.Map<java.lang.String, java.util.logging.Logger> pinnedLoggers;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/logging/Logger;>;
protected org.apache.catalina.Server server;
descriptor: Lorg/apache/catalina/Server;
flags: (0x0004) ACC_PROTECTED
protected int port;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.lang.String hostname;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String basedir;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
private final java.util.Map<java.lang.String, java.lang.String> userPass;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private final java.util.Map<java.lang.String, java.util.List<java.lang.String>> userRoles;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
private final java.util.Map<java.lang.String, java.security.Principal> userPrincipals;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/security/Principal;>;
private boolean addDefaultWebXmlToWebapp;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static final java.lang.String[] silences;
descriptor: [Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private boolean silent;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=3, args_size=0
0: ldc Lorg/apache/catalina/startup/Tomcat;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
1: bipush 6
anewarray java.lang.String
dup
iconst_0
2: ldc "org.apache.coyote.http11.Http11NioProtocol"
aastore
dup
iconst_1
3: ldc "org.apache.catalina.core.StandardService"
aastore
dup
iconst_2
4: ldc "org.apache.catalina.core.StandardEngine"
aastore
dup
iconst_3
5: ldc "org.apache.catalina.startup.ContextConfig"
aastore
dup
iconst_4
6: ldc "org.apache.catalina.core.ApplicationContext"
aastore
dup
iconst_5
7: ldc "org.apache.catalina.core.AprLifecycleListener"
aastore
8: putstatic org.apache.catalina.startup.Tomcat.silences:[Ljava/lang/String;
9: invokestatic org.apache.tomcat.util.compat.JreCompat.isGraalAvailable:()Z
ifeq 20
10: aconst_null
astore 0
aconst_null
astore 1
11: new java.io.FileInputStream
dup
new java.io.File
dup
ldc "java.util.logging.config.file"
ldc "conf/logging.properties"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 2
start local 2 12: invokestatic java.util.logging.LogManager.getLogManager:()Ljava/util/logging/LogManager;
aload 2
invokevirtual java.util.logging.LogManager.readConfiguration:(Ljava/io/InputStream;)V
13: aload 2
ifnull 20
aload 2
invokevirtual java.io.InputStream.close:()V
goto 20
StackMap locals: java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
14: astore 0
aload 2
ifnull 15
aload 2
invokevirtual java.io.InputStream.close:()V
end local 2 StackMap locals:
StackMap stack:
15: aload 0
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 1
aload 0
ifnonnull 17
aload 1
astore 0
goto 18
StackMap locals:
StackMap stack:
17: aload 0
aload 1
if_acmpeq 18
aload 0
aload 1
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
18: aload 0
athrow
StackMap locals:
StackMap stack: java.lang.Exception
19: pop
20: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
12 15 2 is Ljava/io/InputStream;
Exception table:
from to target type
12 13 14 any
11 16 16 any
10 19 19 Class java.lang.SecurityException
10 19 19 Class java.io.IOException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.startup.Tomcat.pinnedLoggers:Ljava/util/Map;
2: aload 0
sipush 8080
putfield org.apache.catalina.startup.Tomcat.port:I
3: aload 0
ldc "localhost"
putfield org.apache.catalina.startup.Tomcat.hostname:Ljava/lang/String;
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.startup.Tomcat.userPass:Ljava/util/Map;
5: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.startup.Tomcat.userRoles:Ljava/util/Map;
6: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.catalina.startup.Tomcat.userPrincipals:Ljava/util/Map;
7: aload 0
iconst_1
putfield org.apache.catalina.startup.Tomcat.addDefaultWebXmlToWebapp:Z
8: aload 0
iconst_0
putfield org.apache.catalina.startup.Tomcat.silent:Z
9: invokestatic org.apache.tomcat.util.ExceptionUtils.preload:()V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/startup/Tomcat;
public void setBaseDir(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.Tomcat.basedir: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/Tomcat;
0 2 1 basedir Ljava/lang/String;
MethodParameters:
Name Flags
basedir
public void setPort(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.startup.Tomcat.port:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Tomcat;
0 2 1 port I
MethodParameters:
Name Flags
port
public void setHostname(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.Tomcat.hostname: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/Tomcat;
0 2 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public org.apache.catalina.Context addWebapp(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getHost:()Lorg/apache/catalina/Host;
aload 1
aload 2
invokevirtual org.apache.catalina.startup.Tomcat.addWebapp:(Lorg/apache/catalina/Host;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Context;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Tomcat;
0 1 1 contextPath Ljava/lang/String;
0 1 2 docBase Ljava/lang/String;
MethodParameters:
Name Flags
contextPath
docBase
public org.apache.catalina.Context addWebapp(java.lang.String, java.net.URL);
descriptor: (Ljava/lang/String;Ljava/net/URL;)Lorg/apache/catalina/Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=12, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.catalina.util.ContextName
dup
aload 1
aconst_null
invokespecial org.apache.catalina.util.ContextName.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 1: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getHost:()Lorg/apache/catalina/Host;
astore 4
start local 4 2: aload 4
aload 3
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
ifnull 6
3: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "tomcat.addWebapp.conflictChild"
iconst_3
anewarray java.lang.Object
dup
iconst_0
4: aload 2
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 3
invokevirtual org.apache.catalina.util.ContextName.getName:()Ljava/lang/String;
aastore
5: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: org.apache.catalina.util.ContextName org.apache.catalina.Host
StackMap stack:
new java.io.File
dup
aload 4
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
new java.lang.StringBuilder
dup
aload 3
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".war"
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
astore 5
start local 5 7: new java.io.File
dup
aload 4
invokeinterface org.apache.catalina.Host.getAppBaseFile:()Ljava/io/File;
aload 3
invokevirtual org.apache.catalina.util.ContextName.getBaseName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 6
start local 6 8: aload 5
invokevirtual java.io.File.exists:()Z
ifeq 12
9: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "tomcat.addWebapp.conflictFile"
iconst_3
anewarray java.lang.Object
dup
iconst_0
10: aload 2
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 5
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
11: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: java.io.File java.io.File
StackMap stack:
aload 6
invokevirtual java.io.File.exists:()Z
ifeq 16
13: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "tomcat.addWebapp.conflictFile"
iconst_3
anewarray java.lang.Object
dup
iconst_0
14: aload 2
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 6
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
aastore
15: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
astore 7
start local 7 17: aconst_null
astore 8
aconst_null
astore 9
18: aload 7
invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
astore 10
start local 10 19: new java.io.FileOutputStream
dup
aload 5
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 11
start local 11 20: aload 10
aload 11
invokestatic org.apache.catalina.util.IOTools.flow:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
21: aload 11
ifnull 24
aload 11
invokevirtual java.io.OutputStream.close:()V
goto 24
StackMap locals: org.apache.catalina.startup.Tomcat java.lang.String java.net.URL org.apache.catalina.util.ContextName org.apache.catalina.Host java.io.File java.io.File java.net.URLConnection java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.OutputStream
StackMap stack: java.lang.Throwable
22: astore 8
aload 11
ifnull 23
aload 11
invokevirtual java.io.OutputStream.close:()V
end local 11 StackMap locals:
StackMap stack:
23: aload 8
athrow
StackMap locals:
StackMap stack:
24: aload 10
ifnull 32
aload 10
invokevirtual java.io.InputStream.close:()V
goto 32
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 9
aload 8
ifnonnull 26
aload 9
astore 8
goto 27
StackMap locals:
StackMap stack:
26: aload 8
aload 9
if_acmpeq 27
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
27: aload 10
ifnull 28
aload 10
invokevirtual java.io.InputStream.close:()V
end local 10 StackMap locals:
StackMap stack:
28: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
29: astore 9
aload 8
ifnonnull 30
aload 9
astore 8
goto 31
StackMap locals:
StackMap stack:
30: aload 8
aload 9
if_acmpeq 31
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
31: aload 8
athrow
32: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 5
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.Tomcat.addWebapp:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Context;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/apache/catalina/startup/Tomcat;
0 33 1 contextPath Ljava/lang/String;
0 33 2 source Ljava/net/URL;
1 33 3 cn Lorg/apache/catalina/util/ContextName;
2 33 4 h Lorg/apache/catalina/Host;
7 33 5 targetWar Ljava/io/File;
8 33 6 targetDir Ljava/io/File;
17 33 7 uConn Ljava/net/URLConnection;
19 28 10 is Ljava/io/InputStream;
20 23 11 os Ljava/io/OutputStream;
Exception table:
from to target type
20 21 22 any
19 24 25 any
18 29 29 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
contextPath
source
public org.apache.catalina.Context addContext(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getHost:()Lorg/apache/catalina/Host;
aload 1
aload 2
invokevirtual org.apache.catalina.startup.Tomcat.addContext:(Lorg/apache/catalina/Host;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Context;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Tomcat;
0 1 1 contextPath Ljava/lang/String;
0 1 2 docBase Ljava/lang/String;
MethodParameters:
Name Flags
contextPath
docBase
public org.apache.catalina.Wrapper addServlet(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Wrapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getHost:()Lorg/apache/catalina/Host;
aload 1
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
astore 4
start local 4 1: aload 4
checkcast org.apache.catalina.Context
aload 2
aload 3
invokestatic org.apache.catalina.startup.Tomcat.addServlet:(Lorg/apache/catalina/Context;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Wrapper;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Tomcat;
0 2 1 contextPath Ljava/lang/String;
0 2 2 servletName Ljava/lang/String;
0 2 3 servletClass Ljava/lang/String;
1 2 4 ctx Lorg/apache/catalina/Container;
MethodParameters:
Name Flags
contextPath
servletName
servletClass
public static org.apache.catalina.Wrapper addServlet(org.apache.catalina.Context, java.lang.String, java.lang.String);
descriptor: (Lorg/apache/catalina/Context;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Wrapper;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface org.apache.catalina.Context.createWrapper:()Lorg/apache/catalina/Wrapper;
astore 3
start local 3 1: aload 3
aload 2
invokeinterface org.apache.catalina.Wrapper.setServletClass:(Ljava/lang/String;)V
2: aload 3
aload 1
invokeinterface org.apache.catalina.Wrapper.setName:(Ljava/lang/String;)V
3: aload 0
aload 3
invokeinterface org.apache.catalina.Context.addChild:(Lorg/apache/catalina/Container;)V
4: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 ctx Lorg/apache/catalina/Context;
0 5 1 servletName Ljava/lang/String;
0 5 2 servletClass Ljava/lang/String;
1 5 3 sw Lorg/apache/catalina/Wrapper;
MethodParameters:
Name Flags
ctx
servletName
servletClass
public org.apache.catalina.Wrapper addServlet(java.lang.String, java.lang.String, jakarta.servlet.Servlet);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljakarta/servlet/Servlet;)Lorg/apache/catalina/Wrapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getHost:()Lorg/apache/catalina/Host;
aload 1
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
astore 4
start local 4 1: aload 4
checkcast org.apache.catalina.Context
aload 2
aload 3
invokestatic org.apache.catalina.startup.Tomcat.addServlet:(Lorg/apache/catalina/Context;Ljava/lang/String;Ljakarta/servlet/Servlet;)Lorg/apache/catalina/Wrapper;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Tomcat;
0 2 1 contextPath Ljava/lang/String;
0 2 2 servletName Ljava/lang/String;
0 2 3 servlet Ljakarta/servlet/Servlet;
1 2 4 ctx Lorg/apache/catalina/Container;
MethodParameters:
Name Flags
contextPath
servletName
servlet
public static org.apache.catalina.Wrapper addServlet(org.apache.catalina.Context, java.lang.String, jakarta.servlet.Servlet);
descriptor: (Lorg/apache/catalina/Context;Ljava/lang/String;Ljakarta/servlet/Servlet;)Lorg/apache/catalina/Wrapper;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.catalina.startup.Tomcat$ExistingStandardWrapper
dup
aload 2
invokespecial org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.<init>:(Ljakarta/servlet/Servlet;)V
astore 3
start local 3 1: aload 3
aload 1
invokeinterface org.apache.catalina.Wrapper.setName:(Ljava/lang/String;)V
2: aload 0
aload 3
invokeinterface org.apache.catalina.Context.addChild:(Lorg/apache/catalina/Container;)V
3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ctx Lorg/apache/catalina/Context;
0 4 1 servletName Ljava/lang/String;
0 4 2 servlet Ljakarta/servlet/Servlet;
1 4 3 sw Lorg/apache/catalina/Wrapper;
MethodParameters:
Name Flags
ctx
servletName
servlet
public void init(org.apache.tomcat.util.file.ConfigurationSource);
descriptor: (Lorg/apache/tomcat/util/file/ConfigurationSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.apache.catalina.startup.Tomcat.init:(Lorg/apache/tomcat/util/file/ConfigurationSource;[Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Tomcat;
0 2 1 source Lorg/apache/tomcat/util/file/ConfigurationSource;
MethodParameters:
Name Flags
source
public void init(org.apache.tomcat.util.file.ConfigurationSource, java.lang.String[]);
descriptor: (Lorg/apache/tomcat/util/file/ConfigurationSource;[Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.apache.tomcat.util.file.ConfigFileLoader.setSource:(Lorg/apache/tomcat/util/file/ConfigurationSource;)V
1: aload 0
iconst_0
putfield org.apache.catalina.startup.Tomcat.addDefaultWebXmlToWebapp:Z
2: new org.apache.catalina.startup.Catalina
dup
invokespecial org.apache.catalina.startup.Catalina.<init>:()V
astore 3
start local 3 3: aload 2
ifnonnull 6
4: aload 3
invokevirtual org.apache.catalina.startup.Catalina.load:()V
5: goto 7
6: StackMap locals: org.apache.catalina.startup.Catalina
StackMap stack:
aload 3
aload 2
invokevirtual org.apache.catalina.startup.Catalina.load:([Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.apache.catalina.startup.Catalina.getServer:()Lorg/apache/catalina/Server;
putfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/startup/Tomcat;
0 9 1 source Lorg/apache/tomcat/util/file/ConfigurationSource;
0 9 2 catalinaArguments [Ljava/lang/String;
3 9 3 catalina Lorg/apache/catalina/startup/Catalina;
MethodParameters:
Name Flags
source
catalinaArguments
public void init();
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.Tomcat.getServer:()Lorg/apache/catalina/Server;
pop
1: aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
invokeinterface org.apache.catalina.Server.init:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/startup/Tomcat;
Exceptions:
throws org.apache.catalina.LifecycleException
public void start();
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.Tomcat.getServer:()Lorg/apache/catalina/Server;
pop
1: aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
invokeinterface org.apache.catalina.Server.start:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/startup/Tomcat;
Exceptions:
throws org.apache.catalina.LifecycleException
public void stop();
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.Tomcat.getServer:()Lorg/apache/catalina/Server;
pop
1: aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
invokeinterface org.apache.catalina.Server.stop:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/startup/Tomcat;
Exceptions:
throws org.apache.catalina.LifecycleException
public void destroy();
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.Tomcat.getServer:()Lorg/apache/catalina/Server;
pop
1: aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
invokeinterface org.apache.catalina.Server.destroy:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/startup/Tomcat;
Exceptions:
throws org.apache.catalina.LifecycleException
public void addUser(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.catalina.startup.Tomcat.userPass:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Tomcat;
0 2 1 user Ljava/lang/String;
0 2 2 pass Ljava/lang/String;
MethodParameters:
Name Flags
user
pass
public void addRole(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.catalina.startup.Tomcat.userRoles:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 1: aload 3
ifnonnull 4
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
3: aload 0
getfield org.apache.catalina.startup.Tomcat.userRoles:Ljava/util/Map;
aload 1
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: java.util.List
StackMap stack:
aload 3
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/catalina/startup/Tomcat;
0 6 1 user Ljava/lang/String;
0 6 2 role Ljava/lang/String;
1 6 3 roles Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
user
role
public org.apache.catalina.connector.Connector getConnector();
descriptor: ()Lorg/apache/catalina/connector/Connector;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getService:()Lorg/apache/catalina/Service;
astore 1
start local 1 1: aload 1
invokeinterface org.apache.catalina.Service.findConnectors:()[Lorg/apache/catalina/connector/Connector;
arraylength
ifle 3
2: aload 1
invokeinterface org.apache.catalina.Service.findConnectors:()[Lorg/apache/catalina/connector/Connector;
iconst_0
aaload
areturn
3: StackMap locals: org.apache.catalina.Service
StackMap stack:
new org.apache.catalina.connector.Connector
dup
ldc "HTTP/1.1"
invokespecial org.apache.catalina.connector.Connector.<init>:(Ljava/lang/String;)V
astore 2
start local 2 4: aload 2
aload 0
getfield org.apache.catalina.startup.Tomcat.port:I
invokevirtual org.apache.catalina.connector.Connector.setPort:(I)V
5: aload 1
aload 2
invokeinterface org.apache.catalina.Service.addConnector:(Lorg/apache/catalina/connector/Connector;)V
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/startup/Tomcat;
1 7 1 service Lorg/apache/catalina/Service;
4 7 2 connector Lorg/apache/catalina/connector/Connector;
public void setConnector(org.apache.catalina.connector.Connector);
descriptor: (Lorg/apache/catalina/connector/Connector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getService:()Lorg/apache/catalina/Service;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 2
invokeinterface org.apache.catalina.Service.findConnectors:()[Lorg/apache/catalina/connector/Connector;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 8
StackMap locals: org.apache.catalina.startup.Tomcat org.apache.catalina.connector.Connector org.apache.catalina.Service int top int int org.apache.catalina.connector.Connector[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 1
aload 4
if_acmpne 7
5: iconst_1
istore 3
6: goto 9
end local 4 7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 6
if_icmplt 3
9: StackMap locals: org.apache.catalina.startup.Tomcat org.apache.catalina.connector.Connector org.apache.catalina.Service int
StackMap stack:
iload 3
ifne 11
10: aload 2
aload 1
invokeinterface org.apache.catalina.Service.addConnector:(Lorg/apache/catalina/connector/Connector;)V
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/startup/Tomcat;
0 12 1 connector Lorg/apache/catalina/connector/Connector;
1 12 2 service Lorg/apache/catalina/Service;
2 12 3 found Z
4 7 4 serviceConnector Lorg/apache/catalina/connector/Connector;
MethodParameters:
Name Flags
connector
public org.apache.catalina.Service getService();
descriptor: ()Lorg/apache/catalina/Service;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getServer:()Lorg/apache/catalina/Server;
invokeinterface org.apache.catalina.Server.findServices:()[Lorg/apache/catalina/Service;
iconst_0
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Tomcat;
public void setHost(org.apache.catalina.Host);
descriptor: (Lorg/apache/catalina/Host;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getEngine:()Lorg/apache/catalina/Engine;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 2
invokeinterface org.apache.catalina.Engine.findChildren:()[Lorg/apache/catalina/Container;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 8
StackMap locals: org.apache.catalina.startup.Tomcat org.apache.catalina.Host org.apache.catalina.Engine int top int int org.apache.catalina.Container[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 4
aload 1
if_acmpne 7
5: iconst_1
istore 3
6: goto 9
end local 4 7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 6
if_icmplt 3
9: StackMap locals: org.apache.catalina.startup.Tomcat org.apache.catalina.Host org.apache.catalina.Engine int
StackMap stack:
iload 3
ifne 11
10: aload 2
aload 1
invokeinterface org.apache.catalina.Engine.addChild:(Lorg/apache/catalina/Container;)V
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/startup/Tomcat;
0 12 1 host Lorg/apache/catalina/Host;
1 12 2 engine Lorg/apache/catalina/Engine;
2 12 3 found Z
4 7 4 engineHost Lorg/apache/catalina/Container;
MethodParameters:
Name Flags
host
public org.apache.catalina.Host getHost();
descriptor: ()Lorg/apache/catalina/Host;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getEngine:()Lorg/apache/catalina/Engine;
astore 1
start local 1 1: aload 1
invokeinterface org.apache.catalina.Engine.findChildren:()[Lorg/apache/catalina/Container;
arraylength
ifle 3
2: aload 1
invokeinterface org.apache.catalina.Engine.findChildren:()[Lorg/apache/catalina/Container;
iconst_0
aaload
checkcast org.apache.catalina.Host
areturn
3: StackMap locals: org.apache.catalina.Engine
StackMap stack:
new org.apache.catalina.core.StandardHost
dup
invokespecial org.apache.catalina.core.StandardHost.<init>:()V
astore 2
start local 2 4: aload 2
aload 0
getfield org.apache.catalina.startup.Tomcat.hostname:Ljava/lang/String;
invokeinterface org.apache.catalina.Host.setName:(Ljava/lang/String;)V
5: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getEngine:()Lorg/apache/catalina/Engine;
aload 2
invokeinterface org.apache.catalina.Engine.addChild:(Lorg/apache/catalina/Container;)V
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/startup/Tomcat;
1 7 1 engine Lorg/apache/catalina/Engine;
4 7 2 host Lorg/apache/catalina/Host;
public org.apache.catalina.Engine getEngine();
descriptor: ()Lorg/apache/catalina/Engine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getServer:()Lorg/apache/catalina/Server;
invokeinterface org.apache.catalina.Server.findServices:()[Lorg/apache/catalina/Service;
iconst_0
aaload
astore 1
start local 1 1: aload 1
invokeinterface org.apache.catalina.Service.getContainer:()Lorg/apache/catalina/Engine;
ifnull 3
2: aload 1
invokeinterface org.apache.catalina.Service.getContainer:()Lorg/apache/catalina/Engine;
areturn
3: StackMap locals: org.apache.catalina.Service
StackMap stack:
new org.apache.catalina.core.StandardEngine
dup
invokespecial org.apache.catalina.core.StandardEngine.<init>:()V
astore 2
start local 2 4: aload 2
ldc "Tomcat"
invokeinterface org.apache.catalina.Engine.setName:(Ljava/lang/String;)V
5: aload 2
aload 0
getfield org.apache.catalina.startup.Tomcat.hostname:Ljava/lang/String;
invokeinterface org.apache.catalina.Engine.setDefaultHost:(Ljava/lang/String;)V
6: aload 2
aload 0
invokevirtual org.apache.catalina.startup.Tomcat.createDefaultRealm:()Lorg/apache/catalina/Realm;
invokeinterface org.apache.catalina.Engine.setRealm:(Lorg/apache/catalina/Realm;)V
7: aload 1
aload 2
invokeinterface org.apache.catalina.Service.setContainer:(Lorg/apache/catalina/Engine;)V
8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/catalina/startup/Tomcat;
1 9 1 service Lorg/apache/catalina/Service;
4 9 2 engine Lorg/apache/catalina/Engine;
public org.apache.catalina.Server getServer();
descriptor: ()Lorg/apache/catalina/Server;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
ifnull 2
1: aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
areturn
2: StackMap locals:
StackMap stack:
ldc "catalina.useNaming"
ldc "false"
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
3: aload 0
new org.apache.catalina.core.StandardServer
dup
invokespecial org.apache.catalina.core.StandardServer.<init>:()V
putfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
4: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.initBaseDir:()V
5: new org.apache.catalina.startup.CatalinaBaseConfigurationSource
dup
new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.Tomcat.basedir:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
aconst_null
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
6: aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
iconst_m1
invokeinterface org.apache.catalina.Server.setPort:(I)V
7: new org.apache.catalina.core.StandardService
dup
invokespecial org.apache.catalina.core.StandardService.<init>:()V
astore 1
start local 1 8: aload 1
ldc "Tomcat"
invokeinterface org.apache.catalina.Service.setName:(Ljava/lang/String;)V
9: aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
aload 1
invokeinterface org.apache.catalina.Server.addService:(Lorg/apache/catalina/Service;)V
10: aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/startup/Tomcat;
8 11 1 service Lorg/apache/catalina/Service;
public org.apache.catalina.Context addContext(org.apache.catalina.Host, java.lang.String, java.lang.String);
descriptor: (Lorg/apache/catalina/Host;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 2
aload 3
invokevirtual org.apache.catalina.startup.Tomcat.addContext:(Lorg/apache/catalina/Host;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Context;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Tomcat;
0 1 1 host Lorg/apache/catalina/Host;
0 1 2 contextPath Ljava/lang/String;
0 1 3 dir Ljava/lang/String;
MethodParameters:
Name Flags
host
contextPath
dir
public org.apache.catalina.Context addContext(org.apache.catalina.Host, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Lorg/apache/catalina/Host;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 3
invokevirtual org.apache.catalina.startup.Tomcat.silence:(Lorg/apache/catalina/Host;Ljava/lang/String;)V
1: aload 0
aload 1
aload 2
invokevirtual org.apache.catalina.startup.Tomcat.createContext:(Lorg/apache/catalina/Host;Ljava/lang/String;)Lorg/apache/catalina/Context;
astore 5
start local 5 2: aload 5
aload 3
invokeinterface org.apache.catalina.Context.setName:(Ljava/lang/String;)V
3: aload 5
aload 2
invokeinterface org.apache.catalina.Context.setPath:(Ljava/lang/String;)V
4: aload 5
aload 4
invokeinterface org.apache.catalina.Context.setDocBase:(Ljava/lang/String;)V
5: aload 5
new org.apache.catalina.startup.Tomcat$FixContextListener
dup
invokespecial org.apache.catalina.startup.Tomcat$FixContextListener.<init>:()V
invokeinterface org.apache.catalina.Context.addLifecycleListener:(Lorg/apache/catalina/LifecycleListener;)V
6: aload 1
ifnonnull 9
7: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getHost:()Lorg/apache/catalina/Host;
aload 5
invokeinterface org.apache.catalina.Host.addChild:(Lorg/apache/catalina/Container;)V
8: goto 10
9: StackMap locals: org.apache.catalina.Context
StackMap stack:
aload 1
aload 5
invokeinterface org.apache.catalina.Host.addChild:(Lorg/apache/catalina/Container;)V
10: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/catalina/startup/Tomcat;
0 11 1 host Lorg/apache/catalina/Host;
0 11 2 contextPath Ljava/lang/String;
0 11 3 contextName Ljava/lang/String;
0 11 4 dir Ljava/lang/String;
2 11 5 ctx Lorg/apache/catalina/Context;
MethodParameters:
Name Flags
host
contextPath
contextName
dir
public org.apache.catalina.Context addWebapp(org.apache.catalina.Host, java.lang.String, java.lang.String);
descriptor: (Lorg/apache/catalina/Host;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getHost:()Lorg/apache/catalina/Host;
invokeinterface org.apache.catalina.Host.getConfigClass:()Ljava/lang/String;
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 5
start local 5 2: aload 5
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.LifecycleListener
astore 4
end local 5 3: goto 6
StackMap locals: org.apache.catalina.startup.Tomcat org.apache.catalina.Host java.lang.String java.lang.String org.apache.catalina.LifecycleListener
StackMap stack: java.lang.ReflectiveOperationException
4: astore 5
start local 5 5: new java.lang.IllegalArgumentException
dup
aload 5
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 6: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 4
invokevirtual org.apache.catalina.startup.Tomcat.addWebapp:(Lorg/apache/catalina/Host;Ljava/lang/String;Ljava/lang/String;Lorg/apache/catalina/LifecycleListener;)Lorg/apache/catalina/Context;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/startup/Tomcat;
0 7 1 host Lorg/apache/catalina/Host;
0 7 2 contextPath Ljava/lang/String;
0 7 3 docBase Ljava/lang/String;
1 7 4 listener Lorg/apache/catalina/LifecycleListener;
2 3 5 clazz Ljava/lang/Class<*>;
5 6 5 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
1 3 4 Class java.lang.ReflectiveOperationException
MethodParameters:
Name Flags
host
contextPath
docBase
public org.apache.catalina.Context addWebapp(org.apache.catalina.Host, java.lang.String, java.lang.String, org.apache.catalina.LifecycleListener);
descriptor: (Lorg/apache/catalina/Host;Ljava/lang/String;Ljava/lang/String;Lorg/apache/catalina/LifecycleListener;)Lorg/apache/catalina/Context;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
invokevirtual org.apache.catalina.startup.Tomcat.silence:(Lorg/apache/catalina/Host;Ljava/lang/String;)V
1: aload 0
aload 1
aload 2
invokevirtual org.apache.catalina.startup.Tomcat.createContext:(Lorg/apache/catalina/Host;Ljava/lang/String;)Lorg/apache/catalina/Context;
astore 5
start local 5 2: aload 5
aload 2
invokeinterface org.apache.catalina.Context.setPath:(Ljava/lang/String;)V
3: aload 5
aload 3
invokeinterface org.apache.catalina.Context.setDocBase:(Ljava/lang/String;)V
4: aload 0
getfield org.apache.catalina.startup.Tomcat.addDefaultWebXmlToWebapp:Z
ifeq 6
5: aload 5
aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getDefaultWebXmlListener:()Lorg/apache/catalina/LifecycleListener;
invokeinterface org.apache.catalina.Context.addLifecycleListener:(Lorg/apache/catalina/LifecycleListener;)V
6: StackMap locals: org.apache.catalina.Context
StackMap stack:
aload 5
aload 0
aload 3
aload 2
invokevirtual org.apache.catalina.startup.Tomcat.getWebappConfigFile:(Ljava/lang/String;Ljava/lang/String;)Ljava/net/URL;
invokeinterface org.apache.catalina.Context.setConfigFile:(Ljava/net/URL;)V
7: aload 5
aload 4
invokeinterface org.apache.catalina.Context.addLifecycleListener:(Lorg/apache/catalina/LifecycleListener;)V
8: aload 0
getfield org.apache.catalina.startup.Tomcat.addDefaultWebXmlToWebapp:Z
ifeq 10
aload 4
instanceof org.apache.catalina.startup.ContextConfig
ifeq 10
9: aload 4
checkcast org.apache.catalina.startup.ContextConfig
aload 0
invokevirtual org.apache.catalina.startup.Tomcat.noDefaultWebXmlPath:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.ContextConfig.setDefaultWebXml:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 1
ifnonnull 13
11: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getHost:()Lorg/apache/catalina/Host;
aload 5
invokeinterface org.apache.catalina.Host.addChild:(Lorg/apache/catalina/Container;)V
12: goto 14
13: StackMap locals:
StackMap stack:
aload 1
aload 5
invokeinterface org.apache.catalina.Host.addChild:(Lorg/apache/catalina/Container;)V
14: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/catalina/startup/Tomcat;
0 15 1 host Lorg/apache/catalina/Host;
0 15 2 contextPath Ljava/lang/String;
0 15 3 docBase Ljava/lang/String;
0 15 4 config Lorg/apache/catalina/LifecycleListener;
2 15 5 ctx Lorg/apache/catalina/Context;
MethodParameters:
Name Flags
host
contextPath
docBase
config
public org.apache.catalina.LifecycleListener getDefaultWebXmlListener();
descriptor: ()Lorg/apache/catalina/LifecycleListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new org.apache.catalina.startup.Tomcat$DefaultWebXmlListener
dup
invokespecial org.apache.catalina.startup.Tomcat$DefaultWebXmlListener.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Tomcat;
public java.lang.String noDefaultWebXmlPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "org/apache/catalina/startup/NO_DEFAULT_XML"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Tomcat;
protected org.apache.catalina.Realm createDefaultRealm();
descriptor: ()Lorg/apache/catalina/Realm;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.catalina.startup.Tomcat$SimpleRealm
dup
aload 0
invokespecial org.apache.catalina.startup.Tomcat$SimpleRealm.<init>:(Lorg/apache/catalina/startup/Tomcat;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/startup/Tomcat;
protected void initBaseDir();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=4, args_size=1
start local 0 0: ldc "catalina.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield org.apache.catalina.startup.Tomcat.basedir:Ljava/lang/String;
ifnonnull 3
2: aload 0
ldc "catalina.base"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putfield org.apache.catalina.startup.Tomcat.basedir:Ljava/lang/String;
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.catalina.startup.Tomcat.basedir:Ljava/lang/String;
ifnonnull 5
4: aload 0
aload 1
putfield org.apache.catalina.startup.Tomcat.basedir:Ljava/lang/String;
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.Tomcat.basedir:Ljava/lang/String;
ifnonnull 7
6: aload 0
new java.lang.StringBuilder
dup
ldc "user.dir"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/tomcat."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.catalina.startup.Tomcat.port:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.apache.catalina.startup.Tomcat.basedir:Ljava/lang/String;
7: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield org.apache.catalina.startup.Tomcat.basedir:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 8: aload 2
invokevirtual java.io.File.exists:()Z
ifeq 11
9: aload 2
invokevirtual java.io.File.isDirectory:()Z
ifne 13
10: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "tomcat.baseDirNotDir"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: java.io.File
StackMap stack:
aload 2
invokevirtual java.io.File.mkdirs:()Z
ifne 13
12: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "tomcat.baseDirMakeFail"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
astore 2
14: goto 17
StackMap locals:
StackMap stack: java.io.IOException
15: pop
16: aload 2
invokevirtual java.io.File.getAbsoluteFile:()Ljava/io/File;
astore 2
17: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
aload 2
invokeinterface org.apache.catalina.Server.setCatalinaBase:(Ljava/io/File;)V
18: ldc "catalina.base"
aload 2
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
19: aload 0
aload 2
invokevirtual java.io.File.getPath:()Ljava/lang/String;
putfield org.apache.catalina.startup.Tomcat.basedir:Ljava/lang/String;
20: aload 1
ifnonnull 23
21: aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
aload 2
invokeinterface org.apache.catalina.Server.setCatalinaHome:(Ljava/io/File;)V
22: goto 31
23: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
start local 3 24: aload 3
invokevirtual java.io.File.isDirectory:()Z
ifne 26
aload 3
invokevirtual java.io.File.mkdirs:()Z
ifne 26
25: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "tomcat.homeDirMakeFail"
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;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals: java.io.File
StackMap stack:
aload 3
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
astore 3
27: goto 30
StackMap locals:
StackMap stack: java.io.IOException
28: pop
29: aload 3
invokevirtual java.io.File.getAbsoluteFile:()Ljava/io/File;
astore 3
30: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
aload 3
invokeinterface org.apache.catalina.Server.setCatalinaHome:(Ljava/io/File;)V
end local 3 31: StackMap locals:
StackMap stack:
ldc "catalina.home"
32: aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
invokeinterface org.apache.catalina.Server.getCatalinaHome:()Ljava/io/File;
invokevirtual java.io.File.getPath:()Ljava/lang/String;
33: invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
34: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lorg/apache/catalina/startup/Tomcat;
1 35 1 catalinaHome Ljava/lang/String;
8 35 2 baseFile Ljava/io/File;
24 31 3 homeFile Ljava/io/File;
Exception table:
from to target type
13 14 15 Class java.io.IOException
26 27 28 Class java.io.IOException
public void setSilent(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.catalina.startup.Tomcat.silent:Z
1: getstatic org.apache.catalina.startup.Tomcat.silences:[Ljava/lang/String;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 10
StackMap locals: org.apache.catalina.startup.Tomcat int top int int java.lang.String[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
astore 6
start local 6 4: aload 0
getfield org.apache.catalina.startup.Tomcat.pinnedLoggers:Ljava/util/Map;
aload 2
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: iload 1
ifeq 8
6: aload 6
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.setLevel:(Ljava/util/logging/Level;)V
7: goto 9
8: StackMap locals: org.apache.catalina.startup.Tomcat int java.lang.String int int java.lang.String[] java.util.logging.Logger
StackMap stack:
aload 6
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.setLevel:(Ljava/util/logging/Level;)V
end local 6 end local 2 9: StackMap locals: org.apache.catalina.startup.Tomcat int top int int java.lang.String[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmplt 2
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/catalina/startup/Tomcat;
0 12 1 silent Z
3 9 2 s Ljava/lang/String;
4 9 6 logger Ljava/util/logging/Logger;
MethodParameters:
Name Flags
silent
private void silence(org.apache.catalina.Host, java.lang.String);
descriptor: (Lorg/apache/catalina/Host;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.apache.catalina.startup.Tomcat.getLoggerName:(Lorg/apache/catalina/Host;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
astore 4
start local 4 2: aload 0
getfield org.apache.catalina.startup.Tomcat.pinnedLoggers:Ljava/util/Map;
aload 3
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield org.apache.catalina.startup.Tomcat.silent:Z
ifeq 6
4: aload 4
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.setLevel:(Ljava/util/logging/Level;)V
5: goto 7
6: StackMap locals: java.lang.String java.util.logging.Logger
StackMap stack:
aload 4
getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.setLevel:(Ljava/util/logging/Level;)V
7: 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 8 0 this Lorg/apache/catalina/startup/Tomcat;
0 8 1 host Lorg/apache/catalina/Host;
0 8 2 contextPath Ljava/lang/String;
1 8 3 loggerName Ljava/lang/String;
2 8 4 logger Ljava/util/logging/Logger;
MethodParameters:
Name Flags
host
contextPath
public void setAddDefaultWebXmlToWebapp(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.Tomcat.addDefaultWebXmlToWebapp:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/Tomcat;
0 2 1 addDefaultWebXmlToWebapp Z
MethodParameters:
Name Flags
addDefaultWebXmlToWebapp
private java.lang.String getLoggerName(org.apache.catalina.Host, java.lang.String);
descriptor: (Lorg/apache/catalina/Host;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getHost:()Lorg/apache/catalina/Host;
astore 1
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 3: aload 3
ldc Lorg/apache/catalina/core/ContainerBase;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 3
ldc ".["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 3
aload 1
invokeinterface org.apache.catalina.Host.getParent:()Lorg/apache/catalina/Container;
invokeinterface org.apache.catalina.Container.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 3
ldc "].["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 3
aload 1
invokeinterface org.apache.catalina.Host.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 3
ldc "].["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 2
ifnull 10
aload 2
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 3
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: goto 15
StackMap locals:
StackMap stack:
12: aload 2
ldc "##"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
13: aload 3
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: aload 3
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 3
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/catalina/startup/Tomcat;
0 17 1 host Lorg/apache/catalina/Host;
0 17 2 contextName Ljava/lang/String;
3 17 3 loggerName Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
host
contextName
private org.apache.catalina.Context createContext(org.apache.catalina.Host, java.lang.String);
descriptor: (Lorg/apache/catalina/Host;Ljava/lang/String;)Lorg/apache/catalina/Context;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=3
start local 0 start local 1 start local 2 0: ldc Lorg/apache/catalina/core/StandardContext;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 3
start local 3 1: ldc Lorg/apache/catalina/core/StandardContext;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 4
start local 4 2: aload 1
ifnonnull 4
3: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getHost:()Lorg/apache/catalina/Host;
astore 1
4: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 1
instanceof org.apache.catalina.core.StandardHost
ifeq 6
5: aload 1
checkcast org.apache.catalina.core.StandardHost
invokevirtual org.apache.catalina.core.StandardHost.getContextClass:()Ljava/lang/String;
astore 4
6: StackMap locals:
StackMap stack:
aload 3
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: new org.apache.catalina.core.StandardContext
dup
invokespecial org.apache.catalina.core.StandardContext.<init>:()V
8: areturn
9: StackMap locals:
StackMap stack:
aload 4
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
10: invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.catalina.Context
11: areturn
12: StackMap locals:
StackMap stack: java.lang.Exception
astore 5
start local 5 13: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "tomcat.noContextClass"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 2
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 5
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
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 14 0 this Lorg/apache/catalina/startup/Tomcat;
0 14 1 host Lorg/apache/catalina/Host;
0 14 2 url Ljava/lang/String;
1 14 3 defaultContextClass Ljava/lang/String;
2 14 4 contextClass Ljava/lang/String;
13 14 5 e Ljava/lang/Exception;
Exception table:
from to target type
6 8 12 Class java.lang.ReflectiveOperationException
9 11 12 Class java.lang.ReflectiveOperationException
6 8 12 Class java.lang.IllegalArgumentException
9 11 12 Class java.lang.IllegalArgumentException
6 8 12 Class java.lang.SecurityException
9 11 12 Class java.lang.SecurityException
MethodParameters:
Name Flags
host
url
public void enableNaming();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getServer:()Lorg/apache/catalina/Server;
pop
1: aload 0
getfield org.apache.catalina.startup.Tomcat.server:Lorg/apache/catalina/Server;
new org.apache.catalina.core.NamingContextListener
dup
invokespecial org.apache.catalina.core.NamingContextListener.<init>:()V
invokeinterface org.apache.catalina.Server.addLifecycleListener:(Lorg/apache/catalina/LifecycleListener;)V
2: ldc "catalina.useNaming"
ldc "true"
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
3: ldc "org.apache.naming"
astore 1
start local 1 4: ldc "java.naming.factory.url.pkgs"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
5: astore 2
start local 2 6: aload 2
ifnull 11
7: aload 2
aload 1
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 10
8: aload 2
astore 1
9: goto 11
10: StackMap locals: java.lang.String java.lang.String
StackMap stack:
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
11: StackMap locals:
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
12: ldc "java.naming.factory.initial"
13: invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
14: aload 1
ifnonnull 18
15: ldc "java.naming.factory.initial"
16: ldc "org.apache.naming.java.javaURLContextFactory"
17: invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/catalina/startup/Tomcat;
4 19 1 value Ljava/lang/String;
6 19 2 oldValue Ljava/lang/String;
public void initWebappDefaults(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
invokevirtual org.apache.catalina.startup.Tomcat.getHost:()Lorg/apache/catalina/Host;
aload 1
invokeinterface org.apache.catalina.Host.findChild:(Ljava/lang/String;)Lorg/apache/catalina/Container;
astore 2
start local 2 1: aload 2
checkcast org.apache.catalina.Context
invokestatic org.apache.catalina.startup.Tomcat.initWebappDefaults:(Lorg/apache/catalina/Context;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/startup/Tomcat;
0 3 1 contextPath Ljava/lang/String;
1 3 2 ctx Lorg/apache/catalina/Container;
MethodParameters:
Name Flags
contextPath
public static void initWebappDefaults(org.apache.catalina.Context);
descriptor: (Lorg/apache/catalina/Context;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "default"
ldc "org.apache.catalina.servlets.DefaultServlet"
1: invokestatic org.apache.catalina.startup.Tomcat.addServlet:(Lorg/apache/catalina/Context;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Wrapper;
astore 1
start local 1 2: aload 1
iconst_1
invokeinterface org.apache.catalina.Wrapper.setLoadOnStartup:(I)V
3: aload 1
iconst_1
invokeinterface org.apache.catalina.Wrapper.setOverridable:(Z)V
4: aload 0
ldc "jsp"
ldc "org.apache.jasper.servlet.JspServlet"
5: invokestatic org.apache.catalina.startup.Tomcat.addServlet:(Lorg/apache/catalina/Context;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Wrapper;
astore 1
6: aload 1
ldc "fork"
ldc "false"
invokeinterface org.apache.catalina.Wrapper.addInitParameter:(Ljava/lang/String;Ljava/lang/String;)V
7: aload 1
iconst_3
invokeinterface org.apache.catalina.Wrapper.setLoadOnStartup:(I)V
8: aload 1
iconst_1
invokeinterface org.apache.catalina.Wrapper.setOverridable:(Z)V
9: aload 0
ldc "/"
ldc "default"
invokeinterface org.apache.catalina.Context.addServletMappingDecoded:(Ljava/lang/String;Ljava/lang/String;)V
10: aload 0
ldc "*.jsp"
ldc "jsp"
invokeinterface org.apache.catalina.Context.addServletMappingDecoded:(Ljava/lang/String;Ljava/lang/String;)V
11: aload 0
ldc "*.jspx"
ldc "jsp"
invokeinterface org.apache.catalina.Context.addServletMappingDecoded:(Ljava/lang/String;Ljava/lang/String;)V
12: aload 0
bipush 30
invokeinterface org.apache.catalina.Context.setSessionTimeout:(I)V
13: aload 0
invokestatic org.apache.catalina.startup.Tomcat.addDefaultMimeTypeMappings:(Lorg/apache/catalina/Context;)V
14: aload 0
ldc "index.html"
invokeinterface org.apache.catalina.Context.addWelcomeFile:(Ljava/lang/String;)V
15: aload 0
ldc "index.htm"
invokeinterface org.apache.catalina.Context.addWelcomeFile:(Ljava/lang/String;)V
16: aload 0
ldc "index.jsp"
invokeinterface org.apache.catalina.Context.addWelcomeFile:(Ljava/lang/String;)V
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 ctx Lorg/apache/catalina/Context;
2 18 1 servlet Lorg/apache/catalina/Wrapper;
MethodParameters:
Name Flags
ctx
public static void addDefaultMimeTypeMappings(org.apache.catalina.Context);
descriptor: (Lorg/apache/catalina/Context;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 1
start local 1 1: aconst_null
astore 2
aconst_null
astore 3
2: ldc Lorg/apache/catalina/startup/Tomcat;
ldc "MimeTypeMappings.properties"
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 4
start local 4 3: aload 1
aload 4
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
4: aload 1
invokevirtual java.util.Properties.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: org.apache.catalina.Context java.util.Properties java.lang.Throwable java.lang.Throwable java.io.InputStream top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 6: aload 0
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokeinterface org.apache.catalina.Context.addMimeMapping:(Ljava/lang/String;Ljava/lang/String;)V
end local 5 7: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 4
ifnull 16
aload 4
invokevirtual java.io.InputStream.close:()V
goto 16
StackMap locals: org.apache.catalina.Context java.util.Properties java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
9: astore 2
aload 4
ifnull 10
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
10: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 3
aload 2
ifnonnull 12
aload 3
astore 2
goto 13
StackMap locals:
StackMap stack:
12: aload 2
aload 3
if_acmpeq 13
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 2
athrow
StackMap locals: org.apache.catalina.Context java.util.Properties
StackMap stack: java.io.IOException
14: astore 2
start local 2 15: new java.lang.IllegalStateException
dup
getstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "tomcat.defaultMimeTypeMappingsFail"
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 2
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 context Lorg/apache/catalina/Context;
1 17 1 defaultMimeMappings Ljava/util/Properties;
3 10 4 is Ljava/io/InputStream;
6 7 5 entry Ljava/util/Map$Entry<Ljava/lang/Object;Ljava/lang/Object;>;
15 16 2 e Ljava/io/IOException;
Exception table:
from to target type
3 8 9 any
2 11 11 any
1 14 14 Class java.io.IOException
MethodParameters:
Name Flags
context
protected java.net.URL getWebappConfigFile(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/net/URL;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
start local 3 1: aload 3
invokevirtual java.io.File.isDirectory:()Z
ifeq 3
2: aload 0
aload 3
aload 2
invokevirtual org.apache.catalina.startup.Tomcat.getWebappConfigFileFromDirectory:(Ljava/io/File;Ljava/lang/String;)Ljava/net/URL;
areturn
3: StackMap locals: java.io.File
StackMap stack:
aload 0
aload 3
aload 2
invokevirtual org.apache.catalina.startup.Tomcat.getWebappConfigFileFromWar:(Ljava/io/File;Ljava/lang/String;)Ljava/net/URL;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/catalina/startup/Tomcat;
0 4 1 path Ljava/lang/String;
0 4 2 contextName Ljava/lang/String;
1 4 3 docBase Ljava/io/File;
MethodParameters:
Name Flags
path
contextName
private java.net.URL getWebappConfigFileFromDirectory(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: new java.io.File
dup
aload 1
ldc "META-INF/context.xml"
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 4
start local 4 2: aload 4
invokevirtual java.io.File.exists:()Z
ifeq 9
3: aload 4
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 3
4: goto 9
StackMap locals: org.apache.catalina.startup.Tomcat java.io.File java.lang.String java.net.URL java.io.File
StackMap stack: java.net.MalformedURLException
5: astore 5
start local 5 6: aload 0
aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getHost:()Lorg/apache/catalina/Host;
aload 2
invokevirtual org.apache.catalina.startup.Tomcat.getLoggerName:(Lorg/apache/catalina/Host;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
7: getstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "tomcat.noContextXml"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 5
8: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 5 9: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 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/Tomcat;
0 10 1 docBase Ljava/io/File;
0 10 2 contextName Ljava/lang/String;
1 10 3 result Ljava/net/URL;
2 10 4 webAppContextXml Ljava/io/File;
6 9 5 e Ljava/net/MalformedURLException;
Exception table:
from to target type
3 4 5 Class java.net.MalformedURLException
MethodParameters:
Name Flags
docBase
contextName
private java.net.URL getWebappConfigFileFromWar(java.io.File, java.lang.String);
descriptor: (Ljava/io/File;Ljava/lang/String;)Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=8, 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
aconst_null
astore 5
2: new java.util.jar.JarFile
dup
aload 1
invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;)V
astore 6
start local 6 3: aload 6
ldc "META-INF/context.xml"
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 7
start local 7 4: aload 7
ifnull 6
5: aload 1
ldc "META-INF/context.xml"
invokestatic org.apache.tomcat.util.buf.UriUtil.buildJarUrl:(Ljava/io/File;Ljava/lang/String;)Ljava/net/URL;
astore 3
end local 7 6: StackMap locals: org.apache.catalina.startup.Tomcat java.io.File java.lang.String java.net.URL java.lang.Throwable java.lang.Throwable java.util.jar.JarFile
StackMap stack:
aload 6
ifnull 16
aload 6
invokevirtual java.util.jar.JarFile.close:()V
goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 4
aload 6
ifnull 8
aload 6
invokevirtual java.util.jar.JarFile.close:()V
end local 6 StackMap locals:
StackMap stack:
8: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 5
aload 4
ifnonnull 10
aload 5
astore 4
goto 11
StackMap locals:
StackMap stack:
10: aload 4
aload 5
if_acmpeq 11
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 4
athrow
StackMap locals: org.apache.catalina.startup.Tomcat java.io.File java.lang.String java.net.URL
StackMap stack: java.io.IOException
12: astore 4
start local 4 13: aload 0
aload 0
invokevirtual org.apache.catalina.startup.Tomcat.getHost:()Lorg/apache/catalina/Host;
aload 2
invokevirtual org.apache.catalina.startup.Tomcat.getLoggerName:(Lorg/apache/catalina/Host;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
14: getstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "tomcat.noContextXml"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 4
15: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 16: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/catalina/startup/Tomcat;
0 17 1 docBase Ljava/io/File;
0 17 2 contextName Ljava/lang/String;
1 17 3 result Ljava/net/URL;
3 8 6 jar Ljava/util/jar/JarFile;
4 6 7 entry Ljava/util/jar/JarEntry;
13 16 4 e Ljava/io/IOException;
Exception table:
from to target type
3 6 7 any
2 9 9 any
1 12 12 Class java.io.IOException
MethodParameters:
Name Flags
docBase
contextName
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 16
3: StackMap locals: java.lang.String[] int
StackMap stack:
aload 0
iload 2
aaload
ldc "--no-jmx"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: invokestatic org.apache.tomcat.util.modeler.Registry.disableRegistry:()V
5: goto 15
StackMap locals:
StackMap stack:
6: aload 0
iload 2
aaload
ldc "--catalina"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 8: iload 2
iconst_1
iadd
istore 4
start local 4 9: goto 12
10: StackMap locals: java.util.ArrayList int
StackMap stack:
aload 3
aload 0
iload 4
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
11: iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
aload 0
arraylength
if_icmplt 10
end local 4 13: aload 3
iconst_0
anewarray java.lang.String
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 1
14: goto 17
end local 3 15: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
16: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 17: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
invokestatic org.apache.catalina.security.SecurityClassLoad.securityClassLoad:(Ljava/lang/ClassLoader;)V
18: new org.apache.catalina.startup.Tomcat
dup
invokespecial org.apache.catalina.startup.Tomcat.<init>:()V
astore 2
start local 2 19: aload 2
aconst_null
aload 1
invokevirtual org.apache.catalina.startup.Tomcat.init:(Lorg/apache/tomcat/util/file/ConfigurationSource;[Ljava/lang/String;)V
20: iconst_0
istore 3
start local 3 21: ldc ""
astore 4
start local 4 22: iconst_0
istore 5
start local 5 23: goto 43
24: StackMap locals: java.lang.String[] java.lang.String[] org.apache.catalina.startup.Tomcat int java.lang.String int
StackMap stack:
aload 0
iload 5
aaload
ldc "--war"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
25: iinc 5 1
iload 5
aload 0
arraylength
if_icmplt 27
26: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "tomcat.invalidCommandLine"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 5
iconst_1
isub
aaload
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
iload 5
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 6
start local 6 28: aload 2
aload 4
aload 6
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
invokevirtual org.apache.catalina.startup.Tomcat.addWebapp:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/catalina/Context;
pop
end local 6 29: goto 42
StackMap locals:
StackMap stack:
30: aload 0
iload 5
aaload
ldc "--path"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
31: iinc 5 1
iload 5
aload 0
arraylength
if_icmplt 33
32: new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "tomcat.invalidCommandLine"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 5
iconst_1
isub
aaload
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
33: StackMap locals:
StackMap stack:
aload 0
iload 5
aaload
astore 4
34: goto 42
StackMap locals:
StackMap stack:
35: aload 0
iload 5
aaload
ldc "--await"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
36: iconst_1
istore 3
37: goto 42
StackMap locals:
StackMap stack:
38: aload 0
iload 5
aaload
ldc "--no-jmx"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 42
39: aload 0
iload 5
aaload
ldc "--catalina"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 41
40: goto 44
41: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
getstatic org.apache.catalina.startup.Tomcat.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "tomcat.invalidCommandLine"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
iload 5
aaload
aastore
invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
42: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
43: iload 5
aload 0
arraylength
if_icmplt 24
end local 5 44: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.catalina.startup.Tomcat.start:()V
45: iload 3
ifeq 47
46: aload 2
invokevirtual org.apache.catalina.startup.Tomcat.getServer:()Lorg/apache/catalina/Server;
invokeinterface org.apache.catalina.Server.await:()V
47: 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 48 0 args [Ljava/lang/String;
1 48 1 catalinaArguments [Ljava/lang/String;
2 17 2 i I
8 15 3 result Ljava/util/ArrayList<Ljava/lang/String;>;
9 13 4 j I
19 48 2 tomcat Lorg/apache/catalina/startup/Tomcat;
21 48 3 await Z
22 48 4 path Ljava/lang/String;
23 44 5 i I
28 29 6 war Ljava/io/File;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
}
SourceFile: "Tomcat.java"
NestMembers:
org.apache.catalina.startup.Tomcat$DefaultWebXmlListener org.apache.catalina.startup.Tomcat$ExistingStandardWrapper org.apache.catalina.startup.Tomcat$FixContextListener org.apache.catalina.startup.Tomcat$SimpleRealm
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public DefaultWebXmlListener = org.apache.catalina.startup.Tomcat$DefaultWebXmlListener of org.apache.catalina.startup.Tomcat
public ExistingStandardWrapper = org.apache.catalina.startup.Tomcat$ExistingStandardWrapper of org.apache.catalina.startup.Tomcat
public FixContextListener = org.apache.catalina.startup.Tomcat$FixContextListener of org.apache.catalina.startup.Tomcat
private SimpleRealm = org.apache.catalina.startup.Tomcat$SimpleRealm of org.apache.catalina.startup.Tomcat