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

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

2861     required: {1}\n\
2862     found:    {0}
2863 
2864 ## The following are all possible strings for the first argument ({0}) of the
2865 ## above string.
2866 compiler.misc.type.req.class=\
2867     class
2868 
2869 compiler.misc.type.req.class.array=\
2870     class or array
2871 
2872 compiler.misc.type.req.array.or.iterable=\
2873     array or java.lang.Iterable
2874 
2875 compiler.misc.type.req.ref=\
2876     reference
2877 
2878 compiler.misc.type.req.exact=\
2879     class or interface without bounds
2880 



2881 # 0: type
2882 compiler.misc.type.parameter=\
2883     type parameter {0}
2884 
2885 #####
2886 
2887 ## The following are all possible strings for the last argument of all those
2888 ## diagnostics whose key ends in ".1"
2889 
2890 # 0: type, 1: list of type
2891 compiler.misc.no.unique.maximal.instance.exists=\
2892     no unique maximal instance exists for type variable {0} with upper bounds {1}
2893 
2894 # 0: type, 1: list of type
2895 compiler.misc.no.unique.minimal.instance.exists=\
2896     no unique minimal instance exists for type variable {0} with lower bounds {1}
2897 
2898 # 0: type, 1: list of type
2899 compiler.misc.incompatible.upper.bounds=\
2900     inference variable {0} has incompatible upper bounds {1}

3921     --add-opens has no effect at compile time
3922 
3923 compiler.misc.locn.module_source_path=\
3924     module source path
3925 
3926 compiler.misc.locn.upgrade_module_path=\
3927     upgrade module path
3928 
3929 compiler.misc.locn.system_modules=\
3930     system modules
3931 
3932 compiler.misc.locn.module_path=\
3933     application module path
3934 
3935 compiler.misc.cant.resolve.modules=\
3936     cannot resolve modules
3937 
3938 compiler.misc.bad.requires.flag=\
3939     invalid flag for "requires java.base": {0}
3940 



3941 # 0: string
3942 compiler.err.invalid.module.specifier=\
3943     module specifier not allowed: {0}
3944 
3945 # 0: symbol
3946 compiler.warn.service.provided.but.not.exported.or.used=\
3947     service interface provided but not exported or used
3948 
3949 # 0: kind name, 1: symbol, 2: symbol
3950 # lint: exports
3951 compiler.warn.leaks.not.accessible=\
3952     {0} {1} in module {2} is not accessible to clients that require this module
3953 # 0: kind name, 1: symbol, 2: symbol
3954 # lint: exports
3955 compiler.warn.leaks.not.accessible.unexported=\
3956     {0} {1} in module {2} is not exported
3957 # 0: kind name, 1: symbol, 2: symbol
3958 # lint: exports
3959 compiler.warn.leaks.not.accessible.not.required.transitive=\
3960     {0} {1} in module {2} is not indirectly exported using ''requires transitive''

4262 # 0: option name
4263 compiler.err.release.bootclasspath.conflict=\
4264     option {0} cannot be used together with --release
4265 
4266 # 0: string
4267 compiler.err.unsupported.release.version=\
4268     release version {0} not supported
4269 
4270 # 0: string
4271 compiler.err.file.not.found=\
4272     file not found: {0}
4273 
4274 # 0: string, 1: source
4275 compiler.err.preview.not.latest=\
4276     invalid source release {0} with --enable-preview\n\
4277     (preview language features are only supported for release {1})
4278 
4279 compiler.err.preview.without.source.or.release=\
4280     --enable-preview must be used with either -source or --release
4281 






















4282 # 0: symbol
4283 compiler.err.deconstruction.pattern.only.records=\
4284     deconstruction patterns can only be applied to records, {0} is not a record
4285 
4286 compiler.err.deconstruction.pattern.var.not.allowed=\
4287     deconstruction patterns can only be applied to records, var is not allowed
4288 
4289 # 0: list of type, 1: list of type
4290 compiler.err.incorrect.number.of.nested.patterns=\
4291     incorrect number of nested patterns\n\
4292     required: {0}\n\
4293     found: {1}
4294 
4295 # 0: kind name, 1: symbol
4296 # lint: preview
4297 # flags: aggregate, mandatory, default-enabled
4298 compiler.warn.declared.using.preview=\
4299     {0} {1} is declared using a preview feature, which may be removed in a future release.
4300 
4301 # lint: identity
4302 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4303     attempt to synchronize on an instance of a value-based class
4304 
4305 # lint: identity
4306 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4307     use of a value-based class with an operation that expects reliable identity
4308 





4309 # 0: type
4310 compiler.err.enclosing.class.type.non.denotable=\
4311     enclosing class type: {0}\n\
4312     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

2869     required: {1}\n\
2870     found:    {0}
2871 
2872 ## The following are all possible strings for the first argument ({0}) of the
2873 ## above string.
2874 compiler.misc.type.req.class=\
2875     class
2876 
2877 compiler.misc.type.req.class.array=\
2878     class or array
2879 
2880 compiler.misc.type.req.array.or.iterable=\
2881     array or java.lang.Iterable
2882 
2883 compiler.misc.type.req.ref=\
2884     reference
2885 
2886 compiler.misc.type.req.exact=\
2887     class or interface without bounds
2888 
2889 compiler.misc.type.req.identity=\
2890     a type with identity
2891 
2892 # 0: type
2893 compiler.misc.type.parameter=\
2894     type parameter {0}
2895 
2896 #####
2897 
2898 ## The following are all possible strings for the last argument of all those
2899 ## diagnostics whose key ends in ".1"
2900 
2901 # 0: type, 1: list of type
2902 compiler.misc.no.unique.maximal.instance.exists=\
2903     no unique maximal instance exists for type variable {0} with upper bounds {1}
2904 
2905 # 0: type, 1: list of type
2906 compiler.misc.no.unique.minimal.instance.exists=\
2907     no unique minimal instance exists for type variable {0} with lower bounds {1}
2908 
2909 # 0: type, 1: list of type
2910 compiler.misc.incompatible.upper.bounds=\
2911     inference variable {0} has incompatible upper bounds {1}

3932     --add-opens has no effect at compile time
3933 
3934 compiler.misc.locn.module_source_path=\
3935     module source path
3936 
3937 compiler.misc.locn.upgrade_module_path=\
3938     upgrade module path
3939 
3940 compiler.misc.locn.system_modules=\
3941     system modules
3942 
3943 compiler.misc.locn.module_path=\
3944     application module path
3945 
3946 compiler.misc.cant.resolve.modules=\
3947     cannot resolve modules
3948 
3949 compiler.misc.bad.requires.flag=\
3950     invalid flag for "requires java.base": {0}
3951 
3952 compiler.misc.bad.access.flags=\
3953     bad access flags combination: {0}
3954 
3955 # 0: string
3956 compiler.err.invalid.module.specifier=\
3957     module specifier not allowed: {0}
3958 
3959 # 0: symbol
3960 compiler.warn.service.provided.but.not.exported.or.used=\
3961     service interface provided but not exported or used
3962 
3963 # 0: kind name, 1: symbol, 2: symbol
3964 # lint: exports
3965 compiler.warn.leaks.not.accessible=\
3966     {0} {1} in module {2} is not accessible to clients that require this module
3967 # 0: kind name, 1: symbol, 2: symbol
3968 # lint: exports
3969 compiler.warn.leaks.not.accessible.unexported=\
3970     {0} {1} in module {2} is not exported
3971 # 0: kind name, 1: symbol, 2: symbol
3972 # lint: exports
3973 compiler.warn.leaks.not.accessible.not.required.transitive=\
3974     {0} {1} in module {2} is not indirectly exported using ''requires transitive''

4276 # 0: option name
4277 compiler.err.release.bootclasspath.conflict=\
4278     option {0} cannot be used together with --release
4279 
4280 # 0: string
4281 compiler.err.unsupported.release.version=\
4282     release version {0} not supported
4283 
4284 # 0: string
4285 compiler.err.file.not.found=\
4286     file not found: {0}
4287 
4288 # 0: string, 1: source
4289 compiler.err.preview.not.latest=\
4290     invalid source release {0} with --enable-preview\n\
4291     (preview language features are only supported for release {1})
4292 
4293 compiler.err.preview.without.source.or.release=\
4294     --enable-preview must be used with either -source or --release
4295 
4296 compiler.misc.feature.value.classes=\
4297     value classes
4298 
4299 # 0: type, 1: type
4300 compiler.err.value.type.has.identity.super.type=\
4301     The identity type {1} cannot be a supertype of the value type {0}
4302 
4303 # 0: symbol, 1: type
4304 compiler.err.concrete.supertype.for.value.class=\
4305     The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
4306 
4307 # 0: symbol, 1: symbol, 2: type
4308 compiler.err.super.class.method.cannot.be.synchronized=\
4309     The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
4310 
4311 compiler.err.non.abstract.value.class.cant.be.sealed.or.non.sealed=\
4312     ''sealed'' or ''non-sealed'' modifiers are only applicable to abstract value classes
4313 
4314 # 0: symbol
4315 compiler.err.strict.field.not.have.been.initialized.before.super=\
4316     strict field {0} is not initialized before the supertype constructor has been called
4317 
4318 # 0: symbol
4319 compiler.err.deconstruction.pattern.only.records=\
4320     deconstruction patterns can only be applied to records, {0} is not a record
4321 
4322 compiler.err.deconstruction.pattern.var.not.allowed=\
4323     deconstruction patterns can only be applied to records, var is not allowed
4324 
4325 # 0: list of type, 1: list of type
4326 compiler.err.incorrect.number.of.nested.patterns=\
4327     incorrect number of nested patterns\n\
4328     required: {0}\n\
4329     found: {1}
4330 
4331 # 0: kind name, 1: symbol
4332 # lint: preview
4333 # flags: aggregate, mandatory, default-enabled
4334 compiler.warn.declared.using.preview=\
4335     {0} {1} is declared using a preview feature, which may be removed in a future release.
4336 
4337 # lint: identity
4338 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4339     attempt to synchronize on an instance of a value-based class
4340 
4341 # lint: identity
4342 compiler.warn.attempt.to.use.value.based.where.identity.expected=\
4343     use of a value-based class with an operation that expects reliable identity
4344 
4345 # 0: symbol or name
4346 # lint: initialization
4347 compiler.warn.would.not.be.allowed.in.prologue=\
4348     reference to {0} would not be allowed in the prologue phase
4349 
4350 # 0: type
4351 compiler.err.enclosing.class.type.non.denotable=\
4352     enclosing class type: {0}\n\
4353     is non-denotable, try casting to a denotable type
4354 
4355 compiler.warn.value.finalize=\
4356     value classes should not have finalize methods, they are not invoked
< prev index next >