final class jdk.internal.logger.BootstrapLogger$RedirectedLoggers implements java.util.function.Function<jdk.internal.logger.LazyLoggers$LazyLoggerAccessor, jdk.internal.logger.SurrogateLogger>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.logger.BootstrapLogger$RedirectedLoggers
super_class: java.lang.Object
{
final java.util.Map<jdk.internal.logger.LazyLoggers$LazyLoggerAccessor, jdk.internal.logger.SurrogateLogger> redirectedLoggers;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljdk/internal/logger/LazyLoggers$LazyLoggerAccessor;Ljdk/internal/logger/SurrogateLogger;>;
boolean cleared;
descriptor: Z
flags: (0x0000)
static final jdk.internal.logger.BootstrapLogger$RedirectedLoggers INSTANCE;
descriptor: Ljdk/internal/logger/BootstrapLogger$RedirectedLoggers;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new jdk.internal.logger.BootstrapLogger$RedirectedLoggers
dup
invokespecial jdk.internal.logger.BootstrapLogger$RedirectedLoggers.<init>:()V
putstatic jdk.internal.logger.BootstrapLogger$RedirectedLoggers.INSTANCE:Ljdk/internal/logger/BootstrapLogger$RedirectedLoggers;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.internal.logger.BootstrapLogger$RedirectedLoggers.redirectedLoggers:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/logger/BootstrapLogger$RedirectedLoggers;
public jdk.internal.logger.SurrogateLogger apply(jdk.internal.logger.LazyLoggers$LazyLoggerAccessor);
descriptor: (Ljdk/internal/logger/LazyLoggers$LazyLoggerAccessor;)Ljdk/internal/logger/SurrogateLogger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.logger.BootstrapLogger$RedirectedLoggers.cleared:Z
ifeq 1
new java.lang.IllegalStateException
dup
ldc "LoggerFinder already initialized"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.internal.logger.LazyLoggers$LazyLoggerAccessor.getLoggerName:()Ljava/lang/String;
invokestatic jdk.internal.logger.SurrogateLogger.makeSurrogateLogger:(Ljava/lang/String;)Ljdk/internal/logger/SurrogateLogger;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/logger/BootstrapLogger$RedirectedLoggers;
0 2 1 t Ljdk/internal/logger/LazyLoggers$LazyLoggerAccessor;
MethodParameters:
Name Flags
t
jdk.internal.logger.SurrogateLogger get(jdk.internal.logger.LazyLoggers$LazyLoggerAccessor);
descriptor: (Ljdk/internal/logger/LazyLoggers$LazyLoggerAccessor;)Ljdk/internal/logger/SurrogateLogger;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.logger.BootstrapLogger$RedirectedLoggers.cleared:Z
ifeq 1
new java.lang.IllegalStateException
dup
ldc "LoggerFinder already initialized"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.logger.BootstrapLogger$RedirectedLoggers.redirectedLoggers:Ljava/util/Map;
aload 1
aload 0
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast jdk.internal.logger.SurrogateLogger
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/logger/BootstrapLogger$RedirectedLoggers;
0 2 1 a Ljdk/internal/logger/LazyLoggers$LazyLoggerAccessor;
MethodParameters:
Name Flags
a
java.util.Map<jdk.internal.logger.LazyLoggers$LazyLoggerAccessor, jdk.internal.logger.SurrogateLogger> drainLoggersMap();
descriptor: ()Ljava/util/Map;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.logger.BootstrapLogger$RedirectedLoggers.redirectedLoggers:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifeq 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.logger.BootstrapLogger$RedirectedLoggers.cleared:Z
ifeq 2
new java.lang.IllegalStateException
dup
ldc "LoggerFinder already initialized"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
aload 0
getfield jdk.internal.logger.BootstrapLogger$RedirectedLoggers.redirectedLoggers:Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 1
start local 1 3: aload 0
getfield jdk.internal.logger.BootstrapLogger$RedirectedLoggers.redirectedLoggers:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
4: aload 0
iconst_1
putfield jdk.internal.logger.BootstrapLogger$RedirectedLoggers.cleared:Z
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/logger/BootstrapLogger$RedirectedLoggers;
3 6 1 accessors Ljava/util/Map<Ljdk/internal/logger/LazyLoggers$LazyLoggerAccessor;Ljdk/internal/logger/SurrogateLogger;>;
Signature: ()Ljava/util/Map<Ljdk/internal/logger/LazyLoggers$LazyLoggerAccessor;Ljdk/internal/logger/SurrogateLogger;>;
static void replaceSurrogateLoggers(java.util.Map<jdk.internal.logger.LazyLoggers$LazyLoggerAccessor, jdk.internal.logger.SurrogateLogger>);
descriptor: (Ljava/util/Map;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: getstatic jdk.internal.logger.BootstrapLogger$DetectBackend.detectedBackend:Ljdk/internal/logger/BootstrapLogger$LoggingBackend;
astore 1
start local 1 1: aload 1
getstatic jdk.internal.logger.BootstrapLogger$LoggingBackend.JUL_DEFAULT:Ljdk/internal/logger/BootstrapLogger$LoggingBackend;
if_acmpeq 4
2: aload 1
getstatic jdk.internal.logger.BootstrapLogger$LoggingBackend.JUL_WITH_CONFIG:Ljdk/internal/logger/BootstrapLogger$LoggingBackend;
if_acmpeq 4
3: iconst_1
goto 5
StackMap locals: jdk.internal.logger.BootstrapLogger$LoggingBackend
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 2
start local 2 6: aload 0
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: java.util.Map jdk.internal.logger.BootstrapLogger$LoggingBackend int top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 8: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast jdk.internal.logger.LazyLoggers$LazyLoggerAccessor
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast jdk.internal.logger.SimpleConsoleLogger
iload 2
ifeq 9
iconst_0
goto 10
StackMap locals: java.util.Map jdk.internal.logger.BootstrapLogger$LoggingBackend int java.util.Map$Entry java.util.Iterator
StackMap stack: jdk.internal.logger.LazyLoggers$LazyLoggerAccessor jdk.internal.logger.SimpleConsoleLogger
9: iconst_1
StackMap locals: java.util.Map jdk.internal.logger.BootstrapLogger$LoggingBackend int java.util.Map$Entry java.util.Iterator
StackMap stack: jdk.internal.logger.LazyLoggers$LazyLoggerAccessor jdk.internal.logger.SimpleConsoleLogger int
10: invokevirtual jdk.internal.logger.LazyLoggers$LazyLoggerAccessor.release:(Ljdk/internal/logger/SimpleConsoleLogger;Z)V
end local 3 11: StackMap locals: java.util.Map jdk.internal.logger.BootstrapLogger$LoggingBackend int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 accessors Ljava/util/Map<Ljdk/internal/logger/LazyLoggers$LazyLoggerAccessor;Ljdk/internal/logger/SurrogateLogger;>;
1 13 1 detectedBackend Ljdk/internal/logger/BootstrapLogger$LoggingBackend;
6 13 2 lazy Z
8 11 3 a Ljava/util/Map$Entry<Ljdk/internal/logger/LazyLoggers$LazyLoggerAccessor;Ljdk/internal/logger/SurrogateLogger;>;
Signature: (Ljava/util/Map<Ljdk/internal/logger/LazyLoggers$LazyLoggerAccessor;Ljdk/internal/logger/SurrogateLogger;>;)V
MethodParameters:
Name Flags
accessors
public java.lang.Object apply(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast jdk.internal.logger.LazyLoggers$LazyLoggerAccessor
invokevirtual jdk.internal.logger.BootstrapLogger$RedirectedLoggers.apply:(Ljdk/internal/logger/LazyLoggers$LazyLoggerAccessor;)Ljdk/internal/logger/SurrogateLogger;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/function/Function<Ljdk/internal/logger/LazyLoggers$LazyLoggerAccessor;Ljdk/internal/logger/SurrogateLogger;>;
SourceFile: "BootstrapLogger.java"
NestHost: jdk.internal.logger.BootstrapLogger
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private final DetectBackend = jdk.internal.logger.BootstrapLogger$DetectBackend of jdk.internal.logger.BootstrapLogger
private final LoggingBackend = jdk.internal.logger.BootstrapLogger$LoggingBackend of jdk.internal.logger.BootstrapLogger
final RedirectedLoggers = jdk.internal.logger.BootstrapLogger$RedirectedLoggers of jdk.internal.logger.BootstrapLogger
final LazyLoggerAccessor = jdk.internal.logger.LazyLoggers$LazyLoggerAccessor of jdk.internal.logger.LazyLoggers