Skip to content

Commit

Permalink
8322772: Clean up code after JDK-8322417
Browse files Browse the repository at this point in the history
Backport-of: bfd23aeae1566b86c20bdcbecff58f216947612a
  • Loading branch information
RealCLanger committed Jan 9, 2024
1 parent 58b154e commit e3a18fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/io/Console.java
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public char[] readPassword(String fmt, Object ... args) {
ioe.addSuppressed(x);
}
if (ioe != null) {
java.util.Arrays.fill(passwd, ' ');
Arrays.fill(passwd, ' ');
try {
if (reader instanceof LineReader) {
LineReader lr = (LineReader)reader;
Expand Down

1 comment on commit e3a18fa

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.