test/tools/javac/enum/SynthValues.java

Print this page

        

*** 24,36 **** /* * @test * @bug 4984627 * @summary Enums: +VALUES field has no synthetic attribute * @author gafter - * - * @compile -source 1.5 SynthValues.java - * @run main SynthValues */ public enum SynthValues { red, blue, green; SynthValues[] $VALUES = null; // test for conflict with synth. --- 24,33 ----