RFR: 8374555: No need for visible input warning in s.s.u.Password when not reading from System.in [v2]

Hai-May Chao hchao at openjdk.org
Tue Jan 6 17:31:21 UTC 2026


On Tue, 6 Jan 2026 13:58:21 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> We should only print out `[WARNING: Input may be visible on screen]` when trying to read password from `System.in`. Don't print it if the password is read from a different URL.
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   warn only if VM is booted; more comments

Changes look good.

Marked as reviewed by hchao (Reviewer).

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

Marked as reviewed by hchao (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29051#pullrequestreview-3631801464
PR Review: https://git.openjdk.org/jdk/pull/29051#pullrequestreview-3631803191


More information about the security-dev mailing list