< prev index next >

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

Print this page




1118 
1119 compiler.err.string.const.req=\
1120     constant string expression required
1121 
1122 # 0: symbol, 1: fragment
1123 compiler.err.cannot.generate.class=\
1124     error while generating class {0}\n\
1125     ({1})
1126 
1127 # 0: symbol, 1: symbol
1128 compiler.misc.synthetic.name.conflict=\
1129     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
1130 
1131 # 0: symbol, 1: type
1132 compiler.misc.illegal.signature=\
1133     illegal signature attribute for type {1}
1134 
1135 compiler.err.throws.not.allowed.in.intf.annotation=\
1136     throws clause not allowed in @interface members
1137 
1138 compiler.err.try.without.catch.or.finally=\
1139     ''try'' without ''catch'' or ''finally''
1140 
1141 compiler.err.try.without.catch.finally.or.resource.decls=\
1142     ''try'' without ''catch'', ''finally'' or resource declarations
1143 
1144 # 0: symbol
1145 compiler.err.type.doesnt.take.params=\
1146     type {0} does not take parameters
1147 
1148 compiler.err.type.var.cant.be.deref=\
1149     cannot select from a type variable
1150 
1151 compiler.err.type.var.may.not.be.followed.by.other.bounds=\
1152     a type variable may not be followed by other bounds
1153 
1154 compiler.err.type.var.more.than.once=\
1155     type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
1156 
1157 compiler.err.type.var.more.than.once.in.result=\
1158     type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
1159 
1160 # 0: type, 1: type, 2: fragment


1703 compiler.warn.has.been.deprecated.for.removal.module=\
1704     module {0} has been deprecated and marked for removal
1705 
1706 # 0: symbol
1707 compiler.warn.sun.proprietary=\
1708     {0} is internal proprietary API and may be removed in a future release
1709 
1710 compiler.warn.illegal.char.for.encoding=\
1711     unmappable character for encoding {0}
1712 
1713 # 0: symbol
1714 compiler.warn.improper.SVUID=\
1715     serialVersionUID must be declared static final in class {0}
1716 
1717 # 0: type, 1: type
1718 compiler.warn.inexact.non-varargs.call=\
1719     non-varargs call of varargs method with inexact argument type for last parameter;\n\
1720     cast to {0} for a varargs call\n\
1721     cast to {1} for a non-varargs call and to suppress this warning
1722 
1723 # 0: target, 1: target
1724 compiler.err.bad.target.sigpoly.call=\
1725     polymorphic signature calls are not supported in -target {0}\n\
1726     (use -target {1} or higher to enable polymorphic signature calls)
1727 
1728 # 0: list of type
1729 compiler.warn.unreachable.catch=\
1730     unreachable catch clause\n\
1731     thrown type {0} has already been caught
1732 
1733 # 0: list of type
1734 compiler.warn.unreachable.catch.1=\
1735     unreachable catch clause\n\
1736     thrown types {0} have already been caught
1737 
1738 # 0: symbol
1739 compiler.warn.long.SVUID=\
1740     serialVersionUID must be of type long in class {0}
1741 
1742 # 0: symbol
1743 compiler.warn.missing.SVUID=\
1744     serializable class {0} has no definition of serialVersionUID
1745 
1746 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
1747 compiler.warn.potentially.ambiguous.overload=\


2723 
2724 # 0: message segment (feature)
2725 compiler.warn.preview.feature.use=\
2726    {0} is a preview feature and may be removed in a future release.
2727 
2728 # 0: message segment (feature)
2729 compiler.warn.preview.feature.use.plural=\
2730    {0} are a preview feature and may be removed in a future release.
2731 
2732 # 0: file object (classfile), 1: string (expected version)
2733 compiler.warn.preview.feature.use.classfile=\
2734    classfile for {0} uses preview features of Java SE {1}.
2735 
2736 
2737 compiler.misc.feature.modules=\
2738     modules
2739 
2740 compiler.misc.feature.diamond.and.anon.class=\
2741     ''<>'' with anonymous inner classes
2742 
2743 compiler.misc.feature.binary.lit=\
2744     binary literals
2745 
2746 compiler.misc.feature.underscore.lit=\
2747     underscores in literals
2748 
2749 compiler.misc.feature.try.with.resources=\
2750     try-with-resources
2751 
2752 compiler.misc.feature.var.in.try.with.resources=\
2753     variables in try-with-resources
2754 
2755 compiler.misc.feature.type.annotations=\
2756     type annotations
2757 
2758 compiler.misc.feature.annotations.after.type.params=\
2759     annotations after method type parameters
2760 
2761 compiler.misc.feature.repeatable.annotations=\
2762     repeated annotations
2763 
2764 compiler.misc.feature.diamond=\
2765     diamond operator
2766 
2767 compiler.misc.feature.multicatch=\
2768     multi-catch statements
2769 
2770 compiler.misc.feature.string.switch=\
2771     strings in switch
2772 
2773 compiler.misc.feature.lambda=\
2774     lambda expressions
2775 
2776 compiler.misc.feature.method.references=\
2777     method references
2778 
2779 compiler.misc.feature.default.methods=\
2780     default methods
2781 
2782 compiler.misc.feature.intersection.types.in.cast=\
2783     intersection types
2784 
2785 compiler.misc.feature.static.intf.methods=\
2786     static interface methods
2787 
2788 compiler.misc.feature.static.intf.method.invoke=\
2789     static interface method invocations
2790 
2791 compiler.misc.feature.private.intf.methods=\




1118 
1119 compiler.err.string.const.req=\
1120     constant string expression required
1121 
1122 # 0: symbol, 1: fragment
1123 compiler.err.cannot.generate.class=\
1124     error while generating class {0}\n\
1125     ({1})
1126 
1127 # 0: symbol, 1: symbol
1128 compiler.misc.synthetic.name.conflict=\
1129     the symbol {0} conflicts with a compiler-synthesized symbol in {1}
1130 
1131 # 0: symbol, 1: type
1132 compiler.misc.illegal.signature=\
1133     illegal signature attribute for type {1}
1134 
1135 compiler.err.throws.not.allowed.in.intf.annotation=\
1136     throws clause not allowed in @interface members
1137 



1138 compiler.err.try.without.catch.finally.or.resource.decls=\
1139     ''try'' without ''catch'', ''finally'' or resource declarations
1140 
1141 # 0: symbol
1142 compiler.err.type.doesnt.take.params=\
1143     type {0} does not take parameters
1144 
1145 compiler.err.type.var.cant.be.deref=\
1146     cannot select from a type variable
1147 
1148 compiler.err.type.var.may.not.be.followed.by.other.bounds=\
1149     a type variable may not be followed by other bounds
1150 
1151 compiler.err.type.var.more.than.once=\
1152     type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
1153 
1154 compiler.err.type.var.more.than.once.in.result=\
1155     type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
1156 
1157 # 0: type, 1: type, 2: fragment


1700 compiler.warn.has.been.deprecated.for.removal.module=\
1701     module {0} has been deprecated and marked for removal
1702 
1703 # 0: symbol
1704 compiler.warn.sun.proprietary=\
1705     {0} is internal proprietary API and may be removed in a future release
1706 
1707 compiler.warn.illegal.char.for.encoding=\
1708     unmappable character for encoding {0}
1709 
1710 # 0: symbol
1711 compiler.warn.improper.SVUID=\
1712     serialVersionUID must be declared static final in class {0}
1713 
1714 # 0: type, 1: type
1715 compiler.warn.inexact.non-varargs.call=\
1716     non-varargs call of varargs method with inexact argument type for last parameter;\n\
1717     cast to {0} for a varargs call\n\
1718     cast to {1} for a non-varargs call and to suppress this warning
1719 





1720 # 0: list of type
1721 compiler.warn.unreachable.catch=\
1722     unreachable catch clause\n\
1723     thrown type {0} has already been caught
1724 
1725 # 0: list of type
1726 compiler.warn.unreachable.catch.1=\
1727     unreachable catch clause\n\
1728     thrown types {0} have already been caught
1729 
1730 # 0: symbol
1731 compiler.warn.long.SVUID=\
1732     serialVersionUID must be of type long in class {0}
1733 
1734 # 0: symbol
1735 compiler.warn.missing.SVUID=\
1736     serializable class {0} has no definition of serialVersionUID
1737 
1738 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
1739 compiler.warn.potentially.ambiguous.overload=\


2715 
2716 # 0: message segment (feature)
2717 compiler.warn.preview.feature.use=\
2718    {0} is a preview feature and may be removed in a future release.
2719 
2720 # 0: message segment (feature)
2721 compiler.warn.preview.feature.use.plural=\
2722    {0} are a preview feature and may be removed in a future release.
2723 
2724 # 0: file object (classfile), 1: string (expected version)
2725 compiler.warn.preview.feature.use.classfile=\
2726    classfile for {0} uses preview features of Java SE {1}.
2727 
2728 
2729 compiler.misc.feature.modules=\
2730     modules
2731 
2732 compiler.misc.feature.diamond.and.anon.class=\
2733     ''<>'' with anonymous inner classes
2734 









2735 compiler.misc.feature.var.in.try.with.resources=\
2736     variables in try-with-resources
2737 
2738 compiler.misc.feature.type.annotations=\
2739     type annotations
2740 
2741 compiler.misc.feature.annotations.after.type.params=\
2742     annotations after method type parameters
2743 
2744 compiler.misc.feature.repeatable.annotations=\
2745     repeated annotations
2746 
2747 compiler.misc.feature.diamond=\
2748     diamond operator






2749 
2750 compiler.misc.feature.lambda=\
2751     lambda expressions
2752 
2753 compiler.misc.feature.method.references=\
2754     method references
2755 
2756 compiler.misc.feature.default.methods=\
2757     default methods
2758 
2759 compiler.misc.feature.intersection.types.in.cast=\
2760     intersection types
2761 
2762 compiler.misc.feature.static.intf.methods=\
2763     static interface methods
2764 
2765 compiler.misc.feature.static.intf.method.invoke=\
2766     static interface method invocations
2767 
2768 compiler.misc.feature.private.intf.methods=\


< prev index next >