langtools/test/tools/javac/annotations/neg/Constant.java
changeset 2985 f43e1241e7fb
parent 10 06bc494ca11e
child 5011 428dd17fdb26
equal deleted inserted replaced
2984:e15ff3a34054 2985:f43e1241e7fb
    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)