final class jdk.internal.logger.SimpleConsoleLogger$Formatting
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.logger.SimpleConsoleLogger$Formatting
super_class: java.lang.Object
{
static final java.lang.String DEFAULT_FORMAT;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "%1$tb %1$td, %1$tY %1$tl:%1$tM:%1$tS %1$Tp %2$s%n%4$s: %5$s%6$s%n"
static final java.lang.String DEFAULT_FORMAT_PROP_KEY;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "jdk.system.logger.format"
static final java.lang.String JUL_FORMAT_PROP_KEY;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "java.util.logging.SimpleFormatter.format"
static final java.lang.String SIMPLE_CONSOLE_LOGGER_FORMAT;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final java.lang.String[] skips;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "jdk.system.logger.format"
aconst_null
invokestatic jdk.internal.logger.SimpleConsoleLogger$Formatting.getSimpleFormat:(Ljava/lang/String;Ljava/util/function/Function;)Ljava/lang/String;
1: putstatic jdk.internal.logger.SimpleConsoleLogger$Formatting.SIMPLE_CONSOLE_LOGGER_FORMAT:Ljava/lang/String;
2: ldc "jdk.logger.packages"
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;)Ljava/lang/String;
3: astore 0
start local 0 4: aload 0
ifnonnull 5
iconst_0
anewarray java.lang.String
goto 6
StackMap locals: java.lang.String
StackMap stack:
5: aload 0
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String[]
6: putstatic jdk.internal.logger.SimpleConsoleLogger$Formatting.skips:[Ljava/lang/String;
end local 0 7: return
LocalVariableTable:
Start End Slot Name Signature
4 7 0 additionalPkgs Ljava/lang/String;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/logger/SimpleConsoleLogger$Formatting;
static boolean isFilteredFrame(java.lang.StackWalker$StackFrame);
descriptor: (Ljava/lang/StackWalker$StackFrame;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: ldc Ljava/lang/System$Logger;
aload 0
invokeinterface java.lang.StackWalker$StackFrame.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.StackWalker$StackFrame.getClassName:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
invokevirtual java.lang.String.length:()I
bipush 12
if_icmpge 4
iconst_0
goto 5
StackMap locals: java.lang.String
StackMap stack:
4: aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
StackMap locals:
StackMap stack: int
5: istore 2
start local 2 6: iload 2
bipush 115
if_icmpne 9
7: aload 1
ldc "sun.util.logging."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 8
iconst_1
ireturn
8: StackMap locals: int
StackMap stack:
aload 1
ldc "sun.rmi.runtime.Log"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
iconst_1
ireturn
9: StackMap locals:
StackMap stack:
iload 2
bipush 106
if_icmpne 15
10: aload 1
ldc "jdk.internal.logger.BootstrapLogger$LogEvent"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 1
ldc "jdk.internal.logger."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 12
iconst_1
ireturn
12: StackMap locals:
StackMap stack:
aload 1
ldc "java.util.logging."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
iconst_1
ireturn
13: StackMap locals:
StackMap stack:
aload 1
ldc "java.lang.invoke.MethodHandle"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 14
iconst_1
ireturn
14: StackMap locals:
StackMap stack:
aload 1
ldc "java.security.AccessController"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
iconst_1
ireturn
15: StackMap locals:
StackMap stack:
getstatic jdk.internal.logger.SimpleConsoleLogger$Formatting.skips:[Ljava/lang/String;
arraylength
ifle 22
16: iconst_0
istore 3
start local 3 17: goto 21
18: StackMap locals: int
StackMap stack:
getstatic jdk.internal.logger.SimpleConsoleLogger$Formatting.skips:[Ljava/lang/String;
iload 3
aaload
invokevirtual java.lang.String.isEmpty:()Z
ifne 20
aload 1
getstatic jdk.internal.logger.SimpleConsoleLogger$Formatting.skips:[Ljava/lang/String;
iload 3
aaload
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
19: iconst_1
ireturn
20: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
21: iload 3
getstatic jdk.internal.logger.SimpleConsoleLogger$Formatting.skips:[Ljava/lang/String;
arraylength
if_icmplt 18
end local 3 22: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 st Ljava/lang/StackWalker$StackFrame;
3 23 1 cname Ljava/lang/String;
6 23 2 c C
17 22 3 i I
MethodParameters:
Name Flags
st
static java.lang.String getSimpleFormat(java.lang.String, java.util.function.Function<java.lang.String, java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/function/Function;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: ldc "jdk.system.logger.format"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
1: ldc "java.util.logging.SimpleFormatter.format"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid property name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 4: aload 2
ifnonnull 6
aload 1
ifnull 6
5: aload 1
aload 0
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
6: StackMap locals: java.lang.String
StackMap stack:
aload 2
ifnull 12
7: aload 2
bipush 6
anewarray java.lang.Object
dup
iconst_0
invokestatic java.time.ZonedDateTime.now:()Ljava/time/ZonedDateTime;
aastore
dup
iconst_1
ldc ""
aastore
dup
iconst_2
ldc ""
aastore
dup
iconst_3
ldc ""
aastore
dup
iconst_4
ldc ""
aastore
dup
iconst_5
ldc ""
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
pop
8: goto 13
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
9: pop
10: ldc "%1$tb %1$td, %1$tY %1$tl:%1$tM:%1$tS %1$Tp %2$s%n%4$s: %5$s%6$s%n"
astore 2
11: goto 13
12: StackMap locals:
StackMap stack:
ldc "%1$tb %1$td, %1$tY %1$tl:%1$tM:%1$tS %1$Tp %2$s%n%4$s: %5$s%6$s%n"
astore 2
13: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 key Ljava/lang/String;
0 14 1 defaultPropertyGetter Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;
4 14 2 format Ljava/lang/String;
Exception table:
from to target type
7 8 9 Class java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
key
defaultPropertyGetter
static java.lang.String formatMessage(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
arraylength
ifne 3
1: StackMap locals:
StackMap stack:
aload 0
2: areturn
3: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 4: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 14
7: StackMap locals: int int int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 8: iload 5
bipush 123
if_icmpne 13
9: aload 0
iload 4
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 10: iload 6
bipush 48
if_icmplt 13
iload 6
bipush 57
if_icmpgt 13
11: iconst_1
istore 2
12: goto 15
end local 6 end local 5 13: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
iload 3
iconst_2
isub
if_icmplt 7
end local 4 15: StackMap locals:
StackMap stack:
iload 2
ifeq 18
16: aload 0
aload 1
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
17: areturn
18: StackMap locals:
StackMap stack:
aload 0
19: areturn
end local 3 end local 2 20: StackMap locals: java.lang.String java.lang.Object[]
StackMap stack: java.lang.Exception
pop
21: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 format Ljava/lang/String;
0 22 1 parameters [Ljava/lang/Object;
4 20 2 isJavaTestFormat Z
5 20 3 len I
6 15 4 i I
8 13 5 c C
10 13 6 d I
Exception table:
from to target type
0 2 20 Class java.lang.Exception
3 17 20 Class java.lang.Exception
18 19 20 Class java.lang.Exception
MethodParameters:
Name Flags
format
parameters
}
SourceFile: "SimpleConsoleLogger.java"
NestHost: jdk.internal.logger.SimpleConsoleLogger
InnerClasses:
public abstract StackFrame = java.lang.StackWalker$StackFrame of java.lang.StackWalker
public abstract Logger = java.lang.System$Logger of java.lang.System
final Formatting = jdk.internal.logger.SimpleConsoleLogger$Formatting of jdk.internal.logger.SimpleConsoleLogger