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

changeset 1759
05ec778794d0
parent 1755
ddb4a2bfcd82
child 1817
3582b62dccb2
equal deleted inserted replaced
1758:bcd927639039 1759:05ec778794d0
225 compiler.misc.not.an.intf.component=\ 225 compiler.misc.not.an.intf.component=\
226 component type {0} is not an interface 226 component type {0} is not an interface
227 227
228 # 0: symbol kind, 1: message segment 228 # 0: symbol kind, 1: message segment
229 compiler.err.invalid.mref=\ 229 compiler.err.invalid.mref=\
230 invalid {0} reference; {1} 230 invalid {0} reference\n\
231 {1}
231 232
232 # 0: symbol kind, 1: message segment 233 # 0: symbol kind, 1: message segment
233 compiler.misc.invalid.mref=\ 234 compiler.misc.invalid.mref=\
234 invalid {0} reference; {1} 235 invalid {0} reference\n\
236 {1}
235 237
236 compiler.misc.static.mref.with.targs=\ 238 compiler.misc.static.mref.with.targs=\
237 parameterized qualifier on static method reference 239 parameterized qualifier on static method reference
238 240
239 compiler.misc.static.bound.mref=\ 241 compiler.misc.static.bound.mref=\
712 second operand: {0}\n\ 714 second operand: {0}\n\
713 third operand : {1} 715 third operand : {1}
714 716
715 # 0: message segment 717 # 0: message segment
716 compiler.misc.incompatible.type.in.conditional=\ 718 compiler.misc.incompatible.type.in.conditional=\
717 bad type in conditional expression; {0} 719 bad type in conditional expression\n\
720 {0}
718 721
719 compiler.misc.conditional.target.cant.be.void=\ 722 compiler.misc.conditional.target.cant.be.void=\
720 target-type for conditional expression cannot be void 723 target-type for conditional expression cannot be void
721 724
722 # 0: type 725 # 0: type
741 incompatible parameter types in lambda expression 744 incompatible parameter types in lambda expression
742 745
743 compiler.misc.incompatible.arg.types.in.mref=\ 746 compiler.misc.incompatible.arg.types.in.mref=\
744 incompatible parameter types in method reference 747 incompatible parameter types in method reference
745 748
746 # 0: list of type 749 # 0: list of type, 1: message segment
747 compiler.misc.bad.arg.types.in.lambda=\ 750 compiler.misc.bad.arg.types.in.lambda=\
748 cannot type-check lambda expression with inferred parameter types\n\ 751 cannot type-check lambda expression with inferred parameter types\n\
749 inferred types: {0} 752 inferred types: {0}
750 753
751 compiler.err.new.not.allowed.in.annotation=\ 754 compiler.err.new.not.allowed.in.annotation=\
1151 1154
1152 ##### 1155 #####
1153 1156
1154 ## The following string will appear before all messages keyed as: 1157 ## The following string will appear before all messages keyed as:
1155 ## "compiler.note". 1158 ## "compiler.note".
1159
1160 compiler.note.compressed.diags=\
1161 Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1156 1162
1157 compiler.note.potential.lambda.found=\ 1163 compiler.note.potential.lambda.found=\
1158 This anonymous inner class creation can be turned into a lambda expression. 1164 This anonymous inner class creation can be turned into a lambda expression.
1159 1165
1160 compiler.note.note=\ 1166 compiler.note.note=\
1740 1746
1741 # 0: message segment 1747 # 0: message segment
1742 compiler.err.prob.found.req=\ 1748 compiler.err.prob.found.req=\
1743 incompatible types: {0} 1749 incompatible types: {0}
1744 1750
1751 # 0: message segment
1752 compiler.misc.prob.found.req=\
1753 incompatible types: {0}
1754
1745 # 0: message segment, 1: type, 2: type 1755 # 0: message segment, 1: type, 2: type
1746 compiler.warn.prob.found.req=\ 1756 compiler.warn.prob.found.req=\
1747 {0}\n\ 1757 {0}\n\
1748 required: {2}\n\ 1758 required: {2}\n\
1749 found: {1} 1759 found: {1}

mercurial