JDK-8366261 : Provide utility methods for sun.security.util.Password
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2025-08-27
  • Updated: 2025-10-23
  • Resolved: 2025-09-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 26
26 b15Fixed
Related Reports
Blocks :  
Description
The `s.s.u.Password` class offers a terminal for password input. It allows password input even when its standard output is redirected, which effectively rules out the use of `System.console()`. It would be desirable for `Password` to have a terminal using the "built-in" `Console` in such a case.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk25u/pull/332 Date: 2025-10-22 08:59:50 +0000
22-10-2025

Changeset: a12e9fce Branch: master Author: Naoto Sato <naoto@openjdk.org> Date: 2025-09-09 19:37:57 +0000 URL: https://git.openjdk.org/jdk/commit/a12e9fcebda1d7b75cb892e7920333d73fb5de9c
09-09-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26973 Date: 2025-08-27 22:53:28 +0000
27-08-2025