test/tools/javac/enum/EnumSwitch4.java

Print this page

        

*** 24,36 **** /* * @test * @bug 5006662 * @summary enum switch on null fails to throw NullPointerException * @author gafter - * - * @compile -source 1.5 EnumSwitch4.java - * @run main EnumSwitch4 */ public enum EnumSwitch4 { foo, bar, baz; --- 24,33 ----