On Fri, 15 Nov 2024 00:25:20 GMT, Paul Sandoz <psan...@openjdk.org> wrote:
> Annotate `Float16` with `jdk.internal.ValueBased`. This requires we export > the package `jdk.internal` in module `java.base` to module` > jdk.incubator.vector`. > > Doing so enables the compiler and runtime to report warnings about improper > attempts to synchronize on instances of `Float16`, as described in [JEP > 390](https://openjdk.org/jeps/390). This pull request has now been integrated. Changeset: 1866c0c2 Author: Paul Sandoz <psan...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/1866c0c2ce925ed5236532cb7e3bdc61a6cd18d5 Stats: 5 lines in 2 files changed: 2 ins; 1 del; 2 mod 8344259: Annotate Float16 with jdk.internal.ValueBased Reviewed-by: liach, darcy ------------- PR: https://git.openjdk.org/jdk/pull/22128