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). This pull request has now been integrated. Changeset: 95bef162 Author: Chen Liang <[email protected]> URL: https://git.openjdk.org/valhalla/commit/95bef16235d88773081e16e2093c5c1adca82757 Stats: 5 lines in 1 file changed: 0 ins; 0 del; 5 mod 8386140: [lworld] FieldReflector using wrong Class argument Reviewed-by: alanb, dsimms ------------- PR: https://git.openjdk.org/valhalla/pull/2525
