Integrated: 8374555: No need for visible input warning in s.s.u.Password when not reading from System.in

Weijun Wang weijun at openjdk.org
Tue Jan 6 18:09:46 UTC 2026


On Mon, 5 Jan 2026 22:20:28 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.

This pull request has now been integrated.

Changeset: fbc59ac0
Author:    Weijun Wang <weijun at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/fbc59ac0a1248066e9fbcfde3bd6a8eb4d60992c
Stats:     80 lines in 2 files changed: 78 ins; 0 del; 2 mod

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

Reviewed-by: coffeys, hchao

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

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


More information about the security-dev mailing list