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=\
2107 an Externalizable class needs a public no-arg constructor
2108
2109 # lint: serial
2110 compiler.warn.non.serializable.instance.field=\
2111 non-transient instance field of a serializable class declared with a non-serializable type
2112
2113 # 0: type
2114 # lint: serial
2115 compiler.warn.non.serializable.instance.field.array=\
2116 non-transient instance field of a serializable class declared with an array having a non-serializable base component type {0}
2117
2118 # lint: serial
2119 compiler.warn.non.private.method.weaker.access=\
2120 serialization-related method declared non-private in an interface will prevent\n\
2121 classes implementing the interface from declaring the method as private
2122
2123 # lint: serial
2124 compiler.warn.default.ineffective=\
2125 serialization-related default method from an interface will not be run by serialization for an implementing class
2126
2127 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
2128 # lint: overloads
2129 compiler.warn.potentially.ambiguous.overload=\
2130 {0} in {1} is potentially ambiguous with {2} in {3}
2131
2132 # 0: message segment
2133 # lint: overrides
2134 compiler.warn.override.varargs.missing=\
2135 {0}; overridden method has no ''...''
2136
2137 # 0: message segment
2138 # lint: overrides
2139 compiler.warn.override.varargs.extra=\
2140 {0}; overriding method is missing ''...''
2141
2142 # 0: message segment
2143 compiler.warn.override.bridge=\
2144 {0}; overridden method is a bridge method
2145
2146 # 0: symbol
2827 required: {1}\n\
2828 found: {0}
2829
2830 ## The following are all possible strings for the first argument ({0}) of the
2831 ## above string.
2832 compiler.misc.type.req.class=\
2833 class
2834
2835 compiler.misc.type.req.class.array=\
2836 class or array
2837
2838 compiler.misc.type.req.array.or.iterable=\
2839 array or java.lang.Iterable
2840
2841 compiler.misc.type.req.ref=\
2842 reference
2843
2844 compiler.misc.type.req.exact=\
2845 class or interface without bounds
2846
2847 # 0: type
2848 compiler.misc.type.parameter=\
2849 type parameter {0}
2850
2851 #####
2852
2853 ## The following are all possible strings for the last argument of all those
2854 ## diagnostics whose key ends in ".1"
2855
2856 # 0: type, 1: list of type
2857 compiler.misc.no.unique.maximal.instance.exists=\
2858 no unique maximal instance exists for type variable {0} with upper bounds {1}
2859
2860 # 0: type, 1: list of type
2861 compiler.misc.no.unique.minimal.instance.exists=\
2862 no unique minimal instance exists for type variable {0} with lower bounds {1}
2863
2864 # 0: type, 1: list of type
2865 compiler.misc.incompatible.upper.bounds=\
2866 inference variable {0} has incompatible upper bounds {1}
3876 --add-opens has no effect at compile time
3877
3878 compiler.misc.locn.module_source_path=\
3879 module source path
3880
3881 compiler.misc.locn.upgrade_module_path=\
3882 upgrade module path
3883
3884 compiler.misc.locn.system_modules=\
3885 system modules
3886
3887 compiler.misc.locn.module_path=\
3888 application module path
3889
3890 compiler.misc.cant.resolve.modules=\
3891 cannot resolve modules
3892
3893 compiler.misc.bad.requires.flag=\
3894 invalid flag for "requires java.base": {0}
3895
3896 # 0: string
3897 compiler.err.invalid.module.specifier=\
3898 module specifier not allowed: {0}
3899
3900 # 0: symbol
3901 compiler.warn.service.provided.but.not.exported.or.used=\
3902 service interface provided but not exported or used
3903
3904 # 0: kind name, 1: symbol, 2: symbol
3905 # lint: exports
3906 compiler.warn.leaks.not.accessible=\
3907 {0} {1} in module {2} is not accessible to clients that require this module
3908 # 0: kind name, 1: symbol, 2: symbol
3909 # lint: exports
3910 compiler.warn.leaks.not.accessible.unexported=\
3911 {0} {1} in module {2} is not exported
3912 # 0: kind name, 1: symbol, 2: symbol
3913 # lint: exports
3914 compiler.warn.leaks.not.accessible.not.required.transitive=\
3915 {0} {1} in module {2} is not indirectly exported using ''requires transitive''
4217 # 0: option name
4218 compiler.err.release.bootclasspath.conflict=\
4219 option {0} cannot be used together with --release
4220
4221 # 0: string
4222 compiler.err.unsupported.release.version=\
4223 release version {0} not supported
4224
4225 # 0: string
4226 compiler.err.file.not.found=\
4227 file not found: {0}
4228
4229 # 0: string, 1: source
4230 compiler.err.preview.not.latest=\
4231 invalid source release {0} with --enable-preview\n\
4232 (preview language features are only supported for release {1})
4233
4234 compiler.err.preview.without.source.or.release=\
4235 --enable-preview must be used with either -source or --release
4236
4237 # 0: symbol
4238 compiler.err.deconstruction.pattern.only.records=\
4239 deconstruction patterns can only be applied to records, {0} is not a record
4240
4241 compiler.err.deconstruction.pattern.var.not.allowed=\
4242 deconstruction patterns can only be applied to records, var is not allowed
4243
4244 # 0: list of type, 1: list of type
4245 compiler.err.incorrect.number.of.nested.patterns=\
4246 incorrect number of nested patterns\n\
4247 required: {0}\n\
4248 found: {1}
4249
4250 # 0: kind name, 1: symbol
4251 # lint: preview
4252 compiler.warn.declared.using.preview=\
4253 {0} {1} is declared using a preview feature, which may be removed in a future release.
4254
4255 # lint: identity
4256 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4257 attempt to synchronize on an instance of a value-based class
4258
4259 # lint: identity
4260 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4261 use of a value-based class with an operation that expects reliable identity
4262
4263 # 0: type
4264 compiler.err.enclosing.class.type.non.denotable=\
4265 enclosing class type: {0}\n\
4266 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=\
2107 an Externalizable class needs a public no-arg constructor
2108
2109 # lint: serial
2110 compiler.warn.non.serializable.instance.field=\
2111 non-transient instance field of a serializable class declared with a non-serializable type
2112
2113 # 0: type
2114 # lint: serial
2115 compiler.warn.non.serializable.instance.field.array=\
2116 non-transient instance field of a serializable class declared with an array having a non-serializable base component type {0}
2117
2118 # lint: serial
2119 compiler.warn.non.private.method.weaker.access=\
2120 serialization-related method declared non-private in an interface will prevent\n\
2121 classes implementing the interface from declaring the method as private
2122
2123 # lint: serial
2124 compiler.warn.default.ineffective=\
2125 serialization-related default method from an interface will not be run by serialization for an implementing class
2126
2127 # lint: serial
2128 compiler.warn.serializable.value.class.without.write.replace.1=\
2129 serializable value class does not declare, or inherits, a writeReplace method
2130
2131 # lint: serial
2132 compiler.warn.serializable.value.class.without.write.replace.2=\
2133 serializable class does not declare, or inherits, a writeReplace method
2134
2135 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
2136 # lint: overloads
2137 compiler.warn.potentially.ambiguous.overload=\
2138 {0} in {1} is potentially ambiguous with {2} in {3}
2139
2140 # 0: message segment
2141 # lint: overrides
2142 compiler.warn.override.varargs.missing=\
2143 {0}; overridden method has no ''...''
2144
2145 # 0: message segment
2146 # lint: overrides
2147 compiler.warn.override.varargs.extra=\
2148 {0}; overriding method is missing ''...''
2149
2150 # 0: message segment
2151 compiler.warn.override.bridge=\
2152 {0}; overridden method is a bridge method
2153
2154 # 0: symbol
2835 required: {1}\n\
2836 found: {0}
2837
2838 ## The following are all possible strings for the first argument ({0}) of the
2839 ## above string.
2840 compiler.misc.type.req.class=\
2841 class
2842
2843 compiler.misc.type.req.class.array=\
2844 class or array
2845
2846 compiler.misc.type.req.array.or.iterable=\
2847 array or java.lang.Iterable
2848
2849 compiler.misc.type.req.ref=\
2850 reference
2851
2852 compiler.misc.type.req.exact=\
2853 class or interface without bounds
2854
2855 compiler.misc.type.req.identity=\
2856 a type with identity
2857
2858 # 0: type
2859 compiler.misc.type.parameter=\
2860 type parameter {0}
2861
2862 #####
2863
2864 ## The following are all possible strings for the last argument of all those
2865 ## diagnostics whose key ends in ".1"
2866
2867 # 0: type, 1: list of type
2868 compiler.misc.no.unique.maximal.instance.exists=\
2869 no unique maximal instance exists for type variable {0} with upper bounds {1}
2870
2871 # 0: type, 1: list of type
2872 compiler.misc.no.unique.minimal.instance.exists=\
2873 no unique minimal instance exists for type variable {0} with lower bounds {1}
2874
2875 # 0: type, 1: list of type
2876 compiler.misc.incompatible.upper.bounds=\
2877 inference variable {0} has incompatible upper bounds {1}
3887 --add-opens has no effect at compile time
3888
3889 compiler.misc.locn.module_source_path=\
3890 module source path
3891
3892 compiler.misc.locn.upgrade_module_path=\
3893 upgrade module path
3894
3895 compiler.misc.locn.system_modules=\
3896 system modules
3897
3898 compiler.misc.locn.module_path=\
3899 application module path
3900
3901 compiler.misc.cant.resolve.modules=\
3902 cannot resolve modules
3903
3904 compiler.misc.bad.requires.flag=\
3905 invalid flag for "requires java.base": {0}
3906
3907 compiler.misc.bad.access.flags=\
3908 bad access flags combination: {0}
3909
3910 # 0: string
3911 compiler.err.invalid.module.specifier=\
3912 module specifier not allowed: {0}
3913
3914 # 0: symbol
3915 compiler.warn.service.provided.but.not.exported.or.used=\
3916 service interface provided but not exported or used
3917
3918 # 0: kind name, 1: symbol, 2: symbol
3919 # lint: exports
3920 compiler.warn.leaks.not.accessible=\
3921 {0} {1} in module {2} is not accessible to clients that require this module
3922 # 0: kind name, 1: symbol, 2: symbol
3923 # lint: exports
3924 compiler.warn.leaks.not.accessible.unexported=\
3925 {0} {1} in module {2} is not exported
3926 # 0: kind name, 1: symbol, 2: symbol
3927 # lint: exports
3928 compiler.warn.leaks.not.accessible.not.required.transitive=\
3929 {0} {1} in module {2} is not indirectly exported using ''requires transitive''
4231 # 0: option name
4232 compiler.err.release.bootclasspath.conflict=\
4233 option {0} cannot be used together with --release
4234
4235 # 0: string
4236 compiler.err.unsupported.release.version=\
4237 release version {0} not supported
4238
4239 # 0: string
4240 compiler.err.file.not.found=\
4241 file not found: {0}
4242
4243 # 0: string, 1: source
4244 compiler.err.preview.not.latest=\
4245 invalid source release {0} with --enable-preview\n\
4246 (preview language features are only supported for release {1})
4247
4248 compiler.err.preview.without.source.or.release=\
4249 --enable-preview must be used with either -source or --release
4250
4251 compiler.misc.feature.value.classes=\
4252 value classes
4253
4254 # 0: type, 1: type
4255 compiler.err.value.type.has.identity.super.type=\
4256 The identity type {1} cannot be a supertype of the value type {0}
4257
4258 # 0: symbol, 1: type
4259 compiler.err.concrete.supertype.for.value.class=\
4260 The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
4261
4262 # 0: symbol, 1: symbol, 2: type
4263 compiler.err.super.class.method.cannot.be.synchronized=\
4264 The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
4265
4266 compiler.err.non.abstract.value.class.cant.be.sealed.or.non.sealed=\
4267 ''sealed'' or ''non-sealed'' modifiers are only applicable to abstract value classes
4268
4269 # 0: symbol
4270 compiler.err.strict.field.not.have.been.initialized.before.super=\
4271 strict field {0} is not initialized before the supertype constructor has been called
4272
4273 # 0: symbol
4274 compiler.err.deconstruction.pattern.only.records=\
4275 deconstruction patterns can only be applied to records, {0} is not a record
4276
4277 compiler.err.deconstruction.pattern.var.not.allowed=\
4278 deconstruction patterns can only be applied to records, var is not allowed
4279
4280 # 0: list of type, 1: list of type
4281 compiler.err.incorrect.number.of.nested.patterns=\
4282 incorrect number of nested patterns\n\
4283 required: {0}\n\
4284 found: {1}
4285
4286 # 0: kind name, 1: symbol
4287 # lint: preview
4288 compiler.warn.declared.using.preview=\
4289 {0} {1} is declared using a preview feature, which may be removed in a future release.
4290
4291 # lint: identity
4292 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4293 attempt to synchronize on an instance of a value-based class
4294
4295 # lint: identity
4296 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4297 use of a value-based class with an operation that expects reliable identity
4298
4299 # 0: type
4300 compiler.err.enclosing.class.type.non.denotable=\
4301 enclosing class type: {0}\n\
4302 is non-denotable, try casting to a denotable type
4303
4304 compiler.warn.value.finalize=\
4305 value classes should not have finalize methods, they are not invoked
|