RFR: 8265418: Clean-up redundant null-checks of Class.getPackageName()

Claes Redestad redestad at openjdk.java.net
Mon Apr 19 14:39:36 UTC 2021

On Mon, 19 Apr 2021 14:05:31 GMT, Сергей Цыпанов <github.com+10835776+stsypanov at openjdk.org> wrote:

> As discussed in https://github.com/openjdk/jdk/pull/3464 we can clean-up null-checks remaining after [8142968](https://bugs.openjdk.java.net/browse/JDK-8142968) as Class.getPackageName() never returns null.

Looks good to me!


Marked as reviewed by redestad (Reviewer).

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

More information about the core-libs-dev mailing list