RFR: 8298416: Console should be declared `sealed` [v3]
Naoto Sato
naoto at openjdk.org
Wed Dec 14 17:35:46 UTC 2022
> `Console` class now has a couple of internal subclasses within `java.io` package. It should be `sealed` and subclasses be declared in the `permits` clause. The implementation resided in `Console` class is separated into `ConsoleImpl` class.
Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
Moved echo() to ConsoleImpl, clean-ups
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11615/files
- new: https://git.openjdk.org/jdk/pull/11615/files/a21798ff..93945d6f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11615&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11615&range=01-02
Stats: 33 lines in 3 files changed: 14 ins; 11 del; 8 mod
Patch: https://git.openjdk.org/jdk/pull/11615.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11615/head:pull/11615
PR: https://git.openjdk.org/jdk/pull/11615
More information about the core-libs-dev
mailing list