src/share/classes/com/sun/tools/javac/resources/compiler.properties

changeset 2134
b0c086cd4520
parent 2102
6dcf94e32a3a
child 2187
4788eb38cac5
     1.1 --- a/src/share/classes/com/sun/tools/javac/resources/compiler.properties	Tue Oct 15 22:15:35 2013 +0200
     1.2 +++ b/src/share/classes/com/sun/tools/javac/resources/compiler.properties	Tue Oct 15 15:57:13 2013 -0700
     1.3 @@ -2257,13 +2257,14 @@
     1.4      receiver parameter not applicable for constructor of top-level class
     1.5  
     1.6  # TODO 308: make a better error message
     1.7 -compiler.err.cant.annotate.static.class=\
     1.8 -    enclosing static nested class cannot be annotated
     1.9 +# 0: symbol
    1.10 +compiler.err.cant.type.annotate.scoping.1=\
    1.11 +    scoping construct cannot be annotated with type-use annotation: {0}
    1.12  
    1.13  # TODO 308: make a better error message
    1.14 -# 0: unused
    1.15 -compiler.err.cant.annotate.nested.type=\
    1.16 -    scoping construct for static nested type cannot be annotated
    1.17 +# 0: list of symbol
    1.18 +compiler.err.cant.type.annotate.scoping=\
    1.19 +    scoping construct cannot be annotated with type-use annotations: {0}
    1.20  
    1.21  # 0: type, 1: type
    1.22  compiler.err.incorrect.receiver.name=\

mercurial