RFR: 8298416: Console should be declared `sealed` [v5]

Naoto Sato naoto at openjdk.org
Thu Dec 15 18:04:34 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:

  Removed @sealedGraph tag

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11615/files
  - new: https://git.openjdk.org/jdk/pull/11615/files/f2b2335b..c6d00a41

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11615&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11615&range=03-04

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 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