763 compiler.err.illegal.start.of.expr=\
764 illegal start of expression
765
766 compiler.err.illegal.start.of.stmt=\
767 illegal start of statement
768
769 compiler.err.illegal.start.of.type=\
770 illegal start of type
771
772 compiler.err.illegal.parenthesized.expression=\
773 illegal parenthesized expression
774
775 compiler.err.illegal.unicode.esc=\
776 illegal unicode escape
777
778 # 0: symbol
779 compiler.err.import.requires.canonical=\
780 import requires canonical name for {0}
781
782 compiler.err.improperly.formed.type.param.missing=\
783 improperly formed type, some parameters are missing
784
785 compiler.err.improperly.formed.type.inner.raw.param=\
786 improperly formed type, type arguments given on a raw type
787
788 # 0: type, 1: type
789 compiler.err.incomparable.types=\
790 incomparable types: {0} and {1}
791
792 # 0: string
793 compiler.err.int.number.too.large=\
794 integer number too large
795
796 compiler.err.intf.annotation.members.cant.have.params=\
797 elements in annotation interface declarations cannot declare formal parameters
798
799 # 0: symbol
800 compiler.err.intf.annotation.cant.have.type.params=\
801 annotation interface {0} cannot be generic
802
803 compiler.err.intf.annotation.members.cant.have.type.params=\
2104 an Externalizable class needs a public no-arg constructor
2105
2106 # lint: serial
2107 compiler.warn.non.serializable.instance.field=\
2108 non-transient instance field of a serializable class declared with a non-serializable type
2109
2110 # 0: type
2111 # lint: serial
2112 compiler.warn.non.serializable.instance.field.array=\
2113 non-transient instance field of a serializable class declared with an array having a non-serializable base component type {0}
2114
2115 # lint: serial
2116 compiler.warn.non.private.method.weaker.access=\
2117 serialization-related method declared non-private in an interface will prevent\n\
2118 classes implementing the interface from declaring the method as private
2119
2120 # lint: serial
2121 compiler.warn.default.ineffective=\
2122 serialization-related default method from an interface will not be run by serialization for an implementing class
2123
2124 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
2125 # lint: overloads
2126 compiler.warn.potentially.ambiguous.overload=\
2127 {0} in {1} is potentially ambiguous with {2} in {3}
2128
2129 # 0: message segment
2130 # lint: overrides
2131 compiler.warn.override.varargs.missing=\
2132 {0}; overridden method has no ''...''
2133
2134 # 0: message segment
2135 # lint: overrides
2136 compiler.warn.override.varargs.extra=\
2137 {0}; overriding method is missing ''...''
2138
2139 # 0: message segment
2140 compiler.warn.override.bridge=\
2141 {0}; overridden method is a bridge method
2142
2143 # 0: symbol
2824 required: {1}\n\
2825 found: {0}
2826
2827 ## The following are all possible strings for the first argument ({0}) of the
2828 ## above string.
2829 compiler.misc.type.req.class=\
2830 class
2831
2832 compiler.misc.type.req.class.array=\
2833 class or array
2834
2835 compiler.misc.type.req.array.or.iterable=\
2836 array or java.lang.Iterable
2837
2838 compiler.misc.type.req.ref=\
2839 reference
2840
2841 compiler.misc.type.req.exact=\
2842 class or interface without bounds
2843
2844 # 0: type
2845 compiler.misc.type.parameter=\
2846 type parameter {0}
2847
2848 #####
2849
2850 ## The following are all possible strings for the last argument of all those
2851 ## diagnostics whose key ends in ".1"
2852
2853 # 0: type, 1: list of type
2854 compiler.misc.no.unique.maximal.instance.exists=\
2855 no unique maximal instance exists for type variable {0} with upper bounds {1}
2856
2857 # 0: type, 1: list of type
2858 compiler.misc.no.unique.minimal.instance.exists=\
2859 no unique minimal instance exists for type variable {0} with lower bounds {1}
2860
2861 # 0: type, 1: list of type
2862 compiler.misc.incompatible.upper.bounds=\
2863 inference variable {0} has incompatible upper bounds {1}
3873 --add-opens has no effect at compile time
3874
3875 compiler.misc.locn.module_source_path=\
3876 module source path
3877
3878 compiler.misc.locn.upgrade_module_path=\
3879 upgrade module path
3880
3881 compiler.misc.locn.system_modules=\
3882 system modules
3883
3884 compiler.misc.locn.module_path=\
3885 application module path
3886
3887 compiler.misc.cant.resolve.modules=\
3888 cannot resolve modules
3889
3890 compiler.misc.bad.requires.flag=\
3891 invalid flag for "requires java.base": {0}
3892
3893 # 0: string
3894 compiler.err.invalid.module.specifier=\
3895 module specifier not allowed: {0}
3896
3897 # 0: symbol
3898 compiler.warn.service.provided.but.not.exported.or.used=\
3899 service interface provided but not exported or used
3900
3901 # 0: kind name, 1: symbol, 2: symbol
3902 # lint: exports
3903 compiler.warn.leaks.not.accessible=\
3904 {0} {1} in module {2} is not accessible to clients that require this module
3905 # 0: kind name, 1: symbol, 2: symbol
3906 # lint: exports
3907 compiler.warn.leaks.not.accessible.unexported=\
3908 {0} {1} in module {2} is not exported
3909 # 0: kind name, 1: symbol, 2: symbol
3910 # lint: exports
3911 compiler.warn.leaks.not.accessible.not.required.transitive=\
3912 {0} {1} in module {2} is not indirectly exported using ''requires transitive''
4210 # 0: option name
4211 compiler.err.release.bootclasspath.conflict=\
4212 option {0} cannot be used together with --release
4213
4214 # 0: string
4215 compiler.err.unsupported.release.version=\
4216 release version {0} not supported
4217
4218 # 0: string
4219 compiler.err.file.not.found=\
4220 file not found: {0}
4221
4222 # 0: string, 1: source
4223 compiler.err.preview.not.latest=\
4224 invalid source release {0} with --enable-preview\n\
4225 (preview language features are only supported for release {1})
4226
4227 compiler.err.preview.without.source.or.release=\
4228 --enable-preview must be used with either -source or --release
4229
4230 # 0: symbol
4231 compiler.err.deconstruction.pattern.only.records=\
4232 deconstruction patterns can only be applied to records, {0} is not a record
4233
4234 compiler.err.deconstruction.pattern.var.not.allowed=\
4235 deconstruction patterns can only be applied to records, var is not allowed
4236
4237 # 0: list of type, 1: list of type
4238 compiler.err.incorrect.number.of.nested.patterns=\
4239 incorrect number of nested patterns\n\
4240 required: {0}\n\
4241 found: {1}
4242
4243 # 0: kind name, 1: symbol
4244 # lint: preview
4245 compiler.warn.declared.using.preview=\
4246 {0} {1} is declared using a preview feature, which may be removed in a future release.
4247
4248 # lint: synchronization
4249 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4250 attempt to synchronize on an instance of a value-based class
4251
4252 # 0: type
4253 compiler.err.enclosing.class.type.non.denotable=\
4254 enclosing class type: {0}\n\
4255 is non-denotable, try casting to a denotable type
|
763 compiler.err.illegal.start.of.expr=\
764 illegal start of expression
765
766 compiler.err.illegal.start.of.stmt=\
767 illegal start of statement
768
769 compiler.err.illegal.start.of.type=\
770 illegal start of type
771
772 compiler.err.illegal.parenthesized.expression=\
773 illegal parenthesized expression
774
775 compiler.err.illegal.unicode.esc=\
776 illegal unicode escape
777
778 # 0: symbol
779 compiler.err.import.requires.canonical=\
780 import requires canonical name for {0}
781
782 compiler.err.improperly.formed.type.param.missing=\
783 improperly formed type, some parameters are missing or misplaced
784
785 compiler.err.improperly.formed.type.inner.raw.param=\
786 improperly formed type, type arguments given on a raw type
787
788 # 0: type, 1: type
789 compiler.err.incomparable.types=\
790 incomparable types: {0} and {1}
791
792 # 0: string
793 compiler.err.int.number.too.large=\
794 integer number too large
795
796 compiler.err.intf.annotation.members.cant.have.params=\
797 elements in annotation interface declarations cannot declare formal parameters
798
799 # 0: symbol
800 compiler.err.intf.annotation.cant.have.type.params=\
801 annotation interface {0} cannot be generic
802
803 compiler.err.intf.annotation.members.cant.have.type.params=\
2104 an Externalizable class needs a public no-arg constructor
2105
2106 # lint: serial
2107 compiler.warn.non.serializable.instance.field=\
2108 non-transient instance field of a serializable class declared with a non-serializable type
2109
2110 # 0: type
2111 # lint: serial
2112 compiler.warn.non.serializable.instance.field.array=\
2113 non-transient instance field of a serializable class declared with an array having a non-serializable base component type {0}
2114
2115 # lint: serial
2116 compiler.warn.non.private.method.weaker.access=\
2117 serialization-related method declared non-private in an interface will prevent\n\
2118 classes implementing the interface from declaring the method as private
2119
2120 # lint: serial
2121 compiler.warn.default.ineffective=\
2122 serialization-related default method from an interface will not be run by serialization for an implementing class
2123
2124 # lint: serial
2125 compiler.warn.serializable.value.class.without.write.replace.1=\
2126 serializable value class does not declare, or inherits, a writeReplace method
2127
2128 # lint: serial
2129 compiler.warn.serializable.value.class.without.write.replace.2=\
2130 serializable class does not declare, or inherits, a writeReplace method
2131
2132 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
2133 # lint: overloads
2134 compiler.warn.potentially.ambiguous.overload=\
2135 {0} in {1} is potentially ambiguous with {2} in {3}
2136
2137 # 0: message segment
2138 # lint: overrides
2139 compiler.warn.override.varargs.missing=\
2140 {0}; overridden method has no ''...''
2141
2142 # 0: message segment
2143 # lint: overrides
2144 compiler.warn.override.varargs.extra=\
2145 {0}; overriding method is missing ''...''
2146
2147 # 0: message segment
2148 compiler.warn.override.bridge=\
2149 {0}; overridden method is a bridge method
2150
2151 # 0: symbol
2832 required: {1}\n\
2833 found: {0}
2834
2835 ## The following are all possible strings for the first argument ({0}) of the
2836 ## above string.
2837 compiler.misc.type.req.class=\
2838 class
2839
2840 compiler.misc.type.req.class.array=\
2841 class or array
2842
2843 compiler.misc.type.req.array.or.iterable=\
2844 array or java.lang.Iterable
2845
2846 compiler.misc.type.req.ref=\
2847 reference
2848
2849 compiler.misc.type.req.exact=\
2850 class or interface without bounds
2851
2852 compiler.misc.type.req.identity=\
2853 a type with identity
2854
2855 # 0: type
2856 compiler.misc.type.parameter=\
2857 type parameter {0}
2858
2859 #####
2860
2861 ## The following are all possible strings for the last argument of all those
2862 ## diagnostics whose key ends in ".1"
2863
2864 # 0: type, 1: list of type
2865 compiler.misc.no.unique.maximal.instance.exists=\
2866 no unique maximal instance exists for type variable {0} with upper bounds {1}
2867
2868 # 0: type, 1: list of type
2869 compiler.misc.no.unique.minimal.instance.exists=\
2870 no unique minimal instance exists for type variable {0} with lower bounds {1}
2871
2872 # 0: type, 1: list of type
2873 compiler.misc.incompatible.upper.bounds=\
2874 inference variable {0} has incompatible upper bounds {1}
3884 --add-opens has no effect at compile time
3885
3886 compiler.misc.locn.module_source_path=\
3887 module source path
3888
3889 compiler.misc.locn.upgrade_module_path=\
3890 upgrade module path
3891
3892 compiler.misc.locn.system_modules=\
3893 system modules
3894
3895 compiler.misc.locn.module_path=\
3896 application module path
3897
3898 compiler.misc.cant.resolve.modules=\
3899 cannot resolve modules
3900
3901 compiler.misc.bad.requires.flag=\
3902 invalid flag for "requires java.base": {0}
3903
3904 compiler.misc.bad.access.flags=\
3905 bad access flags combination: {0}
3906
3907 # 0: string
3908 compiler.err.invalid.module.specifier=\
3909 module specifier not allowed: {0}
3910
3911 # 0: symbol
3912 compiler.warn.service.provided.but.not.exported.or.used=\
3913 service interface provided but not exported or used
3914
3915 # 0: kind name, 1: symbol, 2: symbol
3916 # lint: exports
3917 compiler.warn.leaks.not.accessible=\
3918 {0} {1} in module {2} is not accessible to clients that require this module
3919 # 0: kind name, 1: symbol, 2: symbol
3920 # lint: exports
3921 compiler.warn.leaks.not.accessible.unexported=\
3922 {0} {1} in module {2} is not exported
3923 # 0: kind name, 1: symbol, 2: symbol
3924 # lint: exports
3925 compiler.warn.leaks.not.accessible.not.required.transitive=\
3926 {0} {1} in module {2} is not indirectly exported using ''requires transitive''
4224 # 0: option name
4225 compiler.err.release.bootclasspath.conflict=\
4226 option {0} cannot be used together with --release
4227
4228 # 0: string
4229 compiler.err.unsupported.release.version=\
4230 release version {0} not supported
4231
4232 # 0: string
4233 compiler.err.file.not.found=\
4234 file not found: {0}
4235
4236 # 0: string, 1: source
4237 compiler.err.preview.not.latest=\
4238 invalid source release {0} with --enable-preview\n\
4239 (preview language features are only supported for release {1})
4240
4241 compiler.err.preview.without.source.or.release=\
4242 --enable-preview must be used with either -source or --release
4243
4244 compiler.misc.feature.value.classes=\
4245 value classes
4246
4247 # 0: type, 1: type
4248 compiler.err.value.type.has.identity.super.type=\
4249 The identity type {1} cannot be a supertype of the value type {0}
4250
4251 # 0: symbol, 1: type
4252 compiler.err.concrete.supertype.for.value.class=\
4253 The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
4254
4255 # 0: symbol, 1: symbol, 2: type
4256 compiler.err.super.class.method.cannot.be.synchronized=\
4257 The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
4258
4259 compiler.err.non.abstract.value.class.cant.be.sealed.or.non.sealed=\
4260 ''sealed'' or ''non-sealed'' modifiers are only applicable to abstract value classes
4261
4262 # 0: symbol
4263 compiler.err.strict.field.not.have.been.initialized.before.super=\
4264 strict field {0} is not initialized before the supertype constructor has been called
4265
4266 # 0: symbol
4267 compiler.err.deconstruction.pattern.only.records=\
4268 deconstruction patterns can only be applied to records, {0} is not a record
4269
4270 compiler.err.deconstruction.pattern.var.not.allowed=\
4271 deconstruction patterns can only be applied to records, var is not allowed
4272
4273 # 0: list of type, 1: list of type
4274 compiler.err.incorrect.number.of.nested.patterns=\
4275 incorrect number of nested patterns\n\
4276 required: {0}\n\
4277 found: {1}
4278
4279 # 0: kind name, 1: symbol
4280 # lint: preview
4281 compiler.warn.declared.using.preview=\
4282 {0} {1} is declared using a preview feature, which may be removed in a future release.
4283
4284 # lint: synchronization
4285 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4286 attempt to synchronize on an instance of a value-based class
4287
4288 # 0: type
4289 compiler.err.enclosing.class.type.non.denotable=\
4290 enclosing class type: {0}\n\
4291 is non-denotable, try casting to a denotable type
4292
4293 compiler.warn.value.finalize=\
4294 value classes should not have finalize methods, they are not invoked
|