public class jdk.internal.logger.DefaultLoggerFinder extends java.lang.System$LoggerFinder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.logger.DefaultLoggerFinder
super_class: java.lang.System$LoggerFinder
{
static final java.lang.RuntimePermission LOGGERFINDER_PERMISSION;
descriptor: Ljava/lang/RuntimePermission;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.RuntimePermission
dup
ldc "loggerFinder"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
1: putstatic jdk.internal.logger.DefaultLoggerFinder.LOGGERFINDER_PERMISSION:Ljava/lang/RuntimePermission;
2: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.internal.logger.DefaultLoggerFinder.checkPermission:()Ljava/lang/Void;
invokespecial jdk.internal.logger.DefaultLoggerFinder.<init>:(Ljava/lang/Void;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/logger/DefaultLoggerFinder;
private void <init>(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.System$LoggerFinder.<init>:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/logger/DefaultLoggerFinder;
0 2 1 unused Ljava/lang/Void;
MethodParameters:
Name Flags
unused
private static java.lang.Void checkPermission();
descriptor: ()Ljava/lang/Void;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
getstatic jdk.internal.logger.DefaultLoggerFinder.LOGGERFINDER_PERMISSION:Ljava/lang/RuntimePermission;
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 sm Ljava/lang/SecurityManager;
public static boolean isSystem(java.lang.Module);
descriptor: (Ljava/lang/Module;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.internal.logger.DefaultLoggerFinder$1
dup
aload 0
invokespecial jdk.internal.logger.DefaultLoggerFinder$1.<init>:(Ljava/lang/Module;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 m Ljava/lang/Module;
MethodParameters:
Name Flags
m
public final java.lang.System$Logger getLogger(java.lang.String, java.lang.Module);
descriptor: (Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/System$Logger;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 2
ldc "module"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: invokestatic jdk.internal.logger.DefaultLoggerFinder.checkPermission:()Ljava/lang/Void;
pop
3: aload 0
aload 1
aload 2
invokevirtual jdk.internal.logger.DefaultLoggerFinder.demandLoggerFor:(Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/System$Logger;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/logger/DefaultLoggerFinder;
0 4 1 name Ljava/lang/String;
0 4 2 module Ljava/lang/Module;
MethodParameters:
Name Flags
name
module
public final java.lang.System$Logger getLocalizedLogger(java.lang.String, java.util.ResourceBundle, java.lang.Module);
descriptor: (Ljava/lang/String;Ljava/util/ResourceBundle;Ljava/lang/Module;)Ljava/lang/System$Logger;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial java.lang.System$LoggerFinder.getLocalizedLogger:(Ljava/lang/String;Ljava/util/ResourceBundle;Ljava/lang/Module;)Ljava/lang/System$Logger;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/logger/DefaultLoggerFinder;
0 1 1 name Ljava/lang/String;
0 1 2 bundle Ljava/util/ResourceBundle;
0 1 3 module Ljava/lang/Module;
MethodParameters:
Name Flags
name
bundle
module
protected java.lang.System$Logger demandLoggerFor(java.lang.String, java.lang.Module);
descriptor: (Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/System$Logger;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.internal.logger.DefaultLoggerFinder.checkPermission:()Ljava/lang/Void;
pop
1: aload 2
invokestatic jdk.internal.logger.DefaultLoggerFinder.isSystem:(Ljava/lang/Module;)Z
ifeq 3
2: getstatic jdk.internal.logger.DefaultLoggerFinder$SharedLoggers.system:Ljdk/internal/logger/DefaultLoggerFinder$SharedLoggers;
invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/internal/logger/SimpleConsoleLogger.makeSimpleLogger(Ljava/lang/String;)Ljdk/internal/logger/SimpleConsoleLogger; (6)
(Ljava/lang/String;)Ljava/lang/System$Logger;
aload 1
invokevirtual jdk.internal.logger.DefaultLoggerFinder$SharedLoggers.get:(Ljava/util/function/Function;Ljava/lang/String;)Ljava/lang/System$Logger;
areturn
3: StackMap locals:
StackMap stack:
getstatic jdk.internal.logger.DefaultLoggerFinder$SharedLoggers.application:Ljdk/internal/logger/DefaultLoggerFinder$SharedLoggers;
invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/internal/logger/SimpleConsoleLogger.makeSimpleLogger(Ljava/lang/String;)Ljdk/internal/logger/SimpleConsoleLogger; (6)
(Ljava/lang/String;)Ljava/lang/System$Logger;
aload 1
invokevirtual jdk.internal.logger.DefaultLoggerFinder$SharedLoggers.get:(Ljava/util/function/Function;Ljava/lang/String;)Ljava/lang/System$Logger;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/logger/DefaultLoggerFinder;
0 4 1 name Ljava/lang/String;
0 4 2 module Ljava/lang/Module;
MethodParameters:
Name Flags
name
module
}
SourceFile: "DefaultLoggerFinder.java"
NestMembers:
jdk.internal.logger.DefaultLoggerFinder$1 jdk.internal.logger.DefaultLoggerFinder$SharedLoggers
InnerClasses:
public abstract Logger = java.lang.System$Logger of java.lang.System
public abstract LoggerFinder = java.lang.System$LoggerFinder of java.lang.System
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
jdk.internal.logger.DefaultLoggerFinder$1
final SharedLoggers = jdk.internal.logger.DefaultLoggerFinder$SharedLoggers of jdk.internal.logger.DefaultLoggerFinder