RFR: 8273435: Remove redundant zero-length check in ClassDesc.of

Сергей Цыпанов github.com+10835776+stsypanov at openjdk.java.net
Tue Sep 7 14:21:56 UTC 2021


On Wed, 18 Aug 2021 07:28:57 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:

> After [JDK-8215510](https://bugs.openjdk.java.net/browse/JDK-8215510) (eed3a536c0) this condition is always `false`. Empty package name is handled separately.
> Found by IntelliJ inspection.

Marked as reviewed by stsypanov at github.com (no known OpenJDK username).

Hi @turbanoff the change looks good and reasonable, I've filed an issue for this: https://bugs.openjdk.java.net/browse/JDK-8273435, so you can integrate now

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

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


More information about the core-libs-dev mailing list