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

Joe Darcy darcy at openjdk.org
Tue Jan 9 19:37:54 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:

  Update spec; test sealed class structures.

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

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

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

  Stats: 52 lines in 2 files changed: 46 ins; 0 del; 6 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