RFR: 8295803: Console should be usable in jshell and other environments [v2]

Weijun Wang weijun at openjdk.org
Thu Dec 1 15:53:27 UTC 2022


On Thu, 1 Dec 2022 15:16:29 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Naoto Sato has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Adds a test
>>  - Removed JavaIOAccess.charset() which is no longer needed
>
> src/java.base/share/classes/sun/security/util/Password.java line 63:
> 
>> 61:                 // readPassword returns "" if you just press ENTER with the built-in Console,
>> 62:                 // to be compatible with old Password class, change to null
>> 63:                 if (consoleEntered == null || consoleEntered.length == 0) {
> 
> @wangweij Would you have cycles to build with this change to see that keytool is okay?

Sure. Trying out now...

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

PR: https://git.openjdk.org/jdk/pull/11421



More information about the security-dev mailing list