public class org.apache.juli.ClassLoaderLogManager extends java.util.logging.LogManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.juli.ClassLoaderLogManager
super_class: java.util.logging.LogManager
{
private static final boolean isJava9;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.lang.ThreadLocal<java.lang.Boolean> addingLocalRootLogger;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/lang/ThreadLocal<Ljava/lang/Boolean;>;
public static final java.lang.String DEBUG_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
protected final java.util.Map<java.lang.ClassLoader, org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo> classLoaderLoggers;
descriptor: Ljava/util/Map;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/ClassLoader;Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;>;
protected final java.lang.ThreadLocal<java.lang.String> prefix;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/lang/String;>;
protected volatile boolean useShutdownHook;
descriptor: Z
flags: (0x0044) ACC_PROTECTED, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokedynamic get()Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/apache/juli/ClassLoaderLogManager.lambda$0()Ljava/lang/Boolean; (6)
()Ljava/lang/Boolean;
invokestatic java.lang.ThreadLocal.withInitial:(Ljava/util/function/Supplier;)Ljava/lang/ThreadLocal;
putstatic org.apache.juli.ClassLoaderLogManager.addingLocalRootLogger:Ljava/lang/ThreadLocal;
1: new java.lang.StringBuilder
dup
ldc Lorg/apache/juli/ClassLoaderLogManager;
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 ".debug"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: putstatic org.apache.juli.ClassLoaderLogManager.DEBUG_PROPERTY:Ljava/lang/String;
3: aconst_null
astore 0
start local 0 4: ldc "java.lang.Runtime$Version"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 0
5: goto 7
StackMap locals: java.lang.Class
StackMap stack: java.lang.ClassNotFoundException
6: pop
7: StackMap locals:
StackMap stack:
aload 0
ifnull 8
iconst_1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: putstatic org.apache.juli.ClassLoaderLogManager.isJava9:Z
end local 0 10: return
LocalVariableTable:
Start End Slot Name Signature
4 10 0 c Ljava/lang/Class<*>;
Exception table:
from to target type
4 5 6 Class java.lang.ClassNotFoundException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.logging.LogManager.<init>:()V
1: aload 0
2: new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
putfield org.apache.juli.ClassLoaderLogManager.classLoaderLoggers:Ljava/util/Map;
3: aload 0
new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putfield org.apache.juli.ClassLoaderLogManager.prefix:Ljava/lang/ThreadLocal;
4: aload 0
iconst_1
putfield org.apache.juli.ClassLoaderLogManager.useShutdownHook:Z
5: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
new org.apache.juli.ClassLoaderLogManager$Cleaner
dup
aload 0
invokespecial org.apache.juli.ClassLoaderLogManager$Cleaner.<init>:(Lorg/apache/juli/ClassLoaderLogManager;)V
invokevirtual java.lang.Runtime.addShutdownHook:(Ljava/lang/Thread;)V
6: goto 8
StackMap locals: org.apache.juli.ClassLoaderLogManager
StackMap stack: java.lang.IllegalStateException
7: pop
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/juli/ClassLoaderLogManager;
Exception table:
from to target type
5 6 7 Class java.lang.IllegalStateException
public boolean isUseShutdownHook();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.juli.ClassLoaderLogManager.useShutdownHook:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/juli/ClassLoaderLogManager;
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.juli.ClassLoaderLogManager.useShutdownHook:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/juli/ClassLoaderLogManager;
0 2 1 useShutdownHook Z
MethodParameters:
Name Flags
useShutdownHook
public synchronized boolean addLogger(java.util.logging.Logger);
descriptor: (Ljava/util/logging/Logger;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=14, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.logging.Logger.getName:()Ljava/lang/String;
astore 2
start local 2 1: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
2: astore 3
start local 3 3: aload 0
aload 3
invokevirtual org.apache.juli.ClassLoaderLogManager.getClassLoaderInfo:(Ljava/lang/ClassLoader;)Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
astore 4
start local 4 4: aload 4
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.loggers:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_0
ireturn
6: StackMap locals: java.lang.String java.lang.ClassLoader org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
StackMap stack:
aload 4
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.loggers:Ljava/util/Map;
aload 2
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".level"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.juli.ClassLoaderLogManager.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 8: aload 5
ifnull 12
9: aload 1
aload 5
invokedynamic run(Ljava/util/logging/Logger;Ljava/lang/String;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/apache/juli/ClassLoaderLogManager.lambda$1(Ljava/util/logging/Logger;Ljava/lang/String;)Ljava/lang/Void; (6)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
10: goto 12
StackMap locals: org.apache.juli.ClassLoaderLogManager java.util.logging.Logger java.lang.String java.lang.ClassLoader org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo java.lang.String
StackMap stack: java.lang.IllegalArgumentException
11: pop
12: StackMap locals:
StackMap stack:
aload 2
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 6
start local 6 13: iload 6
iflt 16
14: aload 2
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 15: aload 7
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
pop
end local 7 16: StackMap locals: int
StackMap stack:
aload 4
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.rootNode:Lorg/apache/juli/ClassLoaderLogManager$LogNode;
aload 2
invokevirtual org.apache.juli.ClassLoaderLogManager$LogNode.findNode:(Ljava/lang/String;)Lorg/apache/juli/ClassLoaderLogManager$LogNode;
astore 7
start local 7 17: aload 7
aload 1
putfield org.apache.juli.ClassLoaderLogManager$LogNode.logger:Ljava/util/logging/Logger;
18: aload 7
invokevirtual org.apache.juli.ClassLoaderLogManager$LogNode.findParentLogger:()Ljava/util/logging/Logger;
astore 8
start local 8 19: aload 8
ifnull 21
20: aload 1
aload 8
invokestatic org.apache.juli.ClassLoaderLogManager.doSetParentLogger:(Ljava/util/logging/Logger;Ljava/util/logging/Logger;)V
21: StackMap locals: org.apache.juli.ClassLoaderLogManager$LogNode java.util.logging.Logger
StackMap stack:
aload 7
aload 1
invokevirtual org.apache.juli.ClassLoaderLogManager$LogNode.setParentLogger:(Ljava/util/logging/Logger;)V
22: aload 0
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".handlers"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.juli.ClassLoaderLogManager.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 23: aload 9
ifnull 41
24: aload 1
iconst_0
invokevirtual java.util.logging.Logger.setUseParentHandlers:(Z)V
25: new java.util.StringTokenizer
dup
aload 9
ldc ","
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 10
start local 10 26: goto 40
27: StackMap locals: java.lang.String java.util.StringTokenizer
StackMap stack:
aload 10
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 11
start local 11 28: aconst_null
astore 12
start local 12 29: aload 3
astore 13
start local 13 30: goto 37
31: StackMap locals: java.lang.String java.util.logging.Handler java.lang.ClassLoader
StackMap stack:
aload 0
getfield org.apache.juli.ClassLoaderLogManager.classLoaderLoggers:Ljava/util/Map;
aload 13
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
astore 4
32: aload 4
ifnull 36
33: aload 4
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.handlers:Ljava/util/Map;
aload 11
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.logging.Handler
astore 12
34: aload 12
ifnull 36
35: goto 38
36: StackMap locals:
StackMap stack:
aload 13
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 13
37: StackMap locals:
StackMap stack:
aload 13
ifnonnull 31
38: StackMap locals:
StackMap stack:
aload 12
ifnull 40
39: aload 1
aload 12
invokevirtual java.util.logging.Logger.addHandler:(Ljava/util/logging/Handler;)V
end local 13 end local 12 end local 11 40: StackMap locals:
StackMap stack:
aload 10
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 27
end local 10 41: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".useParentHandlers"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.apache.juli.ClassLoaderLogManager.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 42: aload 10
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
ifeq 44
43: aload 1
iconst_1
invokevirtual java.util.logging.Logger.setUseParentHandlers:(Z)V
44: StackMap locals: java.lang.String
StackMap stack:
iconst_1
ireturn
end local 10 end local 9 end local 8 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 45 0 this Lorg/apache/juli/ClassLoaderLogManager;
0 45 1 logger Ljava/util/logging/Logger;
1 45 2 loggerName Ljava/lang/String;
3 45 3 classLoader Ljava/lang/ClassLoader;
4 45 4 info Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
8 45 5 levelString Ljava/lang/String;
13 45 6 dotIndex I
15 16 7 parentName Ljava/lang/String;
17 45 7 node Lorg/apache/juli/ClassLoaderLogManager$LogNode;
19 45 8 parentLogger Ljava/util/logging/Logger;
23 45 9 handlers Ljava/lang/String;
26 41 10 tok Ljava/util/StringTokenizer;
28 40 11 handlerName Ljava/lang/String;
29 40 12 handler Ljava/util/logging/Handler;
30 40 13 current Ljava/lang/ClassLoader;
42 45 10 useParentHandlersString Ljava/lang/String;
Exception table:
from to target type
9 10 11 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
logger final
public synchronized java.util.logging.Logger getLogger(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/logging/Logger;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
1: invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
2: astore 2
start local 2 3: aload 0
aload 2
invokevirtual org.apache.juli.ClassLoaderLogManager.getClassLoaderInfo:(Ljava/lang/ClassLoader;)Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.loggers:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.logging.Logger
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/juli/ClassLoaderLogManager;
0 4 1 name Ljava/lang/String;
3 4 2 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
name final
public synchronized java.util.Enumeration<java.lang.String> getLoggerNames();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
1: invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
2: astore 1
start local 1 3: aload 0
aload 1
invokevirtual org.apache.juli.ClassLoaderLogManager.getClassLoaderInfo:(Ljava/lang/ClassLoader;)Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.loggers:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.enumeration:(Ljava/util/Collection;)Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/juli/ClassLoaderLogManager;
3 4 1 classLoader Ljava/lang/ClassLoader;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public java.lang.String getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: ldc ".handlers"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
getstatic org.apache.juli.ClassLoaderLogManager.addingLocalRootLogger:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.juli.ClassLoaderLogManager.prefix:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aconst_null
astore 3
start local 3 4: aload 2
ifnull 6
5: aload 0
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
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;
invokevirtual org.apache.juli.ClassLoaderLogManager.findProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
6: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 3
ifnonnull 8
7: aload 0
aload 1
invokevirtual org.apache.juli.ClassLoaderLogManager.findProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
8: StackMap locals:
StackMap stack:
aload 3
ifnull 10
9: aload 0
aload 3
invokevirtual org.apache.juli.ClassLoaderLogManager.replace:(Ljava/lang/String;)Ljava/lang/String;
astore 3
10: 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 11 0 this Lorg/apache/juli/ClassLoaderLogManager;
0 11 1 name Ljava/lang/String;
3 11 2 prefix Ljava/lang/String;
4 11 3 result Ljava/lang/String;
MethodParameters:
Name Flags
name
private synchronized java.lang.String findProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
1: invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
2: astore 2
start local 2 3: aload 0
aload 2
invokevirtual org.apache.juli.ClassLoaderLogManager.getClassLoaderInfo:(Ljava/lang/ClassLoader;)Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
astore 3
start local 3 4: aload 3
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.props:Ljava/util/Properties;
aload 1
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 5: aload 4
ifnonnull 17
aload 3
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.props:Ljava/util/Properties;
invokevirtual java.util.Properties.isEmpty:()Z
ifeq 17
6: aload 2
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 5
start local 5 7: goto 14
8: StackMap locals: org.apache.juli.ClassLoaderLogManager java.lang.String java.lang.ClassLoader org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo java.lang.String java.lang.ClassLoader
StackMap stack:
aload 0
getfield org.apache.juli.ClassLoaderLogManager.classLoaderLoggers:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
astore 3
9: aload 3
ifnull 13
10: aload 3
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.props:Ljava/util/Properties;
aload 1
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
11: aload 4
ifnonnull 15
aload 3
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.props:Ljava/util/Properties;
invokevirtual java.util.Properties.isEmpty:()Z
ifne 13
12: goto 15
13: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 5
14: StackMap locals:
StackMap stack:
aload 5
ifnonnull 8
15: StackMap locals:
StackMap stack:
aload 4
ifnonnull 17
16: aload 0
aload 1
invokespecial java.util.logging.LogManager.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
end local 5 17: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/juli/ClassLoaderLogManager;
0 18 1 name Ljava/lang/String;
3 18 2 classLoader Ljava/lang/ClassLoader;
4 18 3 info Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
5 18 4 result Ljava/lang/String;
7 17 5 current Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
name
public void readConfiguration();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.juli.ClassLoaderLogManager.checkAccess:()V
1: aload 0
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
invokevirtual org.apache.juli.ClassLoaderLogManager.readConfiguration:(Ljava/lang/ClassLoader;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/juli/ClassLoaderLogManager;
Exceptions:
throws java.io.IOException, java.lang.SecurityException
public void readConfiguration(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.juli.ClassLoaderLogManager.checkAccess:()V
1: aload 0
invokevirtual org.apache.juli.ClassLoaderLogManager.reset:()V
2: aload 0
aload 1
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
invokevirtual org.apache.juli.ClassLoaderLogManager.readConfiguration:(Ljava/io/InputStream;Ljava/lang/ClassLoader;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/juli/ClassLoaderLogManager;
0 4 1 is Ljava/io/InputStream;
Exceptions:
throws java.io.IOException, java.lang.SecurityException
MethodParameters:
Name Flags
is
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
2: ldc "java.util.logging.LogManager$"
3: invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
4: ifeq 6
5: return
6: StackMap locals: java.lang.Thread
StackMap stack:
aload 1
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 7: aload 0
aload 2
invokevirtual org.apache.juli.ClassLoaderLogManager.getClassLoaderInfo:(Ljava/lang/ClassLoader;)Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
astore 3
start local 3 8: aload 0
aload 3
invokevirtual org.apache.juli.ClassLoaderLogManager.resetLoggers:(Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;)V
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/juli/ClassLoaderLogManager;
1 10 1 thread Ljava/lang/Thread;
7 10 2 classLoader Ljava/lang/ClassLoader;
8 10 3 clLogInfo Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
Exceptions:
throws java.lang.SecurityException
public synchronized void shutdown();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.juli.ClassLoaderLogManager.classLoaderLoggers:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: org.apache.juli.ClassLoaderLogManager top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
astore 1
start local 1 2: aload 0
aload 1
invokevirtual org.apache.juli.ClassLoaderLogManager.resetLoggers:(Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/juli/ClassLoaderLogManager;
2 3 1 clLogInfo Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
private void resetLoggers(org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo);
descriptor: (Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=10, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 2
monitorenter
1: aload 1
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.loggers:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: org.apache.juli.ClassLoaderLogManager org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.logging.Logger
astore 3
start local 3 3: aload 3
invokevirtual java.util.logging.Logger.getHandlers:()[Ljava/util/logging/Handler;
astore 5
start local 5 4: aload 5
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 8
StackMap locals: org.apache.juli.ClassLoaderLogManager org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo java.util.logging.Logger java.util.Iterator java.util.logging.Handler[] top int int java.util.logging.Handler[]
StackMap stack:
5: aload 9
iload 7
aaload
astore 6
start local 6 6: aload 3
aload 6
invokevirtual java.util.logging.Logger.removeHandler:(Ljava/util/logging/Handler;)V
end local 6 7: iinc 7 1
StackMap locals:
StackMap stack:
8: iload 7
iload 8
if_icmplt 5
end local 5 end local 3 9: StackMap locals: org.apache.juli.ClassLoaderLogManager org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
10: aload 1
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.handlers:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 15
StackMap locals:
StackMap stack:
11: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.logging.Handler
astore 3
start local 3 12: aload 3
invokevirtual java.util.logging.Handler.close:()V
13: goto 15
StackMap locals: org.apache.juli.ClassLoaderLogManager org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo java.util.logging.Handler java.util.Iterator
StackMap stack: java.lang.Exception
14: pop
end local 3 15: StackMap locals: org.apache.juli.ClassLoaderLogManager org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
16: aload 1
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.handlers:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
17: aload 2
monitorexit
18: goto 21
StackMap locals: org.apache.juli.ClassLoaderLogManager org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
StackMap stack: java.lang.Throwable
19: aload 2
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/apache/juli/ClassLoaderLogManager;
0 22 1 clLogInfo Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
3 9 3 logger Ljava/util/logging/Logger;
4 9 5 handlers [Ljava/util/logging/Handler;
6 7 6 handler Ljava/util/logging/Handler;
12 15 3 handler Ljava/util/logging/Handler;
Exception table:
from to target type
12 13 14 Class java.lang.Exception
1 18 19 any
19 20 19 any
MethodParameters:
Name Flags
clLogInfo
protected synchronized org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo getClassLoaderInfo(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.juli.ClassLoaderLogManager.classLoaderLoggers:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
astore 2
start local 2 3: aload 2
ifnonnull 7
4: aload 1
astore 3
start local 3 5: aload 0
aload 3
invokedynamic run(Lorg/apache/juli/ClassLoaderLogManager;Ljava/lang/ClassLoader;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/apache/juli/ClassLoaderLogManager.lambda$2(Ljava/lang/ClassLoader;)Ljava/lang/Void; (7)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
6: aload 0
getfield org.apache.juli.ClassLoaderLogManager.classLoaderLoggers:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
astore 2
end local 3 7: StackMap locals: org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/juli/ClassLoaderLogManager;
0 8 1 classLoader Ljava/lang/ClassLoader;
3 8 2 info Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
5 7 3 classLoaderParam Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
classLoader
protected synchronized void readConfiguration(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
instanceof org.apache.juli.WebappProperties
ifeq 5
2: aload 1
checkcast org.apache.juli.WebappProperties
invokeinterface org.apache.juli.WebappProperties.hasLoggingConfig:()Z
ifeq 33
3: aload 1
ldc "logging.properties"
invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 2
4: goto 33
StackMap locals: java.io.InputStream
StackMap stack:
5: aload 1
instanceof java.net.URLClassLoader
ifeq 33
6: aload 1
checkcast java.net.URLClassLoader
ldc "logging.properties"
invokevirtual java.net.URLClassLoader.findResource:(Ljava/lang/String;)Ljava/net/URL;
astore 3
start local 3 7: aload 3
ifnull 16
8: getstatic org.apache.juli.ClassLoaderLogManager.DEBUG_PROPERTY:Ljava/lang/String;
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
ifeq 14
9: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 0
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
10: ldc ".readConfiguration(): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: ldc "Found logging.properties at "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: StackMap locals: java.net.URL
StackMap stack:
aload 1
ldc "logging.properties"
invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 2
15: goto 33
16: StackMap locals:
StackMap stack:
getstatic org.apache.juli.ClassLoaderLogManager.DEBUG_PROPERTY:Ljava/lang/String;
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
ifeq 33
17: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 0
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
18: ldc ".readConfiguration(): "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: ldc "Found no logging.properties"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
20: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 3 21: goto 33
StackMap locals: org.apache.juli.ClassLoaderLogManager java.lang.ClassLoader java.io.InputStream
StackMap stack: java.security.AccessControlException
22: astore 3
start local 3 23: aload 0
getfield org.apache.juli.ClassLoaderLogManager.classLoaderLoggers:Ljava/util/Map;
invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
astore 4
start local 4 24: aload 4
ifnull 33
25: aload 4
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.loggers:Ljava/util/Map;
ldc ""
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.logging.Logger
astore 5
start local 5 26: aload 5
ifnull 33
27: aload 3
invokevirtual java.security.AccessControlException.getPermission:()Ljava/security/Permission;
astore 6
start local 6 28: aload 6
instanceof java.io.FilePermission
ifeq 31
aload 6
invokevirtual java.security.Permission.getActions:()Ljava/lang/String;
ldc "read"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 31
29: aload 5
new java.lang.StringBuilder
dup
ldc "Reading "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.security.Permission.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " is not permitted. See \"per context logging\" in the default catalina.policy file."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.warning:(Ljava/lang/String;)V
30: goto 33
31: StackMap locals: org.apache.juli.ClassLoaderLogManager java.lang.ClassLoader java.io.InputStream java.security.AccessControlException org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo java.util.logging.Logger java.security.Permission
StackMap stack:
aload 5
ldc "Reading logging.properties is not permitted in some context. See \"per context logging\" in the default catalina.policy file."
invokevirtual java.util.logging.Logger.warning:(Ljava/lang/String;)V
32: aload 5
new java.lang.StringBuilder
dup
ldc "Original error was: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.security.AccessControlException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.warning:(Ljava/lang/String;)V
end local 6 end local 5 end local 4 end local 3 33: StackMap locals: org.apache.juli.ClassLoaderLogManager java.lang.ClassLoader java.io.InputStream
StackMap stack:
aload 2
ifnonnull 54
aload 1
invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
if_acmpne 54
34: ldc "java.util.logging.config.file"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 35: aload 3
ifnull 41
36: new java.io.FileInputStream
dup
aload 0
aload 3
invokevirtual org.apache.juli.ClassLoaderLogManager.replace:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
astore 2
37: goto 41
StackMap locals: org.apache.juli.ClassLoaderLogManager java.lang.ClassLoader java.io.InputStream java.lang.String
StackMap stack: java.io.IOException
38: astore 4
start local 4 39: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Configuration error"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
40: aload 4
invokevirtual java.io.IOException.printStackTrace:()V
end local 4 41: StackMap locals:
StackMap stack:
aload 2
ifnonnull 54
42: new java.io.File
dup
43: new java.io.File
dup
ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
44: getstatic org.apache.juli.ClassLoaderLogManager.isJava9:Z
ifeq 45
ldc "conf"
goto 46
StackMap locals: org.apache.juli.ClassLoaderLogManager java.lang.ClassLoader java.io.InputStream java.lang.String
StackMap stack: new 42 new 42 new 43 new 43 java.lang.String
45: ldc "lib"
StackMap locals: org.apache.juli.ClassLoaderLogManager java.lang.ClassLoader java.io.InputStream java.lang.String
StackMap stack: new 42 new 42 new 43 new 43 java.lang.String java.lang.String
46: invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
47: ldc "logging.properties"
48: invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 4
start local 4 49: new java.io.FileInputStream
dup
aload 4
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 2
50: goto 54
StackMap locals: org.apache.juli.ClassLoaderLogManager java.lang.ClassLoader java.io.InputStream java.lang.String java.io.File
StackMap stack: java.io.IOException
51: astore 5
start local 5 52: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Configuration error"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
53: aload 5
invokevirtual java.io.IOException.printStackTrace:()V
end local 5 end local 4 end local 3 54: StackMap locals:
StackMap stack:
new org.apache.juli.ClassLoaderLogManager$RootLogger
dup
invokespecial org.apache.juli.ClassLoaderLogManager$RootLogger.<init>:()V
astore 3
start local 3 55: aload 2
ifnonnull 64
56: aload 1
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 4
start local 4 57: aconst_null
astore 5
start local 5 58: goto 61
59: StackMap locals: java.util.logging.Logger java.lang.ClassLoader org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
StackMap stack:
aload 0
aload 4
invokevirtual org.apache.juli.ClassLoaderLogManager.getClassLoaderInfo:(Ljava/lang/ClassLoader;)Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
astore 5
60: aload 4
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 4
61: StackMap locals:
StackMap stack:
aload 4
ifnull 62
aload 5
ifnull 59
62: StackMap locals:
StackMap stack:
aload 5
ifnull 64
63: aload 3
aload 5
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.rootNode:Lorg/apache/juli/ClassLoaderLogManager$LogNode;
getfield org.apache.juli.ClassLoaderLogManager$LogNode.logger:Ljava/util/logging/Logger;
invokevirtual java.util.logging.Logger.setParent:(Ljava/util/logging/Logger;)V
end local 5 end local 4 64: StackMap locals:
StackMap stack:
new org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
dup
new org.apache.juli.ClassLoaderLogManager$LogNode
dup
aconst_null
aload 3
invokespecial org.apache.juli.ClassLoaderLogManager$LogNode.<init>:(Lorg/apache/juli/ClassLoaderLogManager$LogNode;Ljava/util/logging/Logger;)V
invokespecial org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.<init>:(Lorg/apache/juli/ClassLoaderLogManager$LogNode;)V
65: astore 4
start local 4 66: aload 0
getfield org.apache.juli.ClassLoaderLogManager.classLoaderLoggers:Ljava/util/Map;
aload 1
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
67: aload 2
ifnull 69
68: aload 0
aload 2
aload 1
invokevirtual org.apache.juli.ClassLoaderLogManager.readConfiguration:(Ljava/io/InputStream;Ljava/lang/ClassLoader;)V
69: StackMap locals: org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
StackMap stack:
getstatic org.apache.juli.ClassLoaderLogManager.addingLocalRootLogger:Ljava/lang/ThreadLocal;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
70: aload 0
aload 3
invokevirtual org.apache.juli.ClassLoaderLogManager.addLogger:(Ljava/util/logging/Logger;)Z
pop
71: goto 75
StackMap locals:
StackMap stack: java.lang.Throwable
72: astore 5
73: getstatic org.apache.juli.ClassLoaderLogManager.addingLocalRootLogger:Ljava/lang/ThreadLocal;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
74: aload 5
athrow
75: StackMap locals:
StackMap stack:
getstatic org.apache.juli.ClassLoaderLogManager.addingLocalRootLogger:Ljava/lang/ThreadLocal;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
76: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 77 0 this Lorg/apache/juli/ClassLoaderLogManager;
0 77 1 classLoader Ljava/lang/ClassLoader;
1 77 2 is Ljava/io/InputStream;
7 21 3 logConfig Ljava/net/URL;
23 33 3 ace Ljava/security/AccessControlException;
24 33 4 info Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
26 33 5 log Ljava/util/logging/Logger;
28 33 6 perm Ljava/security/Permission;
35 54 3 configFileStr Ljava/lang/String;
39 41 4 e Ljava/io/IOException;
49 54 4 defaultFile Ljava/io/File;
52 54 5 e Ljava/io/IOException;
55 77 3 localRootLogger Ljava/util/logging/Logger;
57 64 4 current Ljava/lang/ClassLoader;
58 64 5 info Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
66 77 4 info Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
Exception table:
from to target type
1 21 22 Class java.security.AccessControlException
36 37 38 Class java.io.IOException
49 50 51 Class java.io.IOException
69 72 72 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
classLoader
protected synchronized void readConfiguration(java.io.InputStream, java.lang.ClassLoader);
descriptor: (Ljava/io/InputStream;Ljava/lang/ClassLoader;)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.juli.ClassLoaderLogManager.classLoaderLoggers:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
astore 3
start local 3 1: aload 3
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.props:Ljava/util/Properties;
aload 1
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
2: goto 14
StackMap locals: org.apache.juli.ClassLoaderLogManager java.io.InputStream java.lang.ClassLoader org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
StackMap stack: java.io.IOException
3: astore 4
start local 4 4: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Configuration error"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: aload 4
invokevirtual java.io.IOException.printStackTrace:()V
end local 4 6: aload 1
invokevirtual java.io.InputStream.close:()V
7: goto 17
StackMap locals:
StackMap stack: java.io.IOException
8: pop
goto 17
9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
10: aload 1
invokevirtual java.io.InputStream.close:()V
11: goto 13
StackMap locals: org.apache.juli.ClassLoaderLogManager java.io.InputStream java.lang.ClassLoader org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo top java.lang.Throwable
StackMap stack: java.io.IOException
12: pop
13: StackMap locals:
StackMap stack:
aload 5
athrow
14: StackMap locals: org.apache.juli.ClassLoaderLogManager java.io.InputStream java.lang.ClassLoader org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo
StackMap stack:
aload 1
invokevirtual java.io.InputStream.close:()V
15: goto 17
StackMap locals:
StackMap stack: java.io.IOException
16: pop
17: StackMap locals:
StackMap stack:
aload 3
18: getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.props:Ljava/util/Properties;
ldc ".handlers"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 19: aload 3
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.props:Ljava/util/Properties;
ldc "handlers"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 20: aload 3
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.rootNode:Lorg/apache/juli/ClassLoaderLogManager$LogNode;
getfield org.apache.juli.ClassLoaderLogManager$LogNode.logger:Ljava/util/logging/Logger;
astore 6
start local 6 21: aload 5
ifnull 49
22: new java.util.StringTokenizer
dup
aload 5
ldc ","
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 7
start local 7 23: goto 48
24: StackMap locals: org.apache.juli.ClassLoaderLogManager java.io.InputStream java.lang.ClassLoader org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo java.lang.String java.lang.String java.util.logging.Logger java.util.StringTokenizer
StackMap stack:
aload 7
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 8
start local 8 25: aload 8
astore 9
start local 9 26: ldc ""
astore 10
start local 10 27: aload 9
invokevirtual java.lang.String.length:()I
ifgt 29
28: goto 48
29: StackMap locals: java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 9
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifeq 34
30: aload 9
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
istore 11
start local 11 31: iload 11
iflt 34
32: aload 9
iconst_0
iload 11
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 10
33: aload 9
iload 11
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 9
end local 11 34: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.juli.ClassLoaderLogManager.prefix:Ljava/lang/ThreadLocal;
aload 10
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
35: aload 2
36: aload 9
37: invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
38: 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 java.util.logging.Handler
39: astore 11
start local 11 40: aload 0
getfield org.apache.juli.ClassLoaderLogManager.prefix:Ljava/lang/ThreadLocal;
aconst_null
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
41: aload 3
getfield org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo.handlers:Ljava/util/Map;
aload 8
aload 11
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
42: aload 4
ifnonnull 48
43: aload 6
aload 11
invokevirtual java.util.logging.Logger.addHandler:(Ljava/util/logging/Handler;)V
end local 11 44: goto 48
StackMap locals:
StackMap stack: java.lang.Exception
45: astore 11
start local 11 46: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Handler error"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
47: aload 11
invokevirtual java.lang.Exception.printStackTrace:()V
end local 11 end local 10 end local 9 end local 8 48: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 24
end local 7 49: StackMap locals:
StackMap stack:
return
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 50 0 this Lorg/apache/juli/ClassLoaderLogManager;
0 50 1 is Ljava/io/InputStream;
0 50 2 classLoader Ljava/lang/ClassLoader;
1 50 3 info Lorg/apache/juli/ClassLoaderLogManager$ClassLoaderLogInfo;
4 6 4 e Ljava/io/IOException;
19 50 4 rootHandlers Ljava/lang/String;
20 50 5 handlers Ljava/lang/String;
21 50 6 localRootLogger Ljava/util/logging/Logger;
23 49 7 tok Ljava/util/StringTokenizer;
25 48 8 handlerName Ljava/lang/String;
26 48 9 handlerClassName Ljava/lang/String;
27 48 10 prefix Ljava/lang/String;
31 34 11 pos I
40 44 11 handler Ljava/util/logging/Handler;
46 48 11 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.io.IOException
6 7 8 Class java.io.IOException
1 6 9 any
10 11 12 Class java.io.IOException
14 15 16 Class java.io.IOException
34 44 45 Class java.lang.Exception
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
classLoader
protected static void doSetParentLogger(java.util.logging.Logger, java.util.logging.Logger);
descriptor: (Ljava/util/logging/Logger;Ljava/util/logging/Logger;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic run(Ljava/util/logging/Logger;Ljava/util/logging/Logger;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
org/apache/juli/ClassLoaderLogManager.lambda$3(Ljava/util/logging/Logger;Ljava/util/logging/Logger;)Ljava/lang/Void; (6)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 logger Ljava/util/logging/Logger;
0 2 1 parent Ljava/util/logging/Logger;
MethodParameters:
Name Flags
logger final
parent final
protected java.lang.String replace(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 1
ldc "${"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 3
start local 3 2: iload 3
iflt 25
3: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 4: iconst_m1
istore 5
start local 5 5: goto 22
6: StackMap locals: org.apache.juli.ClassLoaderLogManager java.lang.String java.lang.String int java.lang.StringBuilder int
StackMap stack:
aload 4
aload 1
iload 5
iconst_1
iadd
iload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
7: aload 1
bipush 125
iload 3
iconst_2
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 5
8: iload 5
ifge 11
9: iload 3
iconst_1
isub
istore 5
10: goto 23
11: StackMap locals:
StackMap stack:
aload 1
iload 3
iconst_2
iadd
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 12: aload 0
aload 6
invokevirtual org.apache.juli.ClassLoaderLogManager.replaceWebApplicationProperties:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 13: aload 7
ifnonnull 17
14: aload 6
invokevirtual java.lang.String.length:()I
ifle 15
aload 6
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
goto 16
StackMap locals: java.lang.String java.lang.String
StackMap stack:
15: aconst_null
StackMap locals:
StackMap stack: java.lang.String
16: astore 7
17: StackMap locals:
StackMap stack:
aload 7
ifnull 20
18: aload 4
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: goto 21
20: StackMap locals:
StackMap stack:
aload 4
aload 1
iload 3
iload 5
iconst_1
iadd
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
aload 1
ldc "${"
iload 5
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 3
end local 7 end local 6 22: StackMap locals:
StackMap stack:
iload 3
ifge 6
23: StackMap locals:
StackMap stack:
aload 4
aload 1
iload 5
iconst_1
iadd
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
24: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
end local 5 end local 4 25: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/apache/juli/ClassLoaderLogManager;
0 26 1 str Ljava/lang/String;
1 26 2 result Ljava/lang/String;
2 26 3 pos_start I
4 25 4 builder Ljava/lang/StringBuilder;
5 25 5 pos_end I
12 22 6 propName Ljava/lang/String;
13 22 7 replacement Ljava/lang/String;
MethodParameters:
Name Flags
str
private java.lang.String replaceWebApplicationProperties(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 1: aload 2
instanceof org.apache.juli.WebappProperties
ifeq 10
2: aload 2
checkcast org.apache.juli.WebappProperties
astore 3
start local 3 3: ldc "classloader.webappName"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 3
invokeinterface org.apache.juli.WebappProperties.getWebappName:()Ljava/lang/String;
areturn
5: StackMap locals: java.lang.ClassLoader org.apache.juli.WebappProperties
StackMap stack:
ldc "classloader.hostName"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: aload 3
invokeinterface org.apache.juli.WebappProperties.getHostName:()Ljava/lang/String;
areturn
7: StackMap locals:
StackMap stack:
ldc "classloader.serviceName"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: aload 3
invokeinterface org.apache.juli.WebappProperties.getServiceName:()Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 10: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/juli/ClassLoaderLogManager;
0 11 1 propName Ljava/lang/String;
1 11 2 cl Ljava/lang/ClassLoader;
3 10 3 wProps Lorg/apache/juli/WebappProperties;
MethodParameters:
Name Flags
propName
private static java.lang.Boolean lambda$0();
descriptor: ()Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.Void lambda$1(java.util.logging.Logger, java.lang.String);
descriptor: (Ljava/util/logging/Logger;Ljava/lang/String;)Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic java.util.logging.Level.parse:(Ljava/lang/String;)Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.setLevel:(Ljava/util/logging/Level;)V
1: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
private java.lang.Void lambda$2(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Ljava/lang/Void;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
invokevirtual org.apache.juli.ClassLoaderLogManager.readConfiguration:(Ljava/lang/ClassLoader;)V
1: goto 3
StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/juli/ClassLoaderLogManager;
Exception table:
from to target type
0 1 2 Class java.io.IOException
private static java.lang.Void lambda$3(java.util.logging.Logger, java.util.logging.Logger);
descriptor: (Ljava/util/logging/Logger;Ljava/util/logging/Logger;)Ljava/lang/Void;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual java.util.logging.Logger.setParent:(Ljava/util/logging/Logger;)V
1: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ClassLoaderLogManager.java"
NestMembers:
org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo org.apache.juli.ClassLoaderLogManager$Cleaner org.apache.juli.ClassLoaderLogManager$LogNode org.apache.juli.ClassLoaderLogManager$RootLogger
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
protected final ClassLoaderLogInfo = org.apache.juli.ClassLoaderLogManager$ClassLoaderLogInfo of org.apache.juli.ClassLoaderLogManager
private final Cleaner = org.apache.juli.ClassLoaderLogManager$Cleaner of org.apache.juli.ClassLoaderLogManager
protected final LogNode = org.apache.juli.ClassLoaderLogManager$LogNode of org.apache.juli.ClassLoaderLogManager
protected RootLogger = org.apache.juli.ClassLoaderLogManager$RootLogger of org.apache.juli.ClassLoaderLogManager