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

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

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



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

3960     --add-opens has no effect at compile time
3961 
3962 compiler.misc.locn.module_source_path=\
3963     module source path
3964 
3965 compiler.misc.locn.upgrade_module_path=\
3966     upgrade module path
3967 
3968 compiler.misc.locn.system_modules=\
3969     system modules
3970 
3971 compiler.misc.locn.module_path=\
3972     application module path
3973 
3974 compiler.misc.cant.resolve.modules=\
3975     cannot resolve modules
3976 
3977 compiler.misc.bad.requires.flag=\
3978     invalid flag for "requires java.base": {0}
3979 



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

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






















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





4348 # 0: type
4349 compiler.err.enclosing.class.type.non.denotable=\
4350     enclosing class type: {0}\n\
4351     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: string
2180 # lint: serial
2181 compiler.warn.ineffectual.serial.method.value.class=\
2182     serialization-related method ''{0}'' is not effective in a value class
2183 
2184 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
2185 # lint: overloads
2186 compiler.warn.potentially.ambiguous.overload=\
2187     {0} in {1} is potentially ambiguous with {2} in {3}
2188 
2189 # 0: message segment
2190 # lint: overrides
2191 compiler.warn.override.varargs.missing=\
2192     {0}; overridden method has no ''...''
2193 
2194 # 0: message segment
2195 # lint: overrides
2196 compiler.warn.override.varargs.extra=\
2197     {0}; overriding method is missing ''...''
2198 
2199 # 0: message segment
2200 compiler.warn.override.bridge=\
2201     {0}; overridden method is a bridge method
2202 
2203 # 0: symbol

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

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

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