public class org.apache.juli.logging.LogFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.juli.logging.LogFactory
super_class: java.lang.Object
{
private static final org.apache.juli.logging.LogFactory singleton;
descriptor: Lorg/apache/juli/logging/LogFactory;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.reflect.Constructor<? extends org.apache.juli.logging.Log> discoveredLogConstructor;
descriptor: Ljava/lang/reflect/Constructor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/reflect/Constructor<+Lorg/apache/juli/logging/Log;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.apache.juli.logging.LogFactory
dup
invokespecial org.apache.juli.logging.LogFactory.<init>:()V
putstatic org.apache.juli.logging.LogFactory.singleton:Lorg/apache/juli/logging/LogFactory;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
pop
2: ldc Lorg/apache/juli/logging/Log;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
astore 1
start local 1 3: aconst_null
astore 2
start local 2 4: aload 1
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
astore 4
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 10
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.juli.logging.Log
astore 3
start local 3 5: aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 5
start local 5 6: aload 5
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 2
7: goto 10
8: StackMap locals: org.apache.juli.logging.LogFactory java.util.ServiceLoader java.lang.reflect.Constructor org.apache.juli.logging.Log java.util.Iterator java.lang.Class
StackMap stack: java.lang.Exception
astore 6
start local 6 9: new java.lang.Error
dup
aload 6
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 end local 3 10: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.apache.juli.logging.LogFactory.discoveredLogConstructor:Ljava/lang/reflect/Constructor;
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/juli/logging/LogFactory;
3 12 1 logLoader Ljava/util/ServiceLoader<Lorg/apache/juli/logging/Log;>;
4 12 2 m Ljava/lang/reflect/Constructor<+Lorg/apache/juli/logging/Log;>;
5 10 3 log Lorg/apache/juli/logging/Log;
6 10 5 c Ljava/lang/Class<+Lorg/apache/juli/logging/Log;>;
9 10 6 e Ljava/lang/Exception;
Exception table:
from to target type
6 7 8 Class java.lang.NoSuchMethodException
6 7 8 Class java.lang.SecurityException
public org.apache.juli.logging.Log getInstance(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/juli/logging/Log;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.juli.logging.LogFactory.discoveredLogConstructor:Ljava/lang/reflect/Constructor;
ifnonnull 2
1: aload 1
invokestatic org.apache.juli.logging.DirectJDKLog.getInstance:(Ljava/lang/String;)Lorg/apache/juli/logging/Log;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.juli.logging.LogFactory.discoveredLogConstructor:Ljava/lang/reflect/Constructor;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.juli.logging.Log
3: areturn
4: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 5: new org.apache.juli.logging.LogConfigurationException
dup
aload 2
invokespecial org.apache.juli.logging.LogConfigurationException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/juli/logging/LogFactory;
0 6 1 name Ljava/lang/String;
5 6 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.ReflectiveOperationException
2 3 4 Class java.lang.IllegalArgumentException
Exceptions:
throws org.apache.juli.logging.LogConfigurationException
MethodParameters:
Name Flags
name
public org.apache.juli.logging.Log getInstance(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual org.apache.juli.logging.LogFactory.getInstance:(Ljava/lang/String;)Lorg/apache/juli/logging/Log;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/juli/logging/LogFactory;
0 1 1 clazz Ljava/lang/Class<*>;
Exceptions:
throws org.apache.juli.logging.LogConfigurationException
Signature: (Ljava/lang/Class<*>;)Lorg/apache/juli/logging/Log;
MethodParameters:
Name Flags
clazz
public static org.apache.juli.logging.LogFactory getFactory();
descriptor: ()Lorg/apache/juli/logging/LogFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.juli.logging.LogFactory.singleton:Lorg/apache/juli/logging/LogFactory;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws org.apache.juli.logging.LogConfigurationException
public static org.apache.juli.logging.Log getLog(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.apache.juli.logging.LogFactory.getFactory:()Lorg/apache/juli/logging/LogFactory;
aload 0
invokevirtual org.apache.juli.logging.LogFactory.getInstance:(Ljava/lang/Class;)Lorg/apache/juli/logging/Log;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
Exceptions:
throws org.apache.juli.logging.LogConfigurationException
Signature: (Ljava/lang/Class<*>;)Lorg/apache/juli/logging/Log;
MethodParameters:
Name Flags
clazz
public static org.apache.juli.logging.Log getLog(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/juli/logging/Log;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.apache.juli.logging.LogFactory.getFactory:()Lorg/apache/juli/logging/LogFactory;
aload 0
invokevirtual org.apache.juli.logging.LogFactory.getInstance:(Ljava/lang/String;)Lorg/apache/juli/logging/Log;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
Exceptions:
throws org.apache.juli.logging.LogConfigurationException
MethodParameters:
Name Flags
name
public static void release(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.util.logging.LogManager.getLogManager:()Ljava/util/logging/LogManager;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
1: ldc "java.util.logging.LogManager"
2: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
3: ifne 5
4: invokestatic java.util.logging.LogManager.getLogManager:()Ljava/util/logging/LogManager;
invokevirtual java.util.logging.LogManager.reset:()V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
classLoader
}
SourceFile: "LogFactory.java"