git: openjdk/jdk17: 8270006: Switches with 'case null:' should be exhaustive

Jan Lahoda jlahoda at openjdk.java.net
Thu Jul 8 08:03:50 UTC 2021


Changeset: 4f707591
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2021-07-08 08:03:09 +0000
URL:       https://git.openjdk.java.net/jdk17/commit/4f707591754e5e7f747d1d0a47f78f49060771c2

8270006: Switches with 'case null:' should be exhaustive

Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
! test/langtools/tools/javac/patterns/SwitchErrors.java
! test/langtools/tools/javac/patterns/SwitchErrors.out



More information about the jdk-changes mailing list