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

Joe Darcy darcy at openjdk.org
Mon Jan 8 22:33:51 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:

  Add non-seal'ing support.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17239/files
  - new: https://git.openjdk.org/jdk/pull/17239/files/81084835..7222d78d

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

  Stats: 42 lines in 2 files changed: 34 ins; 3 del; 5 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