On Tue, 5 Mar 2024 20:23:56 GMT, Jim Laskey <jlas...@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 Should this be backported to **JDK 22**, as that was when `jdk.internal.util.ReferencedKeySet` was introduced? ------------- PR Comment: https://git.openjdk.org/jdk/pull/17732#issuecomment-1986789023