mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-11 08:23:26 +00:00
8322772: Clean up code after JDK-8322417
Reviewed-by: mdoerr, goetz, mbaesken, vtewari
This commit is contained in:
parent
19147f326c
commit
32d80e2caf
@ -120,7 +120,7 @@ public final class JdkConsoleImpl implements JdkConsole {
|
||||
ioe.addSuppressed(x);
|
||||
}
|
||||
if (ioe != null) {
|
||||
java.util.Arrays.fill(passwd, ' ');
|
||||
Arrays.fill(passwd, ' ');
|
||||
try {
|
||||
if (reader instanceof LineReader lr) {
|
||||
lr.zeroOut();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user