On Thu, 4 Jun 2026 02:56:56 GMT, Chen Liang <[email protected]> wrote:
> `@ValueBased` is an annotation only meaningful for concrete value classes. > We should fix javac and remove the redundant annotation. > > Apparently javac is not reading the `MIGRATED_VALUE_CLASS` flag from class > files correctly. This is fine for most Java compilation jobs but affects the > microbenchmark building, which I think reads from the non-preview set of > classes. We can fix the reading of that flag to bypass microbenchmark > building issues. > > --------- > - [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: a7567f21 Author: Chen Liang <[email protected]> URL: https://git.openjdk.org/valhalla/commit/a7567f215d9483bbc3afd7249bd415902df2fe69 Stats: 11 lines in 3 files changed: 5 ins; 1 del; 5 mod 8385943: [lworld] Redundant ValueBased annotation on Record Reviewed-by: vromero ------------- PR: https://git.openjdk.org/valhalla/pull/2510
