META-INF.modules.java.base.classes.jdk.internal.logger.LoggerFinderLoader.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.base Show documentation
Show all versions of java.base Show documentation
Bytecoder java.base Module
???? :$
java/lang/Object ()V java/lang/InternalError
)LoggerFinderLoader cannot be instantiated
(Ljava/lang/String;)V &jdk/internal/logger/LoggerFinderLoader service Ljava/lang/System$LoggerFinder; lock Ljava/lang/Object;
loadLoggerFinder !()Ljava/lang/System$LoggerFinder;
#jdk/internal/logger/BootstrapLogger redirectTemporaryLoggers " jdk.logger.finder.error
$ % & ' ( %sun/security/action/GetPropertyAction privilegedGetProperty &(Ljava/lang/String;)Ljava/lang/String;
* + , - . java/lang/String isEmpty ()Z 0 1 2 3 4 2jdk/internal/logger/LoggerFinderLoader$ErrorPolicy WARNING 4Ljdk/internal/logger/LoggerFinderLoader$ErrorPolicy; 6 7 8 9 : java/util/Locale ROOT Ljava/util/Locale;
* < = > toUpperCase &(Ljava/util/Locale;)Ljava/lang/String;
0 @ A B valueOf H(Ljava/lang/String;)Ljdk/internal/logger/LoggerFinderLoader$ErrorPolicy; D "java/lang/IllegalArgumentException F jdk.logger.finder.singleton
H I J K L java/lang/Boolean parseBoolean (Ljava/lang/String;)Z
N O P Q R java/lang/System getSecurityManager ()Ljava/lang/SecurityManager; T java/lang/System$LoggerFinder
V W X Y Z java/lang/ClassLoader getSystemClassLoader ()Ljava/lang/ClassLoader;
\ ] ^ _ ` java/util/ServiceLoader load C(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
\ b c d iterator ()Ljava/util/Iterator; f g h run "()Ljava/security/PrivilegedAction; j java/security/Permission l m n LOGGERFINDER_PERMISSION Ljava/lang/RuntimePermission; p q r CLASSLOADER_PERMISSION Ljava/security/Permission; t u r READ_PERMISSION
w x y z { java/security/AccessController doPrivileged s(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object; } java/util/Iterator
? d findLoggerFinderProviders | ? ? . hasNext | ? ? ? next ()Ljava/lang/Object;
? ? . ensureSingletonProvider ? #java/util/ServiceConfigurationError ? (More than on LoggerFinder implementation
?
? ? loadDefaultImplementation ? java/lang/Error ? java/lang/RuntimeException ? 'jdk/internal/logger/DefaultLoggerFinder
?
? ? ? configurationErrorPolicy 6()Ljdk/internal/logger/LoggerFinderLoader$ErrorPolicy; 0 ? ? 4 ERROR ? ;Failed to instantiate LoggerFinder provider; Using default.
? ? ? *(Ljava/lang/String;Ljava/lang/Throwable;)V 0 ? ? 4 QUIET ? 'jdk/internal/logger/SimpleConsoleLogger ? jdk.internal.logger
? ? ? (Ljava/lang/String;Z)V ? ? ? 3 ? java/lang/System$Logger$Level Ljava/lang/System$Logger$Level;
? ? ? ? log 4(Ljava/lang/System$Logger$Level;Ljava/lang/String;)V 0 ? ? 4 DEBUG ? 3Exception raised trying to instantiate LoggerFinder
? ? ? ? I(Ljava/lang/System$Logger$Level;Ljava/lang/String;Ljava/lang/Throwable;)V
\ ? ? ?
loadInstalled ,(Ljava/lang/Class;)Ljava/util/ServiceLoader; f ? *Failed to instantiate default LoggerFinder
? ? ? ? ? java/lang/SecurityManager checkPermission (Ljava/security/Permission;)V
? ? ? ? ? n #sun/security/util/SecurityConstants GET_CLASSLOADER_PERMISSION ? java/io/FilePermission ?
<> ? read
? ? ? '(Ljava/lang/String;Ljava/lang/String;)V ? java/lang/RuntimePermission ? loggerFinder
? Code LineNumberTable LocalVariableTable this (Ljdk/internal/logger/LoggerFinderLoader;
StackMapTable ? java/lang/Throwable x $Ljava/lang/IllegalArgumentException; errorPolicy Ljava/lang/String; Ljava/util/Iterator; pa Ljava/security/PrivilegedAction; LocalVariableTypeTable 5Ljava/util/Iterator; WLjava/security/PrivilegedAction;>; Signature 7()Ljava/util/Iterator; result logger )Ljdk/internal/logger/SimpleConsoleLogger; Ljava/lang/Throwable; Ljava/lang/RuntimeException; sm Ljava/lang/SecurityManager; )Ljdk/internal/logger/DefaultLoggerFinder; ?Ljava/util/Iterator; aLjava/security/PrivilegedAction;>; getLoggerFinder "lambda$loadDefaultImplementation$1 "lambda$findLoggerFinderProviders$0
SourceFile LoggerFinderLoader.java NestMembers BootstrapMethods
"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; ?
d d
d InnerClasses LoggerFinder ErrorPolicy java/lang/System$Logger Logger Level %java/lang/invoke/MethodHandles$Lookup" java/lang/invoke/MethodHandles Lookup 1 J q r u r m n ? <