< prev index next >

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

Print this page

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}

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




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}

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