Integrated: 8368050: Validation missing in ClassFile signature factories

Chen Liang liach at openjdk.org
Tue Sep 23 12:51:20 UTC 2025


On Thu, 18 Sep 2025 23:59:44 GMT, Chen Liang <liach at openjdk.org> wrote:

> The Signature modeling in the ClassFile API is missing some validations required by JVMS, notably identifier character restrictions and void type restrictions. In addition, the model currently uses `ClassDesc` to indicate a simple name for an inner class signature, which is incorrect, and this patch proposes to deprecate that API for removal.

This pull request has now been integrated.

Changeset: f9b91a78
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f9b91a7836766189e1ccefabdd39d30ad440146b
Stats:     231 lines in 5 files changed: 199 ins; 4 del; 28 mod

8368050: Validation missing in ClassFile signature factories

Reviewed-by: asotona

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

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


More information about the core-libs-dev mailing list