508 509 compiler.err.name.reserved.for.internal.use={0}为内部使用保留 510 511 compiler.err.native.meth.cant.have.body=本机方法不能带有主体 512 513 # 0: type, 1: type 514 compiler.err.neither.conditional.subtype=? 的不兼容类型: 两者都不是对方的子类型\n第二个操作数: {0}\n第三个操作数: {1} 515 516 # 0: message segment 517 compiler.misc.incompatible.type.in.conditional=条件表达式中的类型错误\n{0} 518 519 compiler.misc.conditional.target.cant.be.void=条件表达式的目标类型不能为空 520 521 # 0: type 522 compiler.misc.incompatible.ret.type.in.lambda=lambda 表达式中的返回类型错误\n{0} 523 524 # 0: type 525 compiler.misc.incompatible.ret.type.in.mref=方法引用中的返回类型错误\n{0} 526 527 # 0: list of type 528 compiler.err.incompatible.thrown.types.in.lambda=lambda 表达式中抛出的类型{0}不兼容 529 530 # 0: list of type 531 compiler.err.incompatible.thrown.types.in.mref=方法引用中抛出的类型{0}不兼容 532 533 compiler.misc.incompatible.arg.types.in.lambda=lambda 表达式中的参数类型不兼容 534 535 compiler.misc.incompatible.arg.types.in.mref=方法引用中的参数类型不兼容 536 537 # 0: list of type, 1: message segment 538 compiler.misc.bad.arg.types.in.lambda=无法使用推断参数类型对 lambda 表达式进行类型检查\n推断类型: {0} 539 540 compiler.err.new.not.allowed.in.annotation=注释中不允许使用 ''new'' 541 542 compiler.err.no.annotation.member={1}中没有注释成员{0} 543 544 compiler.err.no.encl.instance.of.type.in.scope=作用域中没有类型为{0}的封闭实例 545 546 compiler.err.no.intf.expected.here=此处不需要接口 547 548 compiler.err.no.match.entry={0}在{1}的条目中没有匹配项; 需要{2} 549 550 compiler.err.not.annotation.type={0}不是注释类型 625 # 0: unused 626 compiler.err.qualified.new.of.static.class=限定的新静态类 627 628 compiler.err.recursive.ctor.invocation=递归构造器调用 629 630 # 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol 631 compiler.err.ref.ambiguous=对{0}的引用不明确\n{3} 中的{1} {2} 和 {6} 中的{4} {5} 都匹配 632 633 # 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol 634 compiler.misc.ref.ambiguous=对{0}的引用不明确\n{3} 中的{1} {2} 和 {6} 中的{4} {5} 都匹配 635 636 compiler.err.repeated.annotation.target=注释目标重复 637 638 compiler.err.repeated.interface=接口重复 639 640 compiler.err.repeated.modifier=修饰符重复 641 642 # 0: symbol, 1: set of modifier, 2: symbol 643 compiler.err.report.access={0}可以在{2}中访问{1} 644 645 compiler.err.ret.outside.meth=返回外部方法 646 647 compiler.err.signature.doesnt.match.supertype=签名与{0}不匹配; 不兼容的超类型 648 649 compiler.err.signature.doesnt.match.intf=签名与{0}不匹配; 不兼容的接口 650 651 # 0: symbol, 1: symbol, 2: symbol 652 compiler.err.does.not.override.abstract={0}不是抽象的, 并且未覆盖{2}中的抽象方法{1} 653 654 compiler.err.source.cant.overwrite.input.file=写入源时出错; 无法覆盖输入文件{0} 655 656 compiler.err.stack.sim.error=内部错误: {0}中的堆栈 sim 错误 657 658 compiler.err.static.imp.only.classes.and.interfaces=仅从类和接口静态导入 659 660 compiler.err.string.const.req=需要常量字符串表达式 661 662 # 0: symbol, 1: symbol 663 compiler.err.synthetic.name.conflict=符号{0}与{1}中的 compiler-synthesized 符号冲突 664 665 # 0: symbol, 1: symbol 666 compiler.warn.synthetic.name.conflict=符号{0}与{1}中的 compiler-synthesized 符号冲突 667 668 compiler.err.throws.not.allowed.in.intf.annotation=@interface 成员中不允许使用 throws 子句 669 670 compiler.err.try.without.catch.or.finally=有 ''try'', 但是没有 ''catch'' 或 ''finally'' 739 # 0: type 740 compiler.err.unreported.exception.default.constructor=默认构造器中未报告的异常错误{0} 741 742 # 0: type, 1: name 743 compiler.err.unreported.exception.implicit.close=未报告的异常错误{0}; 必须对其进行捕获或声明以便抛出\n对资源变量 ''{1}'' 隐式调用 close() 时抛出了异常错误 744 745 compiler.err.unsupported.cross.fp.lit=该 VM 不支持十六进制浮点文字 746 747 compiler.err.void.not.allowed.here=此处不允许使用 ''空'' 类型 748 749 # 0: string 750 compiler.err.wrong.number.type.args=类型变量数目错误; 需要{0} 751 752 # 0: symbol 753 compiler.err.var.might.already.be.assigned=可能已分配变量{0} 754 755 # 0: symbol 756 compiler.err.var.might.not.have.been.initialized=可能尚未初始化变量{0} 757 758 # 0: symbol 759 compiler.err.var.might.be.assigned.in.loop=可能在 loop 中分配了变量{0} 760 761 # 0: symbol, 1: message segment 762 compiler.err.varargs.invalid.trustme.anno={0} 注释无效。{1} 763 764 # 0: type 765 compiler.misc.varargs.trustme.on.reifiable.varargs=Varargs 元素类型{0}可具体化。 766 767 # 0: symbol 768 compiler.misc.varargs.trustme.on.non.varargs.meth=方法 {0} 不是 varargs 方法。 769 770 # 0: symbol 771 compiler.misc.varargs.trustme.on.virtual.varargs=实例方法 {0} 不是最终的。 772 773 # 0: type, 1: symbol kind, 2: symbol 774 compiler.misc.inaccessible.varargs.type=形式 varargs 元素类型{0}无法从 {1} {2} 进行访问 775 776 # In the following string, {1} will always be the detail message from 777 # java.io.IOException. 778 # 0: symbol, 1: string 812 813 compiler.misc.source.unavailable=(源不可用) 814 815 compiler.misc.base.membership=您的所有基类都属于我们 816 817 # 0: string, 1: string, 2: boolean 818 compiler.misc.x.print.processor.info=处理程序{0}与{1}匹配并返回{2}。 819 820 # 0: number, 1: string, 2: set of symbol, 3: boolean 821 compiler.misc.x.print.rounds=循环 {0}:\n\t输入文件: {1}\n\t注释: {2}\n\t最后一个循环: {3} 822 823 ##### 824 825 ## The following string will appear before all messages keyed as: 826 ## "compiler.note". 827 828 compiler.note.compressed.diags=某些消息已经过简化; 请使用 -Xdiags:verbose 重新编译以获得完整输出 829 830 compiler.note.potential.lambda.found=可将此匿名内部类创建转换为 lambda 表达式。 831 832 compiler.note.note=注: 833 834 # 0: file name 835 compiler.note.deprecated.filename={0}使用或覆盖了已过时的 API。 836 837 compiler.note.deprecated.plural=某些输入文件使用或覆盖了已过时的 API。 838 839 # The following string may appear after one of the above deprecation 840 # messages. 841 compiler.note.deprecated.recompile=有关详细信息, 请使用 -Xlint:deprecation 重新编译。 842 843 # 0: file name 844 compiler.note.deprecated.filename.additional={0}还使用或覆盖了已过时的 API。 845 846 compiler.note.deprecated.plural.additional=某些输入文件还使用或覆盖了已过时的 API。 847 848 # 0: file name 849 compiler.note.unchecked.filename={0}使用了未经检查或不安全的操作。 850 851 compiler.note.unchecked.plural=某些输入文件使用了未经检查或不安全的操作。 998 # 0: file name 999 compiler.warn.path.element.not.found=错误的路径元素 "{0}": 没有这种文件或目录 1000 1001 compiler.warn.possible.fall-through.into.case=可能无法实现 case 1002 1003 # 0: type 1004 compiler.warn.redundant.cast=出现冗余的到{0}的转换 1005 1006 # 0: number 1007 compiler.warn.position.overflow=行 {0} 处的位置编码溢出 1008 1009 # 0: file name, 1: number, 2: number 1010 compiler.warn.big.major.version={0}: 主版本 {1} 比 {2} 新, 此编译器支持最新的主版本。\n建议升级此编译器。 1011 1012 # 0: symbol kind, 1: symbol 1013 compiler.warn.static.not.qualified.by.type=static {0}应由类型名称{1}而不是表达式限定 1014 1015 # 0: string 1016 compiler.warn.source.no.bootclasspath=未与 -source {0} 一起设置引导类路径 1017 1018 # 0: name, 1: number, 2: number, 3: number, 4: number 1019 compiler.warn.future.attr={1}.{2} 版类文件中引入的 {0} 属性在 {3}.{4} 版类文件中被忽略 1020 1021 # Warnings related to annotation processing 1022 # 0: name 1023 compiler.warn.proc.package.does.not.exist=程序包{0}不存在 1024 1025 # 0: name 1026 compiler.warn.proc.file.reopening=尝试多次为 ''{0}'' 创建文件 1027 1028 # 0: name 1029 compiler.warn.proc.type.already.exists=类型 ''{0}'' 的文件已经存在于源路径或类路径中 1030 1031 # 0: name 1032 compiler.warn.proc.type.recreate=尝试多次创建类型 ''{0}'' 的文件 1033 1034 # 0: string 1035 compiler.warn.proc.illegal.file.name=无法创建带有非法名称 ''{0}'' 的文件。 1036 1037 # 0: string, 1: string 1533 1534 ######################################## 1535 # Diagnostics for language feature changes 1536 ######################################## 1537 # 0: string 1538 compiler.err.unsupported.fp.lit=-source {0} 中不支持十六进制浮点文字\n(请使用 -source 5 或更高版本以启用十六进制浮点文字) 1539 1540 # 0: string 1541 compiler.err.unsupported.binary.lit=-source {0} 中不支持二进制文字\n(请使用 -source 7 或更高版本以启用二进制文字) 1542 1543 # 0: string 1544 compiler.err.unsupported.underscore.lit=-source {0} 中不支持文字中存在下划线\n(请使用 -source 7 或更高版本以允许文字中存在下划线) 1545 1546 # 0: string 1547 compiler.err.try.with.resources.not.supported.in.source=-source {0} 中不支持 try-with-resources\n(请使用 -source 7 或更高版本以启用 try-with-resources) 1548 1549 compiler.warn.enum.as.identifier=从发行版 5 开始, ''enum'' 为关键字, 而不用作标识符\n(请使用 -source 5 或更高版本以将 ''enum'' 用作关键字) 1550 1551 compiler.warn.assert.as.identifier=从发行版 1.4 开始, ''assert'' 是一个关键字, 但不能用作标识符\n(请使用 -source 1.4 或更高版本以将 ''assert'' 用作关键字) 1552 1553 compiler.warn.underscore.as.identifier=''_'' 已用作标识符\n(以后的发行版可能不支持将 ''_'' 用作标识符) 1554 1555 compiler.err.enum.as.identifier=从发行版 5 开始, ''enum'' 为关键字, 而不用作标识符\n(请使用 -source 1.4 或更低版本以将 ''enum'' 用作标识符) 1556 1557 compiler.err.assert.as.identifier=从发行版 1.4 开始, ''assert'' 是一个关键字, 但不能用作标识符\n(请使用 -source 1.3 或更低版本以将 ''assert'' 用作标识符) 1558 1559 # TODO 308: make a better error message 1560 compiler.err.this.as.identifier=从发行版 8 开始, ''this'' 只能作为接收方类型的参数名, 该参数必须为第一个参数 1561 1562 # 0: symbol 1563 compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=接收方参数不适用于顶层类的构造器 1564 1565 # TODO 308: make a better error message 1566 compiler.err.cant.annotate.static.class=无法对封闭静态嵌套类进行注释 1567 1568 # TODO 308: make a better error message 1569 # 0: unused 1570 compiler.err.cant.annotate.nested.type=无法对嵌套类型进行注释 1571 1572 # 0: type, 1: type 1573 compiler.err.incorrect.receiver.name=接收方名称与封闭类类型不匹配\n需要: {0}\n找到: {1} 1574 1575 # 0: type, 1: type 1576 compiler.err.incorrect.receiver.type=接收方类型与封闭类类型不匹配\n需要: {0}\n找到: {1} 1577 1578 # 0: type, 1: type 1579 compiler.err.incorrect.constructor.receiver.type=接收方类型与外部封闭类类型不匹配\n需要: {0}\n找到: {1} 1580 1581 # 0: type, 1: type 1582 compiler.err.incorrect.constructor.receiver.name=接收方名称与外部封闭类类型不匹配\n需要: {0}\n找到: {1} 1583 1584 compiler.err.no.annotations.on.dot.class=类文字类型中不允许使用任何注释 1585 1586 # 0: string 1587 compiler.err.generics.not.supported.in.source=-source {0} 中不支持泛型\n(请使用 -source 5 或更高版本以启用泛型) 1588 1589 # 0: string 1590 compiler.err.varargs.not.supported.in.source=-source {0} 中不支持 variable-arity 方法\n(请使用 -source 5 或更高版本以启用 variable-arity 方法) | 508 509 compiler.err.name.reserved.for.internal.use={0}为内部使用保留 510 511 compiler.err.native.meth.cant.have.body=本机方法不能带有主体 512 513 # 0: type, 1: type 514 compiler.err.neither.conditional.subtype=? 的不兼容类型: 两者都不是对方的子类型\n第二个操作数: {0}\n第三个操作数: {1} 515 516 # 0: message segment 517 compiler.misc.incompatible.type.in.conditional=条件表达式中的类型错误\n{0} 518 519 compiler.misc.conditional.target.cant.be.void=条件表达式的目标类型不能为空 520 521 # 0: type 522 compiler.misc.incompatible.ret.type.in.lambda=lambda 表达式中的返回类型错误\n{0} 523 524 # 0: type 525 compiler.misc.incompatible.ret.type.in.mref=方法引用中的返回类型错误\n{0} 526 527 # 0: list of type 528 compiler.err.incompatible.thrown.types.in.mref=方法引用中抛出的类型{0}不兼容 529 530 compiler.misc.incompatible.arg.types.in.lambda=lambda 表达式中的参数类型不兼容 531 532 compiler.misc.incompatible.arg.types.in.mref=方法引用中的参数类型不兼容 533 534 # 0: list of type, 1: message segment 535 compiler.misc.bad.arg.types.in.lambda=无法使用推断参数类型对 lambda 表达式进行类型检查\n推断类型: {0} 536 537 compiler.err.new.not.allowed.in.annotation=注释中不允许使用 ''new'' 538 539 compiler.err.no.annotation.member={1}中没有注释成员{0} 540 541 compiler.err.no.encl.instance.of.type.in.scope=作用域中没有类型为{0}的封闭实例 542 543 compiler.err.no.intf.expected.here=此处不需要接口 544 545 compiler.err.no.match.entry={0}在{1}的条目中没有匹配项; 需要{2} 546 547 compiler.err.not.annotation.type={0}不是注释类型 622 # 0: unused 623 compiler.err.qualified.new.of.static.class=限定的新静态类 624 625 compiler.err.recursive.ctor.invocation=递归构造器调用 626 627 # 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol 628 compiler.err.ref.ambiguous=对{0}的引用不明确\n{3} 中的{1} {2} 和 {6} 中的{4} {5} 都匹配 629 630 # 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol 631 compiler.misc.ref.ambiguous=对{0}的引用不明确\n{3} 中的{1} {2} 和 {6} 中的{4} {5} 都匹配 632 633 compiler.err.repeated.annotation.target=注释目标重复 634 635 compiler.err.repeated.interface=接口重复 636 637 compiler.err.repeated.modifier=修饰符重复 638 639 # 0: symbol, 1: set of modifier, 2: symbol 640 compiler.err.report.access={0}可以在{2}中访问{1} 641 642 # 0: symbol, 1: set of modifier, 2: symbol 643 compiler.misc.report.access={0}可以在{2}中访问{1} 644 645 compiler.err.ret.outside.meth=返回外部方法 646 647 compiler.err.signature.doesnt.match.supertype=签名与{0}不匹配; 不兼容的超类型 648 649 compiler.err.signature.doesnt.match.intf=签名与{0}不匹配; 不兼容的接口 650 651 # 0: number, 1: number 652 compiler.err.method.invoked.with.incorrect.number.arguments=使用不正确数量的参数调用了方法; 预期为 {0} 个, 找到 {1} 个 653 654 # 0: symbol, 1: symbol, 2: symbol 655 compiler.err.does.not.override.abstract={0}不是抽象的, 并且未覆盖{2}中的抽象方法{1} 656 657 compiler.err.source.cant.overwrite.input.file=写入源时出错; 无法覆盖输入文件{0} 658 659 compiler.err.stack.sim.error=内部错误: {0}中的堆栈 sim 错误 660 661 compiler.err.static.imp.only.classes.and.interfaces=仅从类和接口静态导入 662 663 compiler.err.string.const.req=需要常量字符串表达式 664 665 # 0: symbol, 1: symbol 666 compiler.err.synthetic.name.conflict=符号{0}与{1}中的 compiler-synthesized 符号冲突 667 668 # 0: symbol, 1: symbol 669 compiler.warn.synthetic.name.conflict=符号{0}与{1}中的 compiler-synthesized 符号冲突 670 671 compiler.err.throws.not.allowed.in.intf.annotation=@interface 成员中不允许使用 throws 子句 672 673 compiler.err.try.without.catch.or.finally=有 ''try'', 但是没有 ''catch'' 或 ''finally'' 742 # 0: type 743 compiler.err.unreported.exception.default.constructor=默认构造器中未报告的异常错误{0} 744 745 # 0: type, 1: name 746 compiler.err.unreported.exception.implicit.close=未报告的异常错误{0}; 必须对其进行捕获或声明以便抛出\n对资源变量 ''{1}'' 隐式调用 close() 时抛出了异常错误 747 748 compiler.err.unsupported.cross.fp.lit=该 VM 不支持十六进制浮点文字 749 750 compiler.err.void.not.allowed.here=此处不允许使用 ''空'' 类型 751 752 # 0: string 753 compiler.err.wrong.number.type.args=类型变量数目错误; 需要{0} 754 755 # 0: symbol 756 compiler.err.var.might.already.be.assigned=可能已分配变量{0} 757 758 # 0: symbol 759 compiler.err.var.might.not.have.been.initialized=可能尚未初始化变量{0} 760 761 # 0: symbol 762 compiler.err.var.not.initialized.in.default.constructor=变量 {0} 未在默认构造器中初始化 763 764 # 0: symbol 765 compiler.err.var.might.be.assigned.in.loop=可能在 loop 中分配了变量{0} 766 767 # 0: symbol, 1: message segment 768 compiler.err.varargs.invalid.trustme.anno={0} 注释无效。{1} 769 770 # 0: type 771 compiler.misc.varargs.trustme.on.reifiable.varargs=Varargs 元素类型{0}可具体化。 772 773 # 0: symbol 774 compiler.misc.varargs.trustme.on.non.varargs.meth=方法 {0} 不是 varargs 方法。 775 776 # 0: symbol 777 compiler.misc.varargs.trustme.on.virtual.varargs=实例方法 {0} 不是最终的。 778 779 # 0: type, 1: symbol kind, 2: symbol 780 compiler.misc.inaccessible.varargs.type=形式 varargs 元素类型{0}无法从 {1} {2} 进行访问 781 782 # In the following string, {1} will always be the detail message from 783 # java.io.IOException. 784 # 0: symbol, 1: string 818 819 compiler.misc.source.unavailable=(源不可用) 820 821 compiler.misc.base.membership=您的所有基类都属于我们 822 823 # 0: string, 1: string, 2: boolean 824 compiler.misc.x.print.processor.info=处理程序{0}与{1}匹配并返回{2}。 825 826 # 0: number, 1: string, 2: set of symbol, 3: boolean 827 compiler.misc.x.print.rounds=循环 {0}:\n\t输入文件: {1}\n\t注释: {2}\n\t最后一个循环: {3} 828 829 ##### 830 831 ## The following string will appear before all messages keyed as: 832 ## "compiler.note". 833 834 compiler.note.compressed.diags=某些消息已经过简化; 请使用 -Xdiags:verbose 重新编译以获得完整输出 835 836 compiler.note.potential.lambda.found=可将此匿名内部类创建转换为 lambda 表达式。 837 838 # 0: boolean, 1: symbol 839 compiler.note.lambda.stat=转换 lambda 表达式\n替代 metafactory = {0}\n合成方法 = {1} 840 841 # 0: boolean, 1: unused 842 compiler.note.mref.stat=转换方法引用\n替代 metafactory = {0}\n 843 # 0: boolean, 1: symbol 844 compiler.note.mref.stat.1=转换方法引用\n替代 metafactory = {0}\nbridge 方法 = {1} 845 846 compiler.note.note=注: 847 848 # 0: file name 849 compiler.note.deprecated.filename={0}使用或覆盖了已过时的 API。 850 851 compiler.note.deprecated.plural=某些输入文件使用或覆盖了已过时的 API。 852 853 # The following string may appear after one of the above deprecation 854 # messages. 855 compiler.note.deprecated.recompile=有关详细信息, 请使用 -Xlint:deprecation 重新编译。 856 857 # 0: file name 858 compiler.note.deprecated.filename.additional={0}还使用或覆盖了已过时的 API。 859 860 compiler.note.deprecated.plural.additional=某些输入文件还使用或覆盖了已过时的 API。 861 862 # 0: file name 863 compiler.note.unchecked.filename={0}使用了未经检查或不安全的操作。 864 865 compiler.note.unchecked.plural=某些输入文件使用了未经检查或不安全的操作。 1012 # 0: file name 1013 compiler.warn.path.element.not.found=错误的路径元素 "{0}": 没有这种文件或目录 1014 1015 compiler.warn.possible.fall-through.into.case=可能无法实现 case 1016 1017 # 0: type 1018 compiler.warn.redundant.cast=出现冗余的到{0}的转换 1019 1020 # 0: number 1021 compiler.warn.position.overflow=行 {0} 处的位置编码溢出 1022 1023 # 0: file name, 1: number, 2: number 1024 compiler.warn.big.major.version={0}: 主版本 {1} 比 {2} 新, 此编译器支持最新的主版本。\n建议升级此编译器。 1025 1026 # 0: symbol kind, 1: symbol 1027 compiler.warn.static.not.qualified.by.type=static {0}应由类型名称{1}而不是表达式限定 1028 1029 # 0: string 1030 compiler.warn.source.no.bootclasspath=未与 -source {0} 一起设置引导类路径 1031 1032 # 0: string 1033 compiler.warn.option.obsolete.source=源值{0}已过时, 将在未来所有发行版中删除 1034 1035 # 0: string 1036 compiler.warn.option.obsolete.target=目标值{0}已过时, 将在未来所有发行版中删除 1037 1038 compiler.warn.option.obsolete.suppression=要隐藏有关已过时选项的警告, 请使用 -Xlint:-options。 1039 1040 # 0: name, 1: number, 2: number, 3: number, 4: number 1041 compiler.warn.future.attr={1}.{2} 版类文件中引入的 {0} 属性在 {3}.{4} 版类文件中被忽略 1042 1043 # Warnings related to annotation processing 1044 # 0: name 1045 compiler.warn.proc.package.does.not.exist=程序包{0}不存在 1046 1047 # 0: name 1048 compiler.warn.proc.file.reopening=尝试多次为 ''{0}'' 创建文件 1049 1050 # 0: name 1051 compiler.warn.proc.type.already.exists=类型 ''{0}'' 的文件已经存在于源路径或类路径中 1052 1053 # 0: name 1054 compiler.warn.proc.type.recreate=尝试多次创建类型 ''{0}'' 的文件 1055 1056 # 0: string 1057 compiler.warn.proc.illegal.file.name=无法创建带有非法名称 ''{0}'' 的文件。 1058 1059 # 0: string, 1: string 1555 1556 ######################################## 1557 # Diagnostics for language feature changes 1558 ######################################## 1559 # 0: string 1560 compiler.err.unsupported.fp.lit=-source {0} 中不支持十六进制浮点文字\n(请使用 -source 5 或更高版本以启用十六进制浮点文字) 1561 1562 # 0: string 1563 compiler.err.unsupported.binary.lit=-source {0} 中不支持二进制文字\n(请使用 -source 7 或更高版本以启用二进制文字) 1564 1565 # 0: string 1566 compiler.err.unsupported.underscore.lit=-source {0} 中不支持文字中存在下划线\n(请使用 -source 7 或更高版本以允许文字中存在下划线) 1567 1568 # 0: string 1569 compiler.err.try.with.resources.not.supported.in.source=-source {0} 中不支持 try-with-resources\n(请使用 -source 7 或更高版本以启用 try-with-resources) 1570 1571 compiler.warn.enum.as.identifier=从发行版 5 开始, ''enum'' 为关键字, 而不用作标识符\n(请使用 -source 5 或更高版本以将 ''enum'' 用作关键字) 1572 1573 compiler.warn.assert.as.identifier=从发行版 1.4 开始, ''assert'' 是一个关键字, 但不能用作标识符\n(请使用 -source 1.4 或更高版本以将 ''assert'' 用作关键字) 1574 1575 compiler.warn.underscore.as.identifier=''_'' 用作标识符\n(Java SE 8 之后的发行版中可能不支持使用 ''_'' 作为标识符) 1576 1577 compiler.err.enum.as.identifier=从发行版 5 开始, ''enum'' 为关键字, 而不用作标识符\n(请使用 -source 1.4 或更低版本以将 ''enum'' 用作标识符) 1578 1579 compiler.err.assert.as.identifier=从发行版 1.4 开始, ''assert'' 是一个关键字, 但不能用作标识符\n(请使用 -source 1.3 或更低版本以将 ''assert'' 用作标识符) 1580 1581 # TODO 308: make a better error message 1582 compiler.err.this.as.identifier=从发行版 8 开始, ''this'' 只能作为接收方类型的参数名, 该参数必须为第一个参数 1583 1584 # 0: symbol 1585 compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=接收方参数不适用于顶层类的构造器 1586 1587 # TODO 308: make a better error message 1588 compiler.err.cant.annotate.static.class=无法对封闭静态嵌套类进行注释 1589 1590 # TODO 308: make a better error message 1591 # 0: unused 1592 compiler.err.cant.annotate.nested.type=无法注释用于静态嵌套类型的确定作用域结构 1593 1594 # 0: type, 1: type 1595 compiler.err.incorrect.receiver.name=接收方名称与封闭类类型不匹配\n需要: {0}\n找到: {1} 1596 1597 # 0: type, 1: type 1598 compiler.err.incorrect.receiver.type=接收方类型与封闭类类型不匹配\n需要: {0}\n找到: {1} 1599 1600 # 0: type, 1: type 1601 compiler.err.incorrect.constructor.receiver.type=接收方类型与外部封闭类类型不匹配\n需要: {0}\n找到: {1} 1602 1603 # 0: type, 1: type 1604 compiler.err.incorrect.constructor.receiver.name=接收方名称与外部封闭类类型不匹配\n需要: {0}\n找到: {1} 1605 1606 compiler.err.no.annotations.on.dot.class=类文字类型中不允许使用任何注释 1607 1608 # 0: string 1609 compiler.err.generics.not.supported.in.source=-source {0} 中不支持泛型\n(请使用 -source 5 或更高版本以启用泛型) 1610 1611 # 0: string 1612 compiler.err.varargs.not.supported.in.source=-source {0} 中不支持 variable-arity 方法\n(请使用 -source 5 或更高版本以启用 variable-arity 方法) |