META-INF.modules.java.base.classes.sun.security.util.Password.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
sun/security/util/Password readPassword (Ljava/io/InputStream;Z)[C java/lang/System in Ljava/io/InputStream;
console ()Ljava/io/Console;
java/io/Console ()[C
! java/util/Arrays fill ([CC)V
# $ ([BB)V
& ' ( convertToBytes ([C)[B * java/io/ByteArrayInputStream
) , - ([B)V
/ 0 1 2 3 java/io/InputStream read ()I 5 java/io/PushbackInputStream
4 7 8 (Ljava/io/InputStream;)V
4 : ; < unread (I)V
> ? @ arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V B C D enc !Ljava/nio/charset/CharsetEncoder;
F G H I J !jdk/internal/access/SharedSecrets getJavaIOAccess $()Ljdk/internal/access/JavaIOAccess; L M N O P jdk/internal/access/JavaIOAccess charset ()Ljava/nio/charset/Charset;
R S T U V java/nio/charset/Charset
newEncoder #()Ljava/nio/charset/CharsetEncoder; X Y Z [ \ "java/nio/charset/CodingErrorAction REPLACE $Ljava/nio/charset/CodingErrorAction;
^ _ ` a b java/nio/charset/CharsetEncoder onMalformedInput G(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
^ d e b onUnmappableCharacter
^ g h i maxBytesPerChar ()F
k l m n o java/nio/ByteBuffer wrap ([B)Ljava/nio/ByteBuffer;
^ q r V reset
t u v n w java/nio/CharBuffer ([C)Ljava/nio/CharBuffer;
^ y z { encode K(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
k } ~ 3 position Code LineNumberTable LocalVariableTable this Lsun/security/util/Password; (Ljava/io/InputStream;)[C
Exceptions ? java/io/IOException c2 I c con Ljava/io/Console;
lineBuffer [C buf room offset done Z ret isEchoOn consoleEntered consoleBytes [B
StackMapTable ? ? ? java/lang/Throwable pass ba bb Ljava/nio/ByteBuffer;
SourceFile
Password.java ! J C D / *? ? ? &