Integrated: JDK-8325255 jdk.internal.util.ReferencedKeySet::add using wrong test
Jim Laskey
jlaskey at openjdk.org
Wed Mar 6 12:03:58 UTC 2024
On Tue, 6 Feb 2024 12:52:15 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:
> Currently, add is returning intern(e) == null which will always be false. The correct test is intern(e) == e , that is, true when element is newly added.
This pull request has now been integrated.
Changeset: a7461de2
Author: Jim Laskey <jlaskey at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a7461de231da20ed78a7c6ad8275f1bafbfa556c
Stats: 33 lines in 3 files changed: 32 ins; 0 del; 1 mod
8325255: jdk.internal.util.ReferencedKeySet::add using wrong test
Reviewed-by: rriggs, liach
-------------
PR: https://git.openjdk.org/jdk/pull/17732
More information about the core-libs-dev
mailing list