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

Stuart Marks smarks at openjdk.java.net
Tue Dec 15 18:58:06 UTC 2020


On Sun, 4 Oct 2020 11:55:50 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:

>> 8258422: Cleanup unnecessary null comparison before instanceof check in java.base
>
> I believe this changes is useful and still actual:
> 1. improve code to make it easier to read.
> 2. performance should be improved a bit too

I’ll see if I can get somebody to take a look at this.

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

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


More information about the nio-dev mailing list