META-INF.modules.java.logging.classes.java.util.logging.StreamHandler.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.logging Show documentation
Show all versions of java.logging Show documentation
Bytecoder java.logging Module
???? @ ? java/util/logging/Level INFO Ljava/util/logging/Level; !java/util/logging/SimpleFormatter
()V
java/util/logging/Handler V(Ljava/util/logging/Level;Ljava/util/logging/Formatter;Ljava/util/logging/Formatter;)V
java/util/Objects requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; java/util/logging/Formatter
java/util/logging/StreamHandler setOutputStreamPrivileged (Ljava/io/OutputStream;)V ! java/lang/NullPointerException
$ %
flushAndClose ' ( ) output Ljava/io/OutputStream; + , -
doneHeader Z
/ 0 1 getEncoding ()Ljava/lang/String; 3 java/io/OutputStreamWriter
2 5 7 8 9 writer Ljava/io/Writer;
2 ; < +(Ljava/io/OutputStream;Ljava/lang/String;)V > $java/io/UnsupportedEncodingException @ java/lang/Error
B C D E F java/lang/String valueOf &(Ljava/lang/Object;)Ljava/lang/String; H I J makeConcatWithConstants &(Ljava/lang/String;)Ljava/lang/String;
? L M (Ljava/lang/String;)V
O P M setEncoding
R S flush
U V W
isLoggable (Ljava/util/logging/LogRecord;)Z
Y Z [ getFormatter ()Ljava/util/logging/Formatter;
] ^ _ format 1(Ljava/util/logging/LogRecord;)Ljava/lang/String; a java/lang/Exception c java/util/logging/ErrorManager
e f g reportError +(Ljava/lang/String;Ljava/lang/Exception;I)V
i j k getHead /(Ljava/util/logging/Handler;)Ljava/lang/String;
m n o p M java/io/Writer write
U
m R
t u checkPermission
w x k getTail
m z { close } !java/util/logging/StreamHandler$1
| ? :(Ljava/util/logging/StreamHandler;Ljava/io/OutputStream;)V ? java/security/Permission ? ? ? ? ? java/util/logging/LogManager controlPermission Ljava/security/Permission;
? ? ? ? ? java/security/AccessController doPrivileged s(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;[Ljava/security/Permission;)Ljava/lang/Object; Code LineNumberTable LocalVariableTable this !Ljava/util/logging/StreamHandler; 6(Ljava/io/OutputStream;Ljava/util/logging/Formatter;)V out formatter Ljava/util/logging/Formatter; defaultLevel defaultFormatter specifiedFormatter setOutputStream ex &Ljava/io/UnsupportedEncodingException; encoding Ljava/lang/String;
StackMapTable
Exceptions ? java/lang/SecurityException publish (Ljava/util/logging/LogRecord;)V msg Ljava/lang/Exception; record Ljava/util/logging/LogRecord;
SourceFile StreamHandler.java NestMembers BootstrapMethods ?
? ? ? I ? $java/lang/invoke/StringConcatFactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; ? Unexpected exception InnerClasses ? %java/lang/invoke/MethodHandles$Lookup ? java/lang/invoke/MethodHandles Lookup ! ( ) , - B 8 9 ? > *? ? Y? ?
? ?
X Y ? ? ? ? ? [ *? ,? ? ?
*+? ? ? d f g ? ? ? ? ) ? ? ? T *+,-?
? ?
o p ? * ? ? ? ? ? ? ? $ ? ? ? [+? ? Y? "?*? #*+? &*? **? .M,? *? 2Y*? &? 4? 6? (*? 2Y*? &,? :? 6? N? ?Y-? A? G ? K?? 5 E H = ? 6
~ ? ? ? ? ? # ? 5 ? E ? H ? I ? Z ? ? * I ? ? [ ? ? [ ? ) <