Skip to content

Commit

Permalink
8322772: Clean up code after JDK-8322417
Browse files Browse the repository at this point in the history
Reviewed-by: mbaesken
Backport-of: 24b3b2b66f0bed3e9812999a5b6d511f31e9ad1f
  • Loading branch information
RealCLanger committed Jan 9, 2024
1 parent 1f95796 commit bfd23ae
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 @@ -336,7 +336,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 lr) {
lr.zeroOut();
Expand Down

3 comments on commit bfd23ae

@RealCLanger
Copy link
Contributor Author

Choose a reason for hiding this comment

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

/backport jdk11u-dev

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@openjdk
Copy link

@openjdk openjdk bot commented on bfd23ae Jan 9, 2024

Choose a reason for hiding this comment

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

@RealCLanger the backport was successfully created on the branch backport-RealCLanger-bfd23aea in my personal fork of openjdk/jdk11u-dev. To create a pull request with this backport targeting openjdk/jdk11u-dev:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit bfd23aea from the openjdk/jdk17u-dev repository.

The commit being backported was authored by Christoph Langer on 9 Jan 2024 and was reviewed by Matthias Baesken.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk11u-dev:

$ git fetch https://github.com/openjdk-bots/jdk11u-dev.git backport-RealCLanger-bfd23aea:backport-RealCLanger-bfd23aea
$ git checkout backport-RealCLanger-bfd23aea
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk11u-dev.git backport-RealCLanger-bfd23aea

Please sign in to comment.