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).

lgtm

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

Marked as reviewed by vromero (Committer).

PR Review: 
https://git.openjdk.org/valhalla/pull/2510#pullrequestreview-4427912590

Reply via email to