Skip to content

Commit bfd23ae

Browse files
committed
8322772: Clean up code after JDK-8322417
Reviewed-by: mbaesken Backport-of: 24b3b2b66f0bed3e9812999a5b6d511f31e9ad1f
1 parent 1f95796 commit bfd23ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java.base/share/classes/java/io/Console.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ public char[] readPassword(String fmt, Object ... args) {
336336
ioe.addSuppressed(x);
337337
}
338338
if (ioe != null) {
339-
java.util.Arrays.fill(passwd, ' ');
339+
Arrays.fill(passwd, ' ');
340340
try {
341341
if (reader instanceof LineReader lr) {
342342
lr.zeroOut();

0 commit comments

Comments
 (0)