test/tools/javac/annotations/neg/Constant.java

Print this page

        

*** 25,35 **** * @test * @bug 4901268 * @summary JSR175 (5): annotations must be "constants" * @author gafter * ! * @compile/fail -source 1.5 Constant.java */ package test.tools.javac.annotation.Constant; @T(a = X.x) --- 25,35 ---- * @test * @bug 4901268 * @summary JSR175 (5): annotations must be "constants" * @author gafter * ! * @compile/fail Constant.java */ package test.tools.javac.annotation.Constant; @T(a = X.x)