[lworld] Integrated: 8336390: [lworld] jdk/internal/util/ReferencedKeyTest.java fails with --enable-preview
Roger Riggs
rriggs at openjdk.org
Wed Jul 24 13:50:46 UTC 2024
On Tue, 23 Jul 2024 19:13:25 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> ReferencedKeyTest uses Long to test the key maps.
> However, with --enable-preview Long is a value class and cannot be used with Weak or Soft references.
>
> Replace use of Long with String (an Identity class)
This pull request has now been integrated.
Changeset: b883585b
Author: Roger Riggs <rriggs at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/b883585b0be167b4da9bc4c31f73d8233d4f6e75
Stats: 46 lines in 2 files changed: 5 ins; 0 del; 41 mod
8336390: [lworld] jdk/internal/util/ReferencedKeyTest.java fails with --enable-preview
-------------
PR: https://git.openjdk.org/valhalla/pull/1177
More information about the valhalla-dev
mailing list