Integrated: 8319463: ClassSignature should have superclass and superinterfaces as ClassTypeSig

Chen Liang liach at openjdk.org
Wed Feb 7 07:56:58 UTC 2024


On Mon, 6 Nov 2023 06:41:22 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.

This pull request has now been integrated.

Changeset: 3bffe223
Author:    Chen Liang <liach at openjdk.org>
Committer: Adam Sotona <asotona at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3bffe223a34e8077cb1ce11f64fc34fcb0751ac7
Stats:     203 lines in 6 files changed: 122 ins; 30 del; 51 mod

8319463: ClassSignature should have superclass and superinterfaces as ClassTypeSig

Reviewed-by: asotona

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

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


More information about the core-libs-dev mailing list