On Mon, 20 Jun 2022 18:28:36 GMT, Сергей Цыпанов <[email protected]> wrote:
> Shouldn't we use `Reference.refersTo()` instead of `Reference.get() == smth` > in lines 428 and 501? Hi Sergey, we could, and I'll do it for consistency. Though in those two cases it doesn't really matter since the facade referent is not supposed to be null (it can't since there still exist strong references), so keeping the reference alive longer than it should is not a concern there. ------------- PR: https://git.openjdk.org/jdk/pull/9217
