288:d402db1005ad | 289:84061bd68019 |
---|---|
25 * @test | 25 * @test |
26 * @bug 4901268 | 26 * @bug 4901268 |
27 * @summary JSR175 (5): annotations must be "constants" | 27 * @summary JSR175 (5): annotations must be "constants" |
28 * @author gafter | 28 * @author gafter |
29 * | 29 * |
30 * @compile/fail -source 1.5 Constant.java | 30 * @compile/fail Constant.java |
31 */ | 31 */ |
32 | 32 |
33 package test.tools.javac.annotation.Constant; | 33 package test.tools.javac.annotation.Constant; |
34 | 34 |
35 @T(a = X.x) | 35 @T(a = X.x) |