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

Naoto Sato naoto at openjdk.org
Thu Dec 8 19:41:18 UTC 2022


On Tue, 6 Dec 2022 18:10:38 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> src/java.base/share/classes/java/io/Console.java line 99:
>> 
>>> 97:  */
>>> 98: 
>>> 99: public class Console implements Flushable
>> 
>> Should we perhaps `seal` this class and only `permit` `ProxyingConsole` to `extend` it?
>
> Right. Will address it after this PR.

Filed: https://bugs.openjdk.org/browse/JDK-8298416

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

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



More information about the security-dev mailing list