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

changeset 1521
71f35e4b93a5
parent 1513
cf84b07a82db
child 1570
f91144b7da75
child 1581
4ff468de829d
equal deleted inserted replaced
1520:5c956be64b9e 1521:71f35e4b93a5
1664 bad constant pool tag: {0} at {1} 1664 bad constant pool tag: {0} at {1}
1665 1665
1666 compiler.misc.bad.signature=\ 1666 compiler.misc.bad.signature=\
1667 bad signature: {0} 1667 bad signature: {0}
1668 1668
1669 compiler.misc.bad.type.annotation.value=\
1670 bad type annotation target type value: {0}
1671
1669 compiler.misc.class.file.wrong.class=\ 1672 compiler.misc.class.file.wrong.class=\
1670 class file contains wrong class: {0} 1673 class file contains wrong class: {0}
1671 1674
1672 compiler.misc.class.file.not.found=\ 1675 compiler.misc.class.file.not.found=\
1673 class file for {0} not found 1676 class file for {0} not found
2147 2150
2148 compiler.err.assert.as.identifier=\ 2151 compiler.err.assert.as.identifier=\
2149 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\ 2152 as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
2150 (use -source 1.3 or lower to use ''assert'' as an identifier) 2153 (use -source 1.3 or lower to use ''assert'' as an identifier)
2151 2154
2155 # TODO 308: make a better error message
2156 compiler.err.this.as.identifier=\
2157 as of release 8, ''this'' is allowed as the parameter name for the receiver type only, which has to be the first parameter
2158
2159 # TODO 308: make a better error message
2160 compiler.err.cant.annotate.static.class=\
2161 enclosing static nested class cannot be annotated
2162 # TODO 308: make a better error message
2163 compiler.err.cant.annotate.nested.type=\
2164 nested type cannot be annotated
2165
2166 compiler.err.incorrect.receiver.type=\
2167 the receiver type does not match the enclosing class type
2168
2169 compiler.err.no.annotations.on.dot.class=\
2170 no annotations are allowed in the type of a class literal
2171
2152 # 0: string 2172 # 0: string
2153 compiler.err.generics.not.supported.in.source=\ 2173 compiler.err.generics.not.supported.in.source=\
2154 generics are not supported in -source {0}\n\ 2174 generics are not supported in -source {0}\n\
2155 (use -source 5 or higher to enable generics) 2175 (use -source 5 or higher to enable generics)
2156 2176
2162 # 0: string 2182 # 0: string
2163 compiler.err.annotations.not.supported.in.source=\ 2183 compiler.err.annotations.not.supported.in.source=\
2164 annotations are not supported in -source {0}\n\ 2184 annotations are not supported in -source {0}\n\
2165 (use -source 5 or higher to enable annotations) 2185 (use -source 5 or higher to enable annotations)
2166 2186
2167 #308 compiler.err.type.annotations.not.supported.in.source=\ 2187 # 0: string
2168 #308 type annotations are not supported in -source {0}\n\ 2188 compiler.err.type.annotations.not.supported.in.source=\
2169 #308 (use -source 7 or higher to enable type annotations) 2189 type annotations are not supported in -source {0}\n\
2190 (use -source 8 or higher to enable type annotations)
2170 2191
2171 # 0: string 2192 # 0: string
2172 compiler.err.foreach.not.supported.in.source=\ 2193 compiler.err.foreach.not.supported.in.source=\
2173 for-each loops are not supported in -source {0}\n\ 2194 for-each loops are not supported in -source {0}\n\
2174 (use -source 5 or higher to enable for-each loops) 2195 (use -source 5 or higher to enable for-each loops)

mercurial