[jdk25u-dev] RFR: 8366261: Provide utility methods for sun.security.util.Password

Martin Doerr mdoerr at openjdk.org
Tue Jan 27 23:35:24 UTC 2026


On Mon, 26 Jan 2026 07:00:44 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 25.0.3-oracle.
> 
> Change applies clean, but needs adaptions to compile, see extra commit.
> 
> 25 has not static properties for the encodings. So I just omit that.
> 
> 25 lacks https://bugs.openjdk.org/browse/JDK-8361972: "Clarify the condition of System.console() about standard input/output". Therefore we need a meaningful implementation of isTerminal().

I think your adaptations make sense.

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

Marked as reviewed by mdoerr (Reviewer).

PR Review: https://git.openjdk.org/jdk25u-dev/pull/178#pullrequestreview-3713951195


More information about the jdk-updates-dev mailing list