On Thu, 1 Dec 2022 15:49:30 GMT, Weijun Wang <[email protected]> wrote:
>> 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...
I can still see the password on screen. Here `in` is a
`jdk.jshell.execution.Util` so the updated check on line 58 above failed.
-------------
PR: https://git.openjdk.org/jdk/pull/11421