Skip to content

Commit 24b3b2b

Browse files
committed
8322772: Clean up code after JDK-8322417
Reviewed-by: mbaesken Backport-of: 32d80e2caf6063b58128bd5f3dc87b276f3bd0cb
1 parent 98fb425 commit 24b3b2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java.base/share/classes/jdk/internal/io/JdkConsoleImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public char[] readPassword(String fmt, Object ... args) {
120120
ioe.addSuppressed(x);
121121
}
122122
if (ioe != null) {
123-
java.util.Arrays.fill(passwd, ' ');
123+
Arrays.fill(passwd, ' ');
124124
try {
125125
if (reader instanceof LineReader lr) {
126126
lr.zeroOut();

0 commit comments

Comments
 (0)