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

Naoto Sato naoto at openjdk.org
Mon Dec 5 19:53:03 UTC 2022


On Sun, 4 Dec 2022 17:09:15 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Changed the expected behavior when the SecurityManager is enabled
>
> src/java.base/share/classes/java/io/Console.java line 627:
> 
>> 625:         });
>> 626:     }
>> 627:     private static Console cons;
> 
> The initialization of cons is replaced in this PR so maybe we can make it final at the same time.

Changed it to final

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

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


More information about the security-dev mailing list