Integrated: 8332084: Ensure JdkConsoleImpl.restoreEcho visibility in a shutdown hook

Naoto Sato naoto at openjdk.org
Fri May 24 17:54:09 UTC 2024


On Fri, 10 May 2024 21:55:26 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> Making sure `restoreEcho` correctly reflects the state in the shutdown thread, which differs from the application's thread that issues the `readPassword()` method.

This pull request has now been integrated.

Changeset: 236432db
Author:    Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/236432dbdb9bab4aece54c2fea08f055e5dbf97e
Stats:     18 lines in 1 file changed: 10 ins; 0 del; 8 mod

8332084: Ensure JdkConsoleImpl.restoreEcho visibility in a shutdown hook

Reviewed-by: prappo, joehw, smarks

-------------

PR: https://git.openjdk.org/jdk/pull/19184


More information about the core-libs-dev mailing list