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

changeset 1415
01c9d4161882
parent 1409
33abf479f202
child 1434
34d1ebaf4645
equal deleted inserted replaced
1414:843d3b191773 1415:01c9d4161882
168 168
169 # 0: symbol kind, 1: name, 2: list of type 169 # 0: symbol kind, 1: name, 2: list of type
170 compiler.misc.cant.apply.symbols=\ 170 compiler.misc.cant.apply.symbols=\
171 no suitable {0} found for {1}({2}) 171 no suitable {0} found for {1}({2})
172 172
173
174 # 0: type
175 compiler.err.cant.access.arg.type.in.functional.desc=\
176 cannot access parameter type {0} in target functional descriptor
177
178 # 0: type
179 compiler.err.cant.access.return.in.functional.desc=\
180 cannot access return type {0} in target functional descriptor
181
182 # 0: type
183 compiler.err.cant.access.thrown.in.functional.desc=\
184 cannot access thrown type {0} in target functional descriptor
185
186 # 0: symbol kind, 1: symbol 173 # 0: symbol kind, 1: symbol
187 compiler.misc.no.abstracts=\ 174 compiler.misc.no.abstracts=\
188 no abstract method found in {0} {1} 175 no abstract method found in {0} {1}
189 176
190 # 0: symbol kind, 1: symbol 177 # 0: symbol kind, 1: symbol
254 cannot inherit from final {0} 241 cannot inherit from final {0}
255 242
256 # 0: symbol 243 # 0: symbol
257 compiler.err.cant.ref.before.ctor.called=\ 244 compiler.err.cant.ref.before.ctor.called=\
258 cannot reference {0} before supertype constructor has been called 245 cannot reference {0} before supertype constructor has been called
259
260 compiler.err.cant.ret.val.from.meth.decl.void=\
261 cannot return a value from method whose result type is void
262 246
263 compiler.err.cant.select.static.class.from.param.type=\ 247 compiler.err.cant.select.static.class.from.param.type=\
264 cannot select a static class from a parameterized type 248 cannot select a static class from a parameterized type
265 249
266 # 0: symbol, 1: string, 2: string 250 # 0: symbol, 1: string, 2: string
659 missing return statement 643 missing return statement
660 644
661 compiler.misc.missing.ret.val=\ 645 compiler.misc.missing.ret.val=\
662 missing return value 646 missing return value
663 647
664 compiler.err.missing.ret.val=\ 648 compiler.misc.unexpected.ret.val=\
665 missing return value 649 unexpected return value
666 650
667 # 0: set of modifier 651 # 0: set of modifier
668 compiler.err.mod.not.allowed.here=\ 652 compiler.err.mod.not.allowed.here=\
669 modifier {0} not allowed here 653 modifier {0} not allowed here
670 654
705 third operand : {1} 689 third operand : {1}
706 690
707 # 0: message segment 691 # 0: message segment
708 compiler.misc.incompatible.type.in.conditional=\ 692 compiler.misc.incompatible.type.in.conditional=\
709 bad type in conditional expression; {0} 693 bad type in conditional expression; {0}
694
695 compiler.misc.conditional.target.cant.be.void=\
696 target-type for conditional expression cannot be void
710 697
711 # 0: type 698 # 0: type
712 compiler.misc.incompatible.ret.type.in.lambda=\ 699 compiler.misc.incompatible.ret.type.in.lambda=\
713 bad return type in lambda expression\n\ 700 bad return type in lambda expression\n\
714 {0} 701 {0}
958 bad type qualifier {0} in default super call\n\ 945 bad type qualifier {0} in default super call\n\
959 {1} 946 {1}
960 947
961 # 0: symbol, 1: type 948 # 0: symbol, 1: type
962 compiler.misc.overridden.default=\ 949 compiler.misc.overridden.default=\
963 method {0} is overridden in {2} 950 method {0} is overridden in {1}
964 951
965 # 0: symbol, 1: symbol 952 # 0: symbol, 1: symbol
966 compiler.misc.redundant.supertype=\ 953 compiler.misc.redundant.supertype=\
967 redundant interface {0} is extended by {1} 954 redundant interface {0} is extended by {1}
968 955

mercurial