Integrated: 8370976: Review the behavioral changes of core reflection descriptor parsing migration

Chen Liang liach at openjdk.org
Fri Nov 21 00:41:00 UTC 2025


On Fri, 31 Oct 2025 00:00:02 GMT, Chen Liang <liach at openjdk.org> wrote:

> There were a few other holes in the recent migration of BytecodeDescriptor, most notably:
> 
> 1. BytecodeDescriptor is missing checks for `.`, `[` characters, leading, trailing, consecutive `/`, or empty name.
> 2. EnclosingMethod is only validated by hotspot to carry either field or method type. We still need to check for field types
> 
> I have written up the behavioral changes in the CSR. In addition, I have added a few more tests to ensure the failure case behaviors of the migrated use sites.

This pull request has now been integrated.

Changeset: d887359b
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d887359b5a8bffedcbf1b3ca6f0eae13b7636add
Stats:     152 lines in 7 files changed: 115 ins; 15 del; 22 mod

8370976: Review the behavioral changes of core reflection descriptor parsing migration

Reviewed-by: rriggs, jvernee

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

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


More information about the core-libs-dev mailing list