RFR: 8258422: Cleanup unnecessary null comparison before instanceof check in java.base [v4]

Chris Hegarty chegar at openjdk.java.net
Thu Dec 17 09:51:58 UTC 2020


On Wed, 16 Dec 2020 10:32:12 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:

>> 8258422: Cleanup unnecessary null comparison before instanceof check in java.base
>
> Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8258422: Cleanup unnecessary null comparison before instanceof check in java.base
>   take advantage of "flow scoping" to eliminate casts

Looks good to me.

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

Marked as reviewed by chegar (Reviewer).

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


More information about the nio-dev mailing list