RFR: 8332084: Ensure JdkConsoleImpl.restoreEcho visibility in a shutdown hook [v10]

Naoto Sato naoto at openjdk.org
Fri May 24 17:21:15 UTC 2024


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

Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:

  Added comment for restoreEchoLock

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19184/files
  - new: https://git.openjdk.org/jdk/pull/19184/files/69ec27d6..d4b6e695

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19184&range=09
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19184&range=08-09

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/19184.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19184/head:pull/19184

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


More information about the core-libs-dev mailing list