[lworld] Integrated: 8336671: [lworld] Test java/lang/ref/ReferenceEnqueuePending.java fails when run with migrated classes

Roger Riggs rriggs at openjdk.org
Mon Jul 22 15:52:44 UTC 2024


On Thu, 18 Jul 2024 21:29:46 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> Integer is no longer a suitable Identity object, starting with --enable-preview in Valhalla.
> 
> Use a record instead of Integer to hold the number.
>  Integer is not an identity class and can't be used with WeakReference.

This pull request has now been integrated.

Changeset: ca99443a
Author:    Roger Riggs <rriggs at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/ca99443a289c26e4b34d31387f25f7e2ba4c7037
Stats:     38 lines in 1 file changed: 4 ins; 17 del; 17 mod

8336671: [lworld] Test java/lang/ref/ReferenceEnqueuePending.java fails when run with migrated classes

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

PR: https://git.openjdk.org/valhalla/pull/1171


More information about the valhalla-dev mailing list