RFR: JDK-8325255 jdk.internal.util.ReferencedKeySet::add using wrong test [v4]
Chen Liang
liach at openjdk.org
Tue Mar 5 20:51:47 UTC 2024
On Tue, 5 Mar 2024 20:23:56 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.
>
> Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix ReferencedKeySet::add
Marked as reviewed by liach (Author).
-------------
PR Review: https://git.openjdk.org/jdk/pull/17732#pullrequestreview-1918108342
More information about the core-libs-dev
mailing list