Integrated: 8368331: ClassFile Signature parsing fails for type parameter with no supertype
Chen Liang
liach at openjdk.org
Wed Sep 24 13:17:27 UTC 2025
On Mon, 22 Sep 2025 20:30:23 GMT, Chen Liang <liach at openjdk.org> 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 <liach at openjdk.org>
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
More information about the core-libs-dev
mailing list