public class org.apache.catalina.startup.CopyParentClassLoaderRule extends org.apache.tomcat.util.digester.Rule
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.startup.CopyParentClassLoaderRule
super_class: org.apache.tomcat.util.digester.Rule
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.catalina.startup.CopyParentClassLoaderRule this
0: .line 46
aload 0 /* this */
invokespecial org.apache.tomcat.util.digester.Rule.<init>:()V
1: .line 47
return
end local 0 // org.apache.catalina.startup.CopyParentClassLoaderRule this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/catalina/startup/CopyParentClassLoaderRule;
public void begin(java.lang.String, java.lang.String, org.xml.sax.Attributes);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=4
start local 0 // org.apache.catalina.startup.CopyParentClassLoaderRule this
start local 1 // java.lang.String namespace
start local 2 // java.lang.String name
start local 3 // org.xml.sax.Attributes attributes
0: .line 64
aload 0 /* this */
getfield org.apache.catalina.startup.CopyParentClassLoaderRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getLogger:()Lorg/apache/juli/logging/Log;
invokeinterface org.apache.juli.logging.Log.isDebugEnabled:()Z
ifeq 2
1: .line 65
aload 0 /* this */
getfield org.apache.catalina.startup.CopyParentClassLoaderRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getLogger:()Lorg/apache/juli/logging/Log;
ldc "Copying parent class loader"
invokeinterface org.apache.juli.logging.Log.debug:(Ljava/lang/Object;)V
2: .line 66
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.apache.catalina.startup.CopyParentClassLoaderRule.digester:Lorg/apache/tomcat/util/digester/Digester;
iconst_0
invokevirtual org.apache.tomcat.util.digester.Digester.peek:(I)Ljava/lang/Object;
checkcast org.apache.catalina.Container
astore 4 /* child */
start local 4 // org.apache.catalina.Container child
3: .line 67
aload 0 /* this */
getfield org.apache.catalina.startup.CopyParentClassLoaderRule.digester:Lorg/apache/tomcat/util/digester/Digester;
iconst_1
invokevirtual org.apache.tomcat.util.digester.Digester.peek:(I)Ljava/lang/Object;
astore 5 /* parent */
start local 5 // java.lang.Object parent
4: .line 69
aload 5 /* parent */
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "getParentClassLoader"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
5: .line 68
astore 6 /* method */
start local 6 // java.lang.reflect.Method method
6: .line 71
aload 6 /* method */
aload 5 /* parent */
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
7: .line 70
astore 7 /* classLoader */
start local 7 // java.lang.ClassLoader classLoader
8: .line 72
aload 4 /* child */
aload 7 /* classLoader */
invokeinterface org.apache.catalina.Container.setParentClassLoader:(Ljava/lang/ClassLoader;)V
9: .line 74
aload 0 /* this */
getfield org.apache.catalina.startup.CopyParentClassLoaderRule.digester:Lorg/apache/tomcat/util/digester/Digester;
invokevirtual org.apache.tomcat.util.digester.Digester.getGeneratedCode:()Ljava/lang/StringBuilder;
astore 8 /* code */
start local 8 // java.lang.StringBuilder code
10: .line 75
aload 8 /* code */
ifnull 14
11: .line 76
aload 8 /* code */
aload 0 /* this */
getfield org.apache.catalina.startup.CopyParentClassLoaderRule.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 4 /* child */
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 ".setParentClassLoader("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: .line 77
aload 8 /* code */
aload 0 /* this */
getfield org.apache.catalina.startup.CopyParentClassLoaderRule.digester:Lorg/apache/tomcat/util/digester/Digester;
aload 5 /* parent */
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 ".getParentClassLoader());"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: .line 78
aload 8 /* code */
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: .line 80
StackMap locals: org.apache.catalina.startup.CopyParentClassLoaderRule java.lang.String java.lang.String org.xml.sax.Attributes org.apache.catalina.Container java.lang.Object java.lang.reflect.Method java.lang.ClassLoader java.lang.StringBuilder
StackMap stack:
return
end local 8 // java.lang.StringBuilder code
end local 7 // java.lang.ClassLoader classLoader
end local 6 // java.lang.reflect.Method method
end local 5 // java.lang.Object parent
end local 4 // org.apache.catalina.Container child
end local 3 // org.xml.sax.Attributes attributes
end local 2 // java.lang.String name
end local 1 // java.lang.String namespace
end local 0 // org.apache.catalina.startup.CopyParentClassLoaderRule this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/catalina/startup/CopyParentClassLoaderRule;
0 15 1 namespace Ljava/lang/String;
0 15 2 name Ljava/lang/String;
0 15 3 attributes Lorg/xml/sax/Attributes;
3 15 4 child Lorg/apache/catalina/Container;
4 15 5 parent Ljava/lang/Object;
6 15 6 method Ljava/lang/reflect/Method;
8 15 7 classLoader Ljava/lang/ClassLoader;
10 15 8 code Ljava/lang/StringBuilder;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
namespace
name
attributes
}
SourceFile: "CopyParentClassLoaderRule.java"