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

Goetz Lindenmaier goetz at openjdk.org
Thu Jan 29 09:48:30 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().

This pull request has now been integrated.

Changeset: b0a52065
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/b0a520657d980f14b86afe6027dc0ebd34afef8f
Stats:     107 lines in 6 files changed: 81 ins; 0 del; 26 mod

8366261: Provide utility methods for sun.security.util.Password

Reviewed-by: mdoerr
Backport-of: a12e9fcebda1d7b75cb892e7920333d73fb5de9c

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

PR: https://git.openjdk.org/jdk25u-dev/pull/178


More information about the jdk-updates-dev mailing list