RFR: 8368692: Restrict Password::readPassword from reading from System.in [v3]
Weijun Wang
weijun at openjdk.org
Fri Jan 30 13:53:56 UTC 2026
> A new security/system property added to determine whether Java can read password from `System.in` if a console is not available.
Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
more descriptive exception message
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29490/files
- new: https://git.openjdk.org/jdk/pull/29490/files/f01166a8..9e8dc773
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29490&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29490&range=01-02
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 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