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

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Tue Dec 15 18:58:06 UTC 2020


On Sat, 5 Sep 2020 18:55:53 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

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

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


More information about the core-libs-dev mailing list