RFR: 8368692: Restrict Password::readPassword from reading from System.in
Weijun Wang
weijun at openjdk.org
Thu Jan 29 21:38:49 UTC 2026
A new security/system property added to determine whether Java can read password from `System.in` if a console is not available.
-------------
Commit messages:
- the change
Changes: https://git.openjdk.org/jdk/pull/29490/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29490&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8368692
Stats: 100 lines in 3 files changed: 100 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/29490.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29490/head:pull/29490
PR: https://git.openjdk.org/jdk/pull/29490
More information about the security-dev
mailing list