RFR: 8366261: Provide utility methods for sun.security.util.Password [v3]

Justin Lu jlu at openjdk.org
Thu Aug 28 16:35:43 UTC 2025


On Thu, 28 Aug 2025 16:00:21 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> Providing a couple of utility methods using the "built-in" `Console` implementation to support tools that require password input, such as `keytool`, ensuring they work even when std0ut is redirected.
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update test/jdk/java/io/Console/ModuleSelectionTest.java
>   
>   Co-authored-by: Francesco Andreuzzi <andreuzzi.francesco at gmail.com>

test/jdk/java/io/Console/ModuleSelectionTest.java line 26:

> 24: /*
> 25:  * @test
> 26:  * @bug 8295803 8299689 8351435 8361613

Should `8366261` be included?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26973#discussion_r2307928786


More information about the security-dev mailing list