RFR: 8298971: Move Console implementation into jdk internal package
Jaikiran Pai
jpai at openjdk.org
Tue Dec 20 14:19:49 UTC 2022
On Mon, 19 Dec 2022 19:23:25 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> Moving the built-in implementation of `Console` from `java.io` package into `jdk.internal.io` package. It now implements `JdkConsole` interface and is accessed through `ProxyingConsole`.
src/java.base/share/classes/jdk/internal/io/JdkConsoleImpl.java line 179:
> 177: private Writer out;
> 178: private PrintWriter pw;
> 179: private Formatter formatter;
Hello Naoto, I think some of these can be made `final`.
-------------
PR: https://git.openjdk.org/jdk/pull/11729
More information about the core-libs-dev
mailing list