< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties

Print this page

 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=\

2158     an Externalizable class needs a public no-arg constructor
2159 
2160 # lint: serial
2161 compiler.warn.non.serializable.instance.field=\
2162     non-transient instance field of a serializable class declared with a non-serializable type
2163 
2164 # 0: type
2165 # lint: serial
2166 compiler.warn.non.serializable.instance.field.array=\
2167     non-transient instance field of a serializable class declared with an array having a non-serializable base component type {0}
2168 
2169 # lint: serial
2170 compiler.warn.non.private.method.weaker.access=\
2171     serialization-related method declared non-private in an interface will prevent\n\
2172     classes implementing the interface from declaring the method as private
2173 
2174 # lint: serial
2175 compiler.warn.default.ineffective=\
2176     serialization-related default method from an interface will not be run by serialization for an implementing class
2177 













2178 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
2179 # lint: overloads
2180 compiler.warn.potentially.ambiguous.overload=\
2181     {0} in {1} is potentially ambiguous with {2} in {3}
2182 
2183 # 0: message segment
2184 # lint: overrides
2185 compiler.warn.override.varargs.missing=\
2186     {0}; overridden method has no ''...''
2187 
2188 # 0: message segment
2189 # lint: overrides
2190 compiler.warn.override.varargs.extra=\
2191     {0}; overriding method is missing ''...''
2192 
2193 # 0: message segment
2194 compiler.warn.override.bridge=\
2195     {0}; overridden method is a bridge method
2196 
2197 # 0: symbol

2907     required: {1}\n\
2908     found:    {0}
2909 
2910 ## The following are all possible strings for the first argument ({0}) of the
2911 ## above string.
2912 compiler.misc.type.req.class=\
2913     class
2914 
2915 compiler.misc.type.req.class.array=\
2916     class or array
2917 
2918 compiler.misc.type.req.array.or.iterable=\
2919     array or java.lang.Iterable
2920 
2921 compiler.misc.type.req.ref=\
2922     reference
2923 
2924 compiler.misc.type.req.exact=\
2925     class or interface without bounds
2926 



2927 # 0: type
2928 compiler.misc.type.parameter=\
2929     type parameter {0}
2930 
2931 #####
2932 
2933 ## The following are all possible strings for the last argument of all those
2934 ## diagnostics whose key ends in ".1"
2935 
2936 # 0: type, 1: list of type
2937 compiler.misc.no.unique.maximal.instance.exists=\
2938     no unique maximal instance exists for type variable {0} with upper bounds {1}
2939 
2940 # 0: type, 1: list of type
2941 compiler.misc.no.unique.minimal.instance.exists=\
2942     no unique minimal instance exists for type variable {0} with lower bounds {1}
2943 
2944 # 0: type, 1: list of type
2945 compiler.misc.incompatible.upper.bounds=\
2946     inference variable {0} has incompatible upper bounds {1}

3967     --add-opens has no effect at compile time
3968 
3969 compiler.misc.locn.module_source_path=\
3970     module source path
3971 
3972 compiler.misc.locn.upgrade_module_path=\
3973     upgrade module path
3974 
3975 compiler.misc.locn.system_modules=\
3976     system modules
3977 
3978 compiler.misc.locn.module_path=\
3979     application module path
3980 
3981 compiler.misc.cant.resolve.modules=\
3982     cannot resolve modules
3983 
3984 compiler.misc.bad.requires.flag=\
3985     invalid flag for "requires java.base": {0}
3986 



3987 # 0: string
3988 compiler.err.invalid.module.specifier=\
3989     module specifier not allowed: {0}
3990 
3991 # 0: symbol
3992 compiler.warn.service.provided.but.not.exported.or.used=\
3993     service interface provided but not exported or used
3994 
3995 # 0: kind name, 1: symbol, 2: symbol
3996 # lint: exports
3997 compiler.warn.leaks.not.accessible=\
3998     {0} {1} in module {2} is not accessible to clients that require this module
3999 # 0: kind name, 1: symbol, 2: symbol
4000 # lint: exports
4001 compiler.warn.leaks.not.accessible.unexported=\
4002     {0} {1} in module {2} is not exported
4003 # 0: kind name, 1: symbol, 2: symbol
4004 # lint: exports
4005 compiler.warn.leaks.not.accessible.not.required.transitive=\
4006     {0} {1} in module {2} is not indirectly exported using ''requires transitive''

4308 # 0: option name
4309 compiler.err.release.bootclasspath.conflict=\
4310     option {0} cannot be used together with --release
4311 
4312 # 0: string
4313 compiler.err.unsupported.release.version=\
4314     release version {0} not supported
4315 
4316 # 0: string
4317 compiler.err.file.not.found=\
4318     file not found: {0}
4319 
4320 # 0: string, 1: source
4321 compiler.err.preview.not.latest=\
4322     invalid source release {0} with --enable-preview\n\
4323     (preview language features are only supported for release {1})
4324 
4325 compiler.err.preview.without.source.or.release=\
4326     --enable-preview must be used with either -source or --release
4327 






















4328 # 0: symbol
4329 compiler.err.deconstruction.pattern.only.records=\
4330     deconstruction patterns can only be applied to records, {0} is not a record
4331 
4332 compiler.err.deconstruction.pattern.var.not.allowed=\
4333     deconstruction patterns can only be applied to records, var is not allowed
4334 
4335 # 0: list of type, 1: list of type
4336 compiler.err.incorrect.number.of.nested.patterns=\
4337     incorrect number of nested patterns\n\
4338     required: {0}\n\
4339     found: {1}
4340 
4341 # 0: kind name, 1: symbol
4342 # lint: preview
4343 # flags: aggregate, mandatory, default-enabled
4344 compiler.warn.declared.using.preview=\
4345     {0} {1} is declared using a preview feature, which may be removed in a future release.
4346 
4347 # lint: identity
4348 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4349     attempt to synchronize on an instance of a value-based class
4350 
4351 # lint: identity
4352 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4353     use of a value-based class with an operation that expects reliable identity
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




 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=\

2158     an Externalizable class needs a public no-arg constructor
2159 
2160 # lint: serial
2161 compiler.warn.non.serializable.instance.field=\
2162     non-transient instance field of a serializable class declared with a non-serializable type
2163 
2164 # 0: type
2165 # lint: serial
2166 compiler.warn.non.serializable.instance.field.array=\
2167     non-transient instance field of a serializable class declared with an array having a non-serializable base component type {0}
2168 
2169 # lint: serial
2170 compiler.warn.non.private.method.weaker.access=\
2171     serialization-related method declared non-private in an interface will prevent\n\
2172     classes implementing the interface from declaring the method as private
2173 
2174 # lint: serial
2175 compiler.warn.default.ineffective=\
2176     serialization-related default method from an interface will not be run by serialization for an implementing class
2177 
2178 # lint: serial
2179 compiler.warn.serializable.value.class.without.write.replace.1=\
2180     serializable value class does not declare, or inherits, a writeReplace method
2181 
2182 # lint: serial
2183 compiler.warn.serializable.value.class.without.write.replace.2=\
2184     serializable class does not declare, or inherits, a writeReplace method
2185 
2186 # 0: string
2187 # lint: serial
2188 compiler.warn.ineffectual.serial.method.value.class=\
2189     serialization-related method ''{0}'' is not effective in a value class
2190 
2191 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
2192 # lint: overloads
2193 compiler.warn.potentially.ambiguous.overload=\
2194     {0} in {1} is potentially ambiguous with {2} in {3}
2195 
2196 # 0: message segment
2197 # lint: overrides
2198 compiler.warn.override.varargs.missing=\
2199     {0}; overridden method has no ''...''
2200 
2201 # 0: message segment
2202 # lint: overrides
2203 compiler.warn.override.varargs.extra=\
2204     {0}; overriding method is missing ''...''
2205 
2206 # 0: message segment
2207 compiler.warn.override.bridge=\
2208     {0}; overridden method is a bridge method
2209 
2210 # 0: symbol

2920     required: {1}\n\
2921     found:    {0}
2922 
2923 ## The following are all possible strings for the first argument ({0}) of the
2924 ## above string.
2925 compiler.misc.type.req.class=\
2926     class
2927 
2928 compiler.misc.type.req.class.array=\
2929     class or array
2930 
2931 compiler.misc.type.req.array.or.iterable=\
2932     array or java.lang.Iterable
2933 
2934 compiler.misc.type.req.ref=\
2935     reference
2936 
2937 compiler.misc.type.req.exact=\
2938     class or interface without bounds
2939 
2940 compiler.misc.type.req.identity=\
2941     a type with identity
2942 
2943 # 0: type
2944 compiler.misc.type.parameter=\
2945     type parameter {0}
2946 
2947 #####
2948 
2949 ## The following are all possible strings for the last argument of all those
2950 ## diagnostics whose key ends in ".1"
2951 
2952 # 0: type, 1: list of type
2953 compiler.misc.no.unique.maximal.instance.exists=\
2954     no unique maximal instance exists for type variable {0} with upper bounds {1}
2955 
2956 # 0: type, 1: list of type
2957 compiler.misc.no.unique.minimal.instance.exists=\
2958     no unique minimal instance exists for type variable {0} with lower bounds {1}
2959 
2960 # 0: type, 1: list of type
2961 compiler.misc.incompatible.upper.bounds=\
2962     inference variable {0} has incompatible upper bounds {1}

3983     --add-opens has no effect at compile time
3984 
3985 compiler.misc.locn.module_source_path=\
3986     module source path
3987 
3988 compiler.misc.locn.upgrade_module_path=\
3989     upgrade module path
3990 
3991 compiler.misc.locn.system_modules=\
3992     system modules
3993 
3994 compiler.misc.locn.module_path=\
3995     application module path
3996 
3997 compiler.misc.cant.resolve.modules=\
3998     cannot resolve modules
3999 
4000 compiler.misc.bad.requires.flag=\
4001     invalid flag for "requires java.base": {0}
4002 
4003 compiler.misc.bad.access.flags=\
4004     bad access flags combination: {0}
4005 
4006 # 0: string
4007 compiler.err.invalid.module.specifier=\
4008     module specifier not allowed: {0}
4009 
4010 # 0: symbol
4011 compiler.warn.service.provided.but.not.exported.or.used=\
4012     service interface provided but not exported or used
4013 
4014 # 0: kind name, 1: symbol, 2: symbol
4015 # lint: exports
4016 compiler.warn.leaks.not.accessible=\
4017     {0} {1} in module {2} is not accessible to clients that require this module
4018 # 0: kind name, 1: symbol, 2: symbol
4019 # lint: exports
4020 compiler.warn.leaks.not.accessible.unexported=\
4021     {0} {1} in module {2} is not exported
4022 # 0: kind name, 1: symbol, 2: symbol
4023 # lint: exports
4024 compiler.warn.leaks.not.accessible.not.required.transitive=\
4025     {0} {1} in module {2} is not indirectly exported using ''requires transitive''

4327 # 0: option name
4328 compiler.err.release.bootclasspath.conflict=\
4329     option {0} cannot be used together with --release
4330 
4331 # 0: string
4332 compiler.err.unsupported.release.version=\
4333     release version {0} not supported
4334 
4335 # 0: string
4336 compiler.err.file.not.found=\
4337     file not found: {0}
4338 
4339 # 0: string, 1: source
4340 compiler.err.preview.not.latest=\
4341     invalid source release {0} with --enable-preview\n\
4342     (preview language features are only supported for release {1})
4343 
4344 compiler.err.preview.without.source.or.release=\
4345     --enable-preview must be used with either -source or --release
4346 
4347 compiler.misc.feature.value.classes=\
4348     value classes
4349 
4350 # 0: type, 1: type
4351 compiler.err.value.type.has.identity.super.type=\
4352     The identity type {1} cannot be a supertype of the value type {0}
4353 
4354 # 0: symbol, 1: type
4355 compiler.err.concrete.supertype.for.value.class=\
4356     The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
4357 
4358 # 0: symbol, 1: symbol, 2: type
4359 compiler.err.super.class.method.cannot.be.synchronized=\
4360     The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
4361 
4362 compiler.err.non.abstract.value.class.cant.be.sealed.or.non.sealed=\
4363     ''sealed'' or ''non-sealed'' modifiers are only applicable to abstract value classes
4364 
4365 # 0: symbol
4366 compiler.err.strict.field.not.have.been.initialized.before.super=\
4367     strict field {0} is not initialized before the supertype constructor has been called
4368 
4369 # 0: symbol
4370 compiler.err.deconstruction.pattern.only.records=\
4371     deconstruction patterns can only be applied to records, {0} is not a record
4372 
4373 compiler.err.deconstruction.pattern.var.not.allowed=\
4374     deconstruction patterns can only be applied to records, var is not allowed
4375 
4376 # 0: list of type, 1: list of type
4377 compiler.err.incorrect.number.of.nested.patterns=\
4378     incorrect number of nested patterns\n\
4379     required: {0}\n\
4380     found: {1}
4381 
4382 # 0: kind name, 1: symbol
4383 # lint: preview
4384 # flags: aggregate, mandatory, default-enabled
4385 compiler.warn.declared.using.preview=\
4386     {0} {1} is declared using a preview feature, which may be removed in a future release.
4387 
4388 # lint: identity
4389 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4390     attempt to synchronize on an instance of a value-based class
4391 
4392 # lint: identity
4393 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4394     use of a value-based class with an operation that expects reliable identity
4395 
4396 # 0: symbol or name
4397 # lint: initialization
4398 compiler.warn.would.not.be.allowed.in.prologue=\
4399     reference to {0} would not be allowed in the prologue phase
4400 
4401 # 0: type
4402 compiler.err.enclosing.class.type.non.denotable=\
4403     enclosing class type: {0}\n\
4404     is non-denotable, try casting to a denotable type
4405 
4406 compiler.warn.value.finalize=\
4407     value classes should not have finalize methods, they are not invoked
< prev index next >