Andrey Turbanov suggests in https://github.com/openjdk/jdk/pull/5157:
AfterJDK-8215510 (https://github.com/openjdk/jdk/commit/eed3a536c0) this condition is always false. Empty package name is handled separately.
Found by IntelliJ IDEA inspection.
After
Found by IntelliJ IDEA inspection.