RFR: JDK-8322878: Including sealing information Class.toGenericString() [v6]

Joe Darcy darcy at openjdk.org
Tue Jan 9 21:59:46 UTC 2024


> As recently discussed on core libs, sealed-ness information could be included in the Class.toGenericString() output, analagous to how "modifiers" that also correspond to JVM access flags are handled.
> 
> This is the initial spec, implementation, and test updated needed for that change. If there is consensus this is a reasonable direction, I'll create the CSR, etc.

Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:

  Expand test cases.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17239/files
  - new: https://git.openjdk.org/jdk/pull/17239/files/2d02d9b1..d5a451d0

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

  Stats: 78 lines in 1 file changed: 74 ins; 1 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/17239.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17239/head:pull/17239

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


More information about the core-libs-dev mailing list