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

Roger Riggs rriggs at openjdk.org
Wed Jan 10 18:39:25 UTC 2024


On Wed, 10 Jan 2024 18:16:05 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains eight additional commits since the last revision:
> 
>  - Adjust JLS quote and update copyright.
>  - Merge branch 'master' into JDK-8322878
>  - Expand test cases.
>  - Update spec; test sealed class structures.
>  - Improve regression test.
>  - Update non-sealed computation.
>  - Add non-seal'ing support.
>  - JDK-8322878: Including sealing information Class.toGenericString()

Marked as reviewed by rriggs (Reviewer).

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

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


More information about the core-libs-dev mailing list