766 compiler.err.illegal.start.of.expr=\
767 illegal start of expression
768
769 compiler.err.illegal.start.of.stmt=\
770 illegal start of statement
771
772 compiler.err.illegal.start.of.type=\
773 illegal start of type
774
775 compiler.err.illegal.parenthesized.expression=\
776 illegal parenthesized expression
777
778 compiler.err.illegal.unicode.esc=\
779 illegal unicode escape
780
781 # 0: symbol
782 compiler.err.import.requires.canonical=\
783 import requires canonical name for {0}
784
785 compiler.err.improperly.formed.type.param.missing=\
786 improperly formed type, some parameters are missing
787
788 compiler.err.improperly.formed.type.inner.raw.param=\
789 improperly formed type, type arguments given on a raw type
790
791 # 0: type, 1: type
792 compiler.err.incomparable.types=\
793 incomparable types: {0} and {1}
794
795 # 0: string
796 compiler.err.int.number.too.large=\
797 integer number too large
798
799 compiler.err.intf.annotation.members.cant.have.params=\
800 elements in annotation interface declarations cannot declare formal parameters
801
802 # 0: symbol
803 compiler.err.intf.annotation.cant.have.type.params=\
804 annotation interface {0} cannot be generic
805
806 compiler.err.intf.annotation.members.cant.have.type.params=\
2119 an Externalizable class needs a public no-arg constructor
2120
2121 # lint: serial
2122 compiler.warn.non.serializable.instance.field=\
2123 non-transient instance field of a serializable class declared with a non-serializable type
2124
2125 # 0: type
2126 # lint: serial
2127 compiler.warn.non.serializable.instance.field.array=\
2128 non-transient instance field of a serializable class declared with an array having a non-serializable base component type {0}
2129
2130 # lint: serial
2131 compiler.warn.non.private.method.weaker.access=\
2132 serialization-related method declared non-private in an interface will prevent\n\
2133 classes implementing the interface from declaring the method as private
2134
2135 # lint: serial
2136 compiler.warn.default.ineffective=\
2137 serialization-related default method from an interface will not be run by serialization for an implementing class
2138
2139 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
2140 # lint: overloads
2141 compiler.warn.potentially.ambiguous.overload=\
2142 {0} in {1} is potentially ambiguous with {2} in {3}
2143
2144 # 0: message segment
2145 # lint: overrides
2146 compiler.warn.override.varargs.missing=\
2147 {0}; overridden method has no ''...''
2148
2149 # 0: message segment
2150 # lint: overrides
2151 compiler.warn.override.varargs.extra=\
2152 {0}; overriding method is missing ''...''
2153
2154 # 0: message segment
2155 compiler.warn.override.bridge=\
2156 {0}; overridden method is a bridge method
2157
2158 # 0: symbol
2850 required: {1}\n\
2851 found: {0}
2852
2853 ## The following are all possible strings for the first argument ({0}) of the
2854 ## above string.
2855 compiler.misc.type.req.class=\
2856 class
2857
2858 compiler.misc.type.req.class.array=\
2859 class or array
2860
2861 compiler.misc.type.req.array.or.iterable=\
2862 array or java.lang.Iterable
2863
2864 compiler.misc.type.req.ref=\
2865 reference
2866
2867 compiler.misc.type.req.exact=\
2868 class or interface without bounds
2869
2870 # 0: type
2871 compiler.misc.type.parameter=\
2872 type parameter {0}
2873
2874 #####
2875
2876 ## The following are all possible strings for the last argument of all those
2877 ## diagnostics whose key ends in ".1"
2878
2879 # 0: type, 1: list of type
2880 compiler.misc.no.unique.maximal.instance.exists=\
2881 no unique maximal instance exists for type variable {0} with upper bounds {1}
2882
2883 # 0: type, 1: list of type
2884 compiler.misc.no.unique.minimal.instance.exists=\
2885 no unique minimal instance exists for type variable {0} with lower bounds {1}
2886
2887 # 0: type, 1: list of type
2888 compiler.misc.incompatible.upper.bounds=\
2889 inference variable {0} has incompatible upper bounds {1}
3910 --add-opens has no effect at compile time
3911
3912 compiler.misc.locn.module_source_path=\
3913 module source path
3914
3915 compiler.misc.locn.upgrade_module_path=\
3916 upgrade module path
3917
3918 compiler.misc.locn.system_modules=\
3919 system modules
3920
3921 compiler.misc.locn.module_path=\
3922 application module path
3923
3924 compiler.misc.cant.resolve.modules=\
3925 cannot resolve modules
3926
3927 compiler.misc.bad.requires.flag=\
3928 invalid flag for "requires java.base": {0}
3929
3930 # 0: string
3931 compiler.err.invalid.module.specifier=\
3932 module specifier not allowed: {0}
3933
3934 # 0: symbol
3935 compiler.warn.service.provided.but.not.exported.or.used=\
3936 service interface provided but not exported or used
3937
3938 # 0: kind name, 1: symbol, 2: symbol
3939 # lint: exports
3940 compiler.warn.leaks.not.accessible=\
3941 {0} {1} in module {2} is not accessible to clients that require this module
3942 # 0: kind name, 1: symbol, 2: symbol
3943 # lint: exports
3944 compiler.warn.leaks.not.accessible.unexported=\
3945 {0} {1} in module {2} is not exported
3946 # 0: kind name, 1: symbol, 2: symbol
3947 # lint: exports
3948 compiler.warn.leaks.not.accessible.not.required.transitive=\
3949 {0} {1} in module {2} is not indirectly exported using ''requires transitive''
4251 # 0: option name
4252 compiler.err.release.bootclasspath.conflict=\
4253 option {0} cannot be used together with --release
4254
4255 # 0: string
4256 compiler.err.unsupported.release.version=\
4257 release version {0} not supported
4258
4259 # 0: string
4260 compiler.err.file.not.found=\
4261 file not found: {0}
4262
4263 # 0: string, 1: source
4264 compiler.err.preview.not.latest=\
4265 invalid source release {0} with --enable-preview\n\
4266 (preview language features are only supported for release {1})
4267
4268 compiler.err.preview.without.source.or.release=\
4269 --enable-preview must be used with either -source or --release
4270
4271 # 0: symbol
4272 compiler.err.deconstruction.pattern.only.records=\
4273 deconstruction patterns can only be applied to records, {0} is not a record
4274
4275 compiler.err.deconstruction.pattern.var.not.allowed=\
4276 deconstruction patterns can only be applied to records, var is not allowed
4277
4278 # 0: list of type, 1: list of type
4279 compiler.err.incorrect.number.of.nested.patterns=\
4280 incorrect number of nested patterns\n\
4281 required: {0}\n\
4282 found: {1}
4283
4284 # 0: kind name, 1: symbol
4285 # lint: preview
4286 # flags: aggregate, mandatory, default-enabled
4287 compiler.warn.declared.using.preview=\
4288 {0} {1} is declared using a preview feature, which may be removed in a future release.
4289
4290 # lint: identity
4291 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4292 attempt to synchronize on an instance of a value-based class
4293
4294 # lint: identity
4295 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4296 use of a value-based class with an operation that expects reliable identity
4297
4298 # 0: type
4299 compiler.err.enclosing.class.type.non.denotable=\
4300 enclosing class type: {0}\n\
4301 is non-denotable, try casting to a denotable type
|
766 compiler.err.illegal.start.of.expr=\
767 illegal start of expression
768
769 compiler.err.illegal.start.of.stmt=\
770 illegal start of statement
771
772 compiler.err.illegal.start.of.type=\
773 illegal start of type
774
775 compiler.err.illegal.parenthesized.expression=\
776 illegal parenthesized expression
777
778 compiler.err.illegal.unicode.esc=\
779 illegal unicode escape
780
781 # 0: symbol
782 compiler.err.import.requires.canonical=\
783 import requires canonical name for {0}
784
785 compiler.err.improperly.formed.type.param.missing=\
786 improperly formed type, some parameters are missing or misplaced
787
788 compiler.err.improperly.formed.type.inner.raw.param=\
789 improperly formed type, type arguments given on a raw type
790
791 # 0: type, 1: type
792 compiler.err.incomparable.types=\
793 incomparable types: {0} and {1}
794
795 # 0: string
796 compiler.err.int.number.too.large=\
797 integer number too large
798
799 compiler.err.intf.annotation.members.cant.have.params=\
800 elements in annotation interface declarations cannot declare formal parameters
801
802 # 0: symbol
803 compiler.err.intf.annotation.cant.have.type.params=\
804 annotation interface {0} cannot be generic
805
806 compiler.err.intf.annotation.members.cant.have.type.params=\
2119 an Externalizable class needs a public no-arg constructor
2120
2121 # lint: serial
2122 compiler.warn.non.serializable.instance.field=\
2123 non-transient instance field of a serializable class declared with a non-serializable type
2124
2125 # 0: type
2126 # lint: serial
2127 compiler.warn.non.serializable.instance.field.array=\
2128 non-transient instance field of a serializable class declared with an array having a non-serializable base component type {0}
2129
2130 # lint: serial
2131 compiler.warn.non.private.method.weaker.access=\
2132 serialization-related method declared non-private in an interface will prevent\n\
2133 classes implementing the interface from declaring the method as private
2134
2135 # lint: serial
2136 compiler.warn.default.ineffective=\
2137 serialization-related default method from an interface will not be run by serialization for an implementing class
2138
2139 # lint: serial
2140 compiler.warn.serializable.value.class.without.write.replace.1=\
2141 serializable value class does not declare, or inherits, a writeReplace method
2142
2143 # lint: serial
2144 compiler.warn.serializable.value.class.without.write.replace.2=\
2145 serializable class does not declare, or inherits, a writeReplace method
2146
2147 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
2148 # lint: overloads
2149 compiler.warn.potentially.ambiguous.overload=\
2150 {0} in {1} is potentially ambiguous with {2} in {3}
2151
2152 # 0: message segment
2153 # lint: overrides
2154 compiler.warn.override.varargs.missing=\
2155 {0}; overridden method has no ''...''
2156
2157 # 0: message segment
2158 # lint: overrides
2159 compiler.warn.override.varargs.extra=\
2160 {0}; overriding method is missing ''...''
2161
2162 # 0: message segment
2163 compiler.warn.override.bridge=\
2164 {0}; overridden method is a bridge method
2165
2166 # 0: symbol
2858 required: {1}\n\
2859 found: {0}
2860
2861 ## The following are all possible strings for the first argument ({0}) of the
2862 ## above string.
2863 compiler.misc.type.req.class=\
2864 class
2865
2866 compiler.misc.type.req.class.array=\
2867 class or array
2868
2869 compiler.misc.type.req.array.or.iterable=\
2870 array or java.lang.Iterable
2871
2872 compiler.misc.type.req.ref=\
2873 reference
2874
2875 compiler.misc.type.req.exact=\
2876 class or interface without bounds
2877
2878 compiler.misc.type.req.identity=\
2879 a type with identity
2880
2881 # 0: type
2882 compiler.misc.type.parameter=\
2883 type parameter {0}
2884
2885 #####
2886
2887 ## The following are all possible strings for the last argument of all those
2888 ## diagnostics whose key ends in ".1"
2889
2890 # 0: type, 1: list of type
2891 compiler.misc.no.unique.maximal.instance.exists=\
2892 no unique maximal instance exists for type variable {0} with upper bounds {1}
2893
2894 # 0: type, 1: list of type
2895 compiler.misc.no.unique.minimal.instance.exists=\
2896 no unique minimal instance exists for type variable {0} with lower bounds {1}
2897
2898 # 0: type, 1: list of type
2899 compiler.misc.incompatible.upper.bounds=\
2900 inference variable {0} has incompatible upper bounds {1}
3921 --add-opens has no effect at compile time
3922
3923 compiler.misc.locn.module_source_path=\
3924 module source path
3925
3926 compiler.misc.locn.upgrade_module_path=\
3927 upgrade module path
3928
3929 compiler.misc.locn.system_modules=\
3930 system modules
3931
3932 compiler.misc.locn.module_path=\
3933 application module path
3934
3935 compiler.misc.cant.resolve.modules=\
3936 cannot resolve modules
3937
3938 compiler.misc.bad.requires.flag=\
3939 invalid flag for "requires java.base": {0}
3940
3941 compiler.misc.bad.access.flags=\
3942 bad access flags combination: {0}
3943
3944 # 0: string
3945 compiler.err.invalid.module.specifier=\
3946 module specifier not allowed: {0}
3947
3948 # 0: symbol
3949 compiler.warn.service.provided.but.not.exported.or.used=\
3950 service interface provided but not exported or used
3951
3952 # 0: kind name, 1: symbol, 2: symbol
3953 # lint: exports
3954 compiler.warn.leaks.not.accessible=\
3955 {0} {1} in module {2} is not accessible to clients that require this module
3956 # 0: kind name, 1: symbol, 2: symbol
3957 # lint: exports
3958 compiler.warn.leaks.not.accessible.unexported=\
3959 {0} {1} in module {2} is not exported
3960 # 0: kind name, 1: symbol, 2: symbol
3961 # lint: exports
3962 compiler.warn.leaks.not.accessible.not.required.transitive=\
3963 {0} {1} in module {2} is not indirectly exported using ''requires transitive''
4265 # 0: option name
4266 compiler.err.release.bootclasspath.conflict=\
4267 option {0} cannot be used together with --release
4268
4269 # 0: string
4270 compiler.err.unsupported.release.version=\
4271 release version {0} not supported
4272
4273 # 0: string
4274 compiler.err.file.not.found=\
4275 file not found: {0}
4276
4277 # 0: string, 1: source
4278 compiler.err.preview.not.latest=\
4279 invalid source release {0} with --enable-preview\n\
4280 (preview language features are only supported for release {1})
4281
4282 compiler.err.preview.without.source.or.release=\
4283 --enable-preview must be used with either -source or --release
4284
4285 compiler.misc.feature.value.classes=\
4286 value classes
4287
4288 # 0: type, 1: type
4289 compiler.err.value.type.has.identity.super.type=\
4290 The identity type {1} cannot be a supertype of the value type {0}
4291
4292 # 0: symbol, 1: type
4293 compiler.err.concrete.supertype.for.value.class=\
4294 The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
4295
4296 # 0: symbol, 1: symbol, 2: type
4297 compiler.err.super.class.method.cannot.be.synchronized=\
4298 The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
4299
4300 compiler.err.non.abstract.value.class.cant.be.sealed.or.non.sealed=\
4301 ''sealed'' or ''non-sealed'' modifiers are only applicable to abstract value classes
4302
4303 # 0: symbol
4304 compiler.err.strict.field.not.have.been.initialized.before.super=\
4305 strict field {0} is not initialized before the supertype constructor has been called
4306
4307 # 0: symbol
4308 compiler.err.deconstruction.pattern.only.records=\
4309 deconstruction patterns can only be applied to records, {0} is not a record
4310
4311 compiler.err.deconstruction.pattern.var.not.allowed=\
4312 deconstruction patterns can only be applied to records, var is not allowed
4313
4314 # 0: list of type, 1: list of type
4315 compiler.err.incorrect.number.of.nested.patterns=\
4316 incorrect number of nested patterns\n\
4317 required: {0}\n\
4318 found: {1}
4319
4320 # 0: kind name, 1: symbol
4321 # lint: preview
4322 # flags: aggregate, mandatory, default-enabled
4323 compiler.warn.declared.using.preview=\
4324 {0} {1} is declared using a preview feature, which may be removed in a future release.
4325
4326 # lint: identity
4327 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4328 attempt to synchronize on an instance of a value-based class
4329
4330 # lint: identity
4331 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4332 use of a value-based class with an operation that expects reliable identity
4333
4334 # 0: symbol or name
4335 # lint: initialization
4336 compiler.warn.would.not.be.allowed.in.prologue=\
4337 reference to {0} would not be allowed in the prologue phase
4338
4339 # 0: type
4340 compiler.err.enclosing.class.type.non.denotable=\
4341 enclosing class type: {0}\n\
4342 is non-denotable, try casting to a denotable type
4343
4344 compiler.warn.value.finalize=\
4345 value classes should not have finalize methods, they are not invoked
|