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

Roger Riggs rriggs at openjdk.org
Tue Jan 9 20:05:25 UTC 2024


On Tue, 9 Jan 2024 19:37:54 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> 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.

The updates to add non-sealed look fine.
The CSR needs an update to the Solution section to mention non-sealed.

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

Marked as reviewed by rriggs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17239#pullrequestreview-1811897603


More information about the core-libs-dev mailing list