RFR: 8319463: ClassSignature should have superclass and superinterfaces as ClassTypeSig [v2]

Chen Liang liach at openjdk.org
Mon Jan 1 16:43:48 UTC 2024


On Mon, 4 Dec 2023 15:23:07 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Discovered while writing a test for #16513 that `ClassSignature.superclassSignature()` does not return a `ClassTypeSig`, yet [JVM Spec](https://docs.oracle.com/javase/specs/jvms/se21/html/jvms-4.html#jvms-4.7.9.1-4100) requires it to be one. This patch adds such a requirement to the accessors, factories, and the parsing logic.
>
> Chen Liang 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 two additional commits since the last revision:
> 
>  - Merge branch 'master' into feature/class-signature-elements
>  - 8319463: ClassSignature should have superclass and superinterfaces as ClassTypeSig

This has a conflict with #17058 (8321540) so I plan on fixing conflict after that one is integrated.

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

PR Comment: https://git.openjdk.org/jdk/pull/16514#issuecomment-1873394758


More information about the core-libs-dev mailing list