On Mon, 22 Sep 2025 20:30:23 GMT, Chen Liang <[email protected]> wrote:

> Some type parameter declaration signatures in class and method generic 
> signatures, such as `<T:R:>`, are valid per JVMS but are not accepted by 
> either the ClassFile or the legacy core reflection parser. (Javac doesn't 
> generate these because it always generates an Object upper bound) They can be 
> constructed by the ClassFile API models. So it makes sense to support their 
> parsing as supported by JVMS and our API model.

This pull request has now been integrated.

Changeset: 1cd186c7
Author:    Chen Liang <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/1cd186c7f7ef572b599228acc3c87281b0c3bdf4
Stats:     31 lines in 2 files changed: 28 ins; 0 del; 3 mod

8368331: ClassFile Signature parsing fails for type parameter with no supertype

Reviewed-by: asotona

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

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

Reply via email to