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

Chen Liang liach at openjdk.org
Fri Jan 5 23:06:30 UTC 2024


> 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 pull request now contains one commit:

  8319463: ClassSignature should have superclass and superinterfaces as ClassTypeSig

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

Changes: https://git.openjdk.org/jdk/pull/16514/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16514&range=03
  Stats: 203 lines in 6 files changed: 122 ins; 30 del; 51 mod
  Patch: https://git.openjdk.org/jdk/pull/16514.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16514/head:pull/16514

PR: https://git.openjdk.org/jdk/pull/16514


More information about the core-libs-dev mailing list