On Wed, 28 Oct 2020 15:56:48 GMT, Alan Bateman <al...@openjdk.org> wrote:

>> Kim Barrett has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   improve wording in refersTo javadoc
>
> The API looks good, thanks for getting this in.

Hello!

As an IDE developer, I'm thinking about IDE inspection that may suggest the new 
method. My idea is to suggest replacing every `ref.get() == obj` with 
`ref.refersTo(obj)`. Is this a good idea or there are cases when `ref.get() == 
obj` could be preferred? What do you think?

-------------

PR: https://git.openjdk.java.net/jdk/pull/498

Reply via email to