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=\
2151 an Externalizable class needs a public no-arg constructor
2152
2153 # lint: serial
2154 compiler.warn.non.serializable.instance.field=\
2155 non-transient instance field of a serializable class declared with a non-serializable type
2156
2157 # 0: type
2158 # lint: serial
2159 compiler.warn.non.serializable.instance.field.array=\
2160 non-transient instance field of a serializable class declared with an array having a non-serializable base component type {0}
2161
2162 # lint: serial
2163 compiler.warn.non.private.method.weaker.access=\
2164 serialization-related method declared non-private in an interface will prevent\n\
2165 classes implementing the interface from declaring the method as private
2166
2167 # lint: serial
2168 compiler.warn.default.ineffective=\
2169 serialization-related default method from an interface will not be run by serialization for an implementing class
2170
2171 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
2172 # lint: overloads
2173 compiler.warn.potentially.ambiguous.overload=\
2174 {0} in {1} is potentially ambiguous with {2} in {3}
2175
2176 # 0: message segment
2177 # lint: overrides
2178 compiler.warn.override.varargs.missing=\
2179 {0}; overridden method has no ''...''
2180
2181 # 0: message segment
2182 # lint: overrides
2183 compiler.warn.override.varargs.extra=\
2184 {0}; overriding method is missing ''...''
2185
2186 # 0: message segment
2187 compiler.warn.override.bridge=\
2188 {0}; overridden method is a bridge method
2189
2190 # 0: symbol
2898 required: {1}\n\
2899 found: {0}
2900
2901 ## The following are all possible strings for the first argument ({0}) of the
2902 ## above string.
2903 compiler.misc.type.req.class=\
2904 class
2905
2906 compiler.misc.type.req.class.array=\
2907 class or array
2908
2909 compiler.misc.type.req.array.or.iterable=\
2910 array or java.lang.Iterable
2911
2912 compiler.misc.type.req.ref=\
2913 reference
2914
2915 compiler.misc.type.req.exact=\
2916 class or interface without bounds
2917
2918 # 0: type
2919 compiler.misc.type.parameter=\
2920 type parameter {0}
2921
2922 #####
2923
2924 ## The following are all possible strings for the last argument of all those
2925 ## diagnostics whose key ends in ".1"
2926
2927 # 0: type, 1: list of type
2928 compiler.misc.no.unique.maximal.instance.exists=\
2929 no unique maximal instance exists for type variable {0} with upper bounds {1}
2930
2931 # 0: type, 1: list of type
2932 compiler.misc.no.unique.minimal.instance.exists=\
2933 no unique minimal instance exists for type variable {0} with lower bounds {1}
2934
2935 # 0: type, 1: list of type
2936 compiler.misc.incompatible.upper.bounds=\
2937 inference variable {0} has incompatible upper bounds {1}
3958 --add-opens has no effect at compile time
3959
3960 compiler.misc.locn.module_source_path=\
3961 module source path
3962
3963 compiler.misc.locn.upgrade_module_path=\
3964 upgrade module path
3965
3966 compiler.misc.locn.system_modules=\
3967 system modules
3968
3969 compiler.misc.locn.module_path=\
3970 application module path
3971
3972 compiler.misc.cant.resolve.modules=\
3973 cannot resolve modules
3974
3975 compiler.misc.bad.requires.flag=\
3976 invalid flag for "requires java.base": {0}
3977
3978 # 0: string
3979 compiler.err.invalid.module.specifier=\
3980 module specifier not allowed: {0}
3981
3982 # 0: symbol
3983 compiler.warn.service.provided.but.not.exported.or.used=\
3984 service interface provided but not exported or used
3985
3986 # 0: kind name, 1: symbol, 2: symbol
3987 # lint: exports
3988 compiler.warn.leaks.not.accessible=\
3989 {0} {1} in module {2} is not accessible to clients that require this module
3990 # 0: kind name, 1: symbol, 2: symbol
3991 # lint: exports
3992 compiler.warn.leaks.not.accessible.unexported=\
3993 {0} {1} in module {2} is not exported
3994 # 0: kind name, 1: symbol, 2: symbol
3995 # lint: exports
3996 compiler.warn.leaks.not.accessible.not.required.transitive=\
3997 {0} {1} in module {2} is not indirectly exported using ''requires transitive''
4299 # 0: option name
4300 compiler.err.release.bootclasspath.conflict=\
4301 option {0} cannot be used together with --release
4302
4303 # 0: string
4304 compiler.err.unsupported.release.version=\
4305 release version {0} not supported
4306
4307 # 0: string
4308 compiler.err.file.not.found=\
4309 file not found: {0}
4310
4311 # 0: string, 1: source
4312 compiler.err.preview.not.latest=\
4313 invalid source release {0} with --enable-preview\n\
4314 (preview language features are only supported for release {1})
4315
4316 compiler.err.preview.without.source.or.release=\
4317 --enable-preview must be used with either -source or --release
4318
4319 # 0: symbol
4320 compiler.err.deconstruction.pattern.only.records=\
4321 deconstruction patterns can only be applied to records, {0} is not a record
4322
4323 compiler.err.deconstruction.pattern.var.not.allowed=\
4324 deconstruction patterns can only be applied to records, var is not allowed
4325
4326 # 0: list of type, 1: list of type
4327 compiler.err.incorrect.number.of.nested.patterns=\
4328 incorrect number of nested patterns\n\
4329 required: {0}\n\
4330 found: {1}
4331
4332 # 0: kind name, 1: symbol
4333 # lint: preview
4334 # flags: aggregate, mandatory, default-enabled
4335 compiler.warn.declared.using.preview=\
4336 {0} {1} is declared using a preview feature, which may be removed in a future release.
4337
4338 # lint: identity
4339 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4340 attempt to synchronize on an instance of a value-based class
4341
4342 # lint: identity
4343 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4344 use of a value-based class with an operation that expects reliable identity
4345
4346 # 0: type
4347 compiler.err.enclosing.class.type.non.denotable=\
4348 enclosing class type: {0}\n\
4349 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=\
2151 an Externalizable class needs a public no-arg constructor
2152
2153 # lint: serial
2154 compiler.warn.non.serializable.instance.field=\
2155 non-transient instance field of a serializable class declared with a non-serializable type
2156
2157 # 0: type
2158 # lint: serial
2159 compiler.warn.non.serializable.instance.field.array=\
2160 non-transient instance field of a serializable class declared with an array having a non-serializable base component type {0}
2161
2162 # lint: serial
2163 compiler.warn.non.private.method.weaker.access=\
2164 serialization-related method declared non-private in an interface will prevent\n\
2165 classes implementing the interface from declaring the method as private
2166
2167 # lint: serial
2168 compiler.warn.default.ineffective=\
2169 serialization-related default method from an interface will not be run by serialization for an implementing class
2170
2171 # lint: serial
2172 compiler.warn.serializable.value.class.without.write.replace.1=\
2173 serializable value class does not declare, or inherits, a writeReplace method
2174
2175 # lint: serial
2176 compiler.warn.serializable.value.class.without.write.replace.2=\
2177 serializable class does not declare, or inherits, a writeReplace method
2178
2179 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
2180 # lint: overloads
2181 compiler.warn.potentially.ambiguous.overload=\
2182 {0} in {1} is potentially ambiguous with {2} in {3}
2183
2184 # 0: message segment
2185 # lint: overrides
2186 compiler.warn.override.varargs.missing=\
2187 {0}; overridden method has no ''...''
2188
2189 # 0: message segment
2190 # lint: overrides
2191 compiler.warn.override.varargs.extra=\
2192 {0}; overriding method is missing ''...''
2193
2194 # 0: message segment
2195 compiler.warn.override.bridge=\
2196 {0}; overridden method is a bridge method
2197
2198 # 0: symbol
2906 required: {1}\n\
2907 found: {0}
2908
2909 ## The following are all possible strings for the first argument ({0}) of the
2910 ## above string.
2911 compiler.misc.type.req.class=\
2912 class
2913
2914 compiler.misc.type.req.class.array=\
2915 class or array
2916
2917 compiler.misc.type.req.array.or.iterable=\
2918 array or java.lang.Iterable
2919
2920 compiler.misc.type.req.ref=\
2921 reference
2922
2923 compiler.misc.type.req.exact=\
2924 class or interface without bounds
2925
2926 compiler.misc.type.req.identity=\
2927 a type with identity
2928
2929 # 0: type
2930 compiler.misc.type.parameter=\
2931 type parameter {0}
2932
2933 #####
2934
2935 ## The following are all possible strings for the last argument of all those
2936 ## diagnostics whose key ends in ".1"
2937
2938 # 0: type, 1: list of type
2939 compiler.misc.no.unique.maximal.instance.exists=\
2940 no unique maximal instance exists for type variable {0} with upper bounds {1}
2941
2942 # 0: type, 1: list of type
2943 compiler.misc.no.unique.minimal.instance.exists=\
2944 no unique minimal instance exists for type variable {0} with lower bounds {1}
2945
2946 # 0: type, 1: list of type
2947 compiler.misc.incompatible.upper.bounds=\
2948 inference variable {0} has incompatible upper bounds {1}
3969 --add-opens has no effect at compile time
3970
3971 compiler.misc.locn.module_source_path=\
3972 module source path
3973
3974 compiler.misc.locn.upgrade_module_path=\
3975 upgrade module path
3976
3977 compiler.misc.locn.system_modules=\
3978 system modules
3979
3980 compiler.misc.locn.module_path=\
3981 application module path
3982
3983 compiler.misc.cant.resolve.modules=\
3984 cannot resolve modules
3985
3986 compiler.misc.bad.requires.flag=\
3987 invalid flag for "requires java.base": {0}
3988
3989 compiler.misc.bad.access.flags=\
3990 bad access flags combination: {0}
3991
3992 # 0: string
3993 compiler.err.invalid.module.specifier=\
3994 module specifier not allowed: {0}
3995
3996 # 0: symbol
3997 compiler.warn.service.provided.but.not.exported.or.used=\
3998 service interface provided but not exported or used
3999
4000 # 0: kind name, 1: symbol, 2: symbol
4001 # lint: exports
4002 compiler.warn.leaks.not.accessible=\
4003 {0} {1} in module {2} is not accessible to clients that require this module
4004 # 0: kind name, 1: symbol, 2: symbol
4005 # lint: exports
4006 compiler.warn.leaks.not.accessible.unexported=\
4007 {0} {1} in module {2} is not exported
4008 # 0: kind name, 1: symbol, 2: symbol
4009 # lint: exports
4010 compiler.warn.leaks.not.accessible.not.required.transitive=\
4011 {0} {1} in module {2} is not indirectly exported using ''requires transitive''
4313 # 0: option name
4314 compiler.err.release.bootclasspath.conflict=\
4315 option {0} cannot be used together with --release
4316
4317 # 0: string
4318 compiler.err.unsupported.release.version=\
4319 release version {0} not supported
4320
4321 # 0: string
4322 compiler.err.file.not.found=\
4323 file not found: {0}
4324
4325 # 0: string, 1: source
4326 compiler.err.preview.not.latest=\
4327 invalid source release {0} with --enable-preview\n\
4328 (preview language features are only supported for release {1})
4329
4330 compiler.err.preview.without.source.or.release=\
4331 --enable-preview must be used with either -source or --release
4332
4333 compiler.misc.feature.value.classes=\
4334 value classes
4335
4336 # 0: type, 1: type
4337 compiler.err.value.type.has.identity.super.type=\
4338 The identity type {1} cannot be a supertype of the value type {0}
4339
4340 # 0: symbol, 1: type
4341 compiler.err.concrete.supertype.for.value.class=\
4342 The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
4343
4344 # 0: symbol, 1: symbol, 2: type
4345 compiler.err.super.class.method.cannot.be.synchronized=\
4346 The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
4347
4348 compiler.err.non.abstract.value.class.cant.be.sealed.or.non.sealed=\
4349 ''sealed'' or ''non-sealed'' modifiers are only applicable to abstract value classes
4350
4351 # 0: symbol
4352 compiler.err.strict.field.not.have.been.initialized.before.super=\
4353 strict field {0} is not initialized before the supertype constructor has been called
4354
4355 # 0: symbol
4356 compiler.err.deconstruction.pattern.only.records=\
4357 deconstruction patterns can only be applied to records, {0} is not a record
4358
4359 compiler.err.deconstruction.pattern.var.not.allowed=\
4360 deconstruction patterns can only be applied to records, var is not allowed
4361
4362 # 0: list of type, 1: list of type
4363 compiler.err.incorrect.number.of.nested.patterns=\
4364 incorrect number of nested patterns\n\
4365 required: {0}\n\
4366 found: {1}
4367
4368 # 0: kind name, 1: symbol
4369 # lint: preview
4370 # flags: aggregate, mandatory, default-enabled
4371 compiler.warn.declared.using.preview=\
4372 {0} {1} is declared using a preview feature, which may be removed in a future release.
4373
4374 # lint: identity
4375 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4376 attempt to synchronize on an instance of a value-based class
4377
4378 # lint: identity
4379 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4380 use of a value-based class with an operation that expects reliable identity
4381
4382 # 0: symbol or name
4383 # lint: initialization
4384 compiler.warn.would.not.be.allowed.in.prologue=\
4385 reference to {0} would not be allowed in the prologue phase
4386
4387 # 0: type
4388 compiler.err.enclosing.class.type.non.denotable=\
4389 enclosing class type: {0}\n\
4390 is non-denotable, try casting to a denotable type
4391
4392 compiler.warn.value.finalize=\
4393 value classes should not have finalize methods, they are not invoked
|