On Mon, 13 May 2024 17:06:32 GMT, Naoto Sato <na...@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.
>
> Naoto Sato has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Replaced another unused exception with _

Right, making the field volatile is a much safer solution.

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

PR Comment: https://git.openjdk.org/jdk/pull/19184#issuecomment-2108832766

Reply via email to