On Mon, 8 Jun 2026 16:19:13 GMT, Chen Liang <[email protected]> wrote:

> The `types` array indices are not the overall field indices but are just 
> indices among reference fields. We need to fix this indice use; this surfaces 
> only when `--enable-preview` and causes failure in 
> `test/jdk/java/io/Serializable/checkModifiers/CheckModifiers.java`.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Looks right.

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

Marked as reviewed by alanb (no project role).

PR Review: 
https://git.openjdk.org/valhalla/pull/2525#pullrequestreview-4451545929

Reply via email to