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
2866 required: {1}\n\
2867 found: {0}
2868
2869 ## The following are all possible strings for the first argument ({0}) of the
2870 ## above string.
2871 compiler.misc.type.req.class=\
2872 class
2873
2874 compiler.misc.type.req.class.array=\
2875 class or array
2876
2877 compiler.misc.type.req.array.or.iterable=\
2878 array or java.lang.Iterable
2879
2880 compiler.misc.type.req.ref=\
2881 reference
2882
2883 compiler.misc.type.req.exact=\
2884 class or interface without bounds
2885
2886 # 0: type
2887 compiler.misc.type.parameter=\
2888 type parameter {0}
2889
2890 #####
2891
2892 ## The following are all possible strings for the last argument of all those
2893 ## diagnostics whose key ends in ".1"
2894
2895 # 0: type, 1: list of type
2896 compiler.misc.no.unique.maximal.instance.exists=\
2897 no unique maximal instance exists for type variable {0} with upper bounds {1}
2898
2899 # 0: type, 1: list of type
2900 compiler.misc.no.unique.minimal.instance.exists=\
2901 no unique minimal instance exists for type variable {0} with lower bounds {1}
2902
2903 # 0: type, 1: list of type
2904 compiler.misc.incompatible.upper.bounds=\
2905 inference variable {0} has incompatible upper bounds {1}
3926 --add-opens has no effect at compile time
3927
3928 compiler.misc.locn.module_source_path=\
3929 module source path
3930
3931 compiler.misc.locn.upgrade_module_path=\
3932 upgrade module path
3933
3934 compiler.misc.locn.system_modules=\
3935 system modules
3936
3937 compiler.misc.locn.module_path=\
3938 application module path
3939
3940 compiler.misc.cant.resolve.modules=\
3941 cannot resolve modules
3942
3943 compiler.misc.bad.requires.flag=\
3944 invalid flag for "requires java.base": {0}
3945
3946 # 0: string
3947 compiler.err.invalid.module.specifier=\
3948 module specifier not allowed: {0}
3949
3950 # 0: symbol
3951 compiler.warn.service.provided.but.not.exported.or.used=\
3952 service interface provided but not exported or used
3953
3954 # 0: kind name, 1: symbol, 2: symbol
3955 # lint: exports
3956 compiler.warn.leaks.not.accessible=\
3957 {0} {1} in module {2} is not accessible to clients that require this module
3958 # 0: kind name, 1: symbol, 2: symbol
3959 # lint: exports
3960 compiler.warn.leaks.not.accessible.unexported=\
3961 {0} {1} in module {2} is not exported
3962 # 0: kind name, 1: symbol, 2: symbol
3963 # lint: exports
3964 compiler.warn.leaks.not.accessible.not.required.transitive=\
3965 {0} {1} in module {2} is not indirectly exported using ''requires transitive''
4267 # 0: option name
4268 compiler.err.release.bootclasspath.conflict=\
4269 option {0} cannot be used together with --release
4270
4271 # 0: string
4272 compiler.err.unsupported.release.version=\
4273 release version {0} not supported
4274
4275 # 0: string
4276 compiler.err.file.not.found=\
4277 file not found: {0}
4278
4279 # 0: string, 1: source
4280 compiler.err.preview.not.latest=\
4281 invalid source release {0} with --enable-preview\n\
4282 (preview language features are only supported for release {1})
4283
4284 compiler.err.preview.without.source.or.release=\
4285 --enable-preview must be used with either -source or --release
4286
4287 # 0: symbol
4288 compiler.err.deconstruction.pattern.only.records=\
4289 deconstruction patterns can only be applied to records, {0} is not a record
4290
4291 compiler.err.deconstruction.pattern.var.not.allowed=\
4292 deconstruction patterns can only be applied to records, var is not allowed
4293
4294 # 0: list of type, 1: list of type
4295 compiler.err.incorrect.number.of.nested.patterns=\
4296 incorrect number of nested patterns\n\
4297 required: {0}\n\
4298 found: {1}
4299
4300 # 0: kind name, 1: symbol
4301 # lint: preview
4302 # flags: aggregate, mandatory, default-enabled
4303 compiler.warn.declared.using.preview=\
4304 {0} {1} is declared using a preview feature, which may be removed in a future release.
4305
4306 # lint: identity
4307 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4308 attempt to synchronize on an instance of a value-based class
4309
4310 # lint: identity
4311 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4312 use of a value-based class with an operation that expects reliable identity
4313
4314 # 0: type
4315 compiler.err.enclosing.class.type.non.denotable=\
4316 enclosing class type: {0}\n\
4317 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
2874 required: {1}\n\
2875 found: {0}
2876
2877 ## The following are all possible strings for the first argument ({0}) of the
2878 ## above string.
2879 compiler.misc.type.req.class=\
2880 class
2881
2882 compiler.misc.type.req.class.array=\
2883 class or array
2884
2885 compiler.misc.type.req.array.or.iterable=\
2886 array or java.lang.Iterable
2887
2888 compiler.misc.type.req.ref=\
2889 reference
2890
2891 compiler.misc.type.req.exact=\
2892 class or interface without bounds
2893
2894 compiler.misc.type.req.identity=\
2895 a type with identity
2896
2897 # 0: type
2898 compiler.misc.type.parameter=\
2899 type parameter {0}
2900
2901 #####
2902
2903 ## The following are all possible strings for the last argument of all those
2904 ## diagnostics whose key ends in ".1"
2905
2906 # 0: type, 1: list of type
2907 compiler.misc.no.unique.maximal.instance.exists=\
2908 no unique maximal instance exists for type variable {0} with upper bounds {1}
2909
2910 # 0: type, 1: list of type
2911 compiler.misc.no.unique.minimal.instance.exists=\
2912 no unique minimal instance exists for type variable {0} with lower bounds {1}
2913
2914 # 0: type, 1: list of type
2915 compiler.misc.incompatible.upper.bounds=\
2916 inference variable {0} has incompatible upper bounds {1}
3937 --add-opens has no effect at compile time
3938
3939 compiler.misc.locn.module_source_path=\
3940 module source path
3941
3942 compiler.misc.locn.upgrade_module_path=\
3943 upgrade module path
3944
3945 compiler.misc.locn.system_modules=\
3946 system modules
3947
3948 compiler.misc.locn.module_path=\
3949 application module path
3950
3951 compiler.misc.cant.resolve.modules=\
3952 cannot resolve modules
3953
3954 compiler.misc.bad.requires.flag=\
3955 invalid flag for "requires java.base": {0}
3956
3957 compiler.misc.bad.access.flags=\
3958 bad access flags combination: {0}
3959
3960 # 0: string
3961 compiler.err.invalid.module.specifier=\
3962 module specifier not allowed: {0}
3963
3964 # 0: symbol
3965 compiler.warn.service.provided.but.not.exported.or.used=\
3966 service interface provided but not exported or used
3967
3968 # 0: kind name, 1: symbol, 2: symbol
3969 # lint: exports
3970 compiler.warn.leaks.not.accessible=\
3971 {0} {1} in module {2} is not accessible to clients that require this module
3972 # 0: kind name, 1: symbol, 2: symbol
3973 # lint: exports
3974 compiler.warn.leaks.not.accessible.unexported=\
3975 {0} {1} in module {2} is not exported
3976 # 0: kind name, 1: symbol, 2: symbol
3977 # lint: exports
3978 compiler.warn.leaks.not.accessible.not.required.transitive=\
3979 {0} {1} in module {2} is not indirectly exported using ''requires transitive''
4281 # 0: option name
4282 compiler.err.release.bootclasspath.conflict=\
4283 option {0} cannot be used together with --release
4284
4285 # 0: string
4286 compiler.err.unsupported.release.version=\
4287 release version {0} not supported
4288
4289 # 0: string
4290 compiler.err.file.not.found=\
4291 file not found: {0}
4292
4293 # 0: string, 1: source
4294 compiler.err.preview.not.latest=\
4295 invalid source release {0} with --enable-preview\n\
4296 (preview language features are only supported for release {1})
4297
4298 compiler.err.preview.without.source.or.release=\
4299 --enable-preview must be used with either -source or --release
4300
4301 compiler.misc.feature.value.classes=\
4302 value classes
4303
4304 # 0: type, 1: type
4305 compiler.err.value.type.has.identity.super.type=\
4306 The identity type {1} cannot be a supertype of the value type {0}
4307
4308 # 0: symbol, 1: type
4309 compiler.err.concrete.supertype.for.value.class=\
4310 The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
4311
4312 # 0: symbol, 1: symbol, 2: type
4313 compiler.err.super.class.method.cannot.be.synchronized=\
4314 The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
4315
4316 compiler.err.non.abstract.value.class.cant.be.sealed.or.non.sealed=\
4317 ''sealed'' or ''non-sealed'' modifiers are only applicable to abstract value classes
4318
4319 # 0: symbol
4320 compiler.err.strict.field.not.have.been.initialized.before.super=\
4321 strict field {0} is not initialized before the supertype constructor has been called
4322
4323 # 0: symbol
4324 compiler.err.deconstruction.pattern.only.records=\
4325 deconstruction patterns can only be applied to records, {0} is not a record
4326
4327 compiler.err.deconstruction.pattern.var.not.allowed=\
4328 deconstruction patterns can only be applied to records, var is not allowed
4329
4330 # 0: list of type, 1: list of type
4331 compiler.err.incorrect.number.of.nested.patterns=\
4332 incorrect number of nested patterns\n\
4333 required: {0}\n\
4334 found: {1}
4335
4336 # 0: kind name, 1: symbol
4337 # lint: preview
4338 # flags: aggregate, mandatory, default-enabled
4339 compiler.warn.declared.using.preview=\
4340 {0} {1} is declared using a preview feature, which may be removed in a future release.
4341
4342 # lint: identity
4343 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4344 attempt to synchronize on an instance of a value-based class
4345
4346 # lint: identity
4347 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4348 use of a value-based class with an operation that expects reliable identity
4349
4350 # 0: symbol or name
4351 # lint: initialization
4352 compiler.warn.would.not.be.allowed.in.prologue=\
4353 reference to {0} would not be allowed in the prologue phase
4354
4355 # 0: type
4356 compiler.err.enclosing.class.type.non.denotable=\
4357 enclosing class type: {0}\n\
4358 is non-denotable, try casting to a denotable type
4359
4360 compiler.warn.value.finalize=\
4361 value classes should not have finalize methods, they are not invoked
|