< prev index next >

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

Print this page

 216     yield outside of switch expression
 217 
 218 compiler.err.no.switch.expression.qualify=\
 219     yield outside of switch expression\n\
 220     (to invoke a method called yield, qualify the yield with a receiver or type name)
 221 
 222 compiler.err.invalid.yield=\
 223     invalid use of a restricted identifier ''yield''\n\
 224     (to invoke a method called yield, qualify the yield with a receiver or type name)
 225 
 226 compiler.warn.invalid.yield=\
 227     ''yield'' may become a restricted identifier in a future release\n\
 228     (to invoke a method called yield, qualify the yield with a receiver or type name)
 229 
 230 compiler.err.switch.expression.empty=\
 231     switch expression does not have any case clauses
 232 
 233 compiler.err.switch.expression.no.result.expressions=\
 234     switch expression does not have any result expressions
 235 
 236 # 0: name
 237 compiler.err.call.must.be.first.stmt.in.ctor=\
 238     call to {0} must be first statement in constructor








 239 
 240 # 0: symbol kind, 1: name, 2: symbol kind, 3: type, 4: message segment
 241 compiler.err.cant.apply.symbol.noargs=\
 242     {0} {1} in {2} {3} cannot be applied to given types;\n\
 243     reason: {4}
 244 
 245 # 0: symbol kind, 1: name, 2: list of type or message segment, 3: list of type or message segment, 4: symbol kind, 5: type, 6: message segment
 246 compiler.err.cant.apply.symbol=\
 247     {0} {1} in {4} {5} cannot be applied to given types;\n\
 248     required: {2}\n\
 249     found:    {3}\n\
 250     reason: {6}
 251 
 252 # 0: symbol kind, 1: name, 2: list of type
 253 compiler.err.cant.apply.symbols=\
 254     no suitable {0} found for {1}({2})
 255 
 256 # 0: symbol kind, 1: name, 2: list of type or message segment, 3: list of type or message segment, 4: symbol kind, 5: type, 6: message segment
 257 compiler.misc.cant.apply.symbol=\
 258     {0} {1} in {4} {5} cannot be applied to given types\n\

 370 compiler.misc.inner.cls=\
 371     an inner class
 372 
 373 compiler.misc.guard=\
 374     a guard
 375 
 376 # 0: type
 377 compiler.err.cant.deref=\
 378     {0} cannot be dereferenced
 379 
 380 compiler.err.cant.extend.intf.annotation=\
 381     ''extends'' not allowed for @interfaces
 382 
 383 compiler.err.annotation.decl.not.allowed.here=\
 384     annotation interface declaration not allowed here
 385 
 386 # 0: symbol
 387 compiler.err.cant.inherit.from.final=\
 388     cannot inherit from final {0}
 389 
 390 # 0: symbol or string
 391 compiler.err.cant.ref.before.ctor.called=\
 392     cannot reference {0} before supertype constructor has been called
 393 
 394 compiler.err.cant.select.static.class.from.param.type=\
 395     cannot select a static class from a parameterized type
 396 
 397 # 0: symbol, 1: string, 2: string
 398 compiler.err.cant.inherit.diff.arg=\
 399     {0} cannot be inherited with different arguments: <{1}> and <{2}>
 400 
 401 compiler.err.catch.without.try=\
 402     ''catch'' without ''try''
 403 
 404 # 0: kind name, 1: symbol
 405 compiler.err.clash.with.pkg.of.same.name=\
 406     {0} {1} clashes with package of same name
 407 
 408 compiler.err.class.not.allowed=\
 409     class, interface or enum declaration not allowed here
 410 

 737 compiler.err.illegal.start.of.expr=\
 738     illegal start of expression
 739 
 740 compiler.err.illegal.start.of.stmt=\
 741     illegal start of statement
 742 
 743 compiler.err.illegal.start.of.type=\
 744     illegal start of type
 745 
 746 compiler.err.illegal.parenthesized.expression=\
 747     illegal parenthesized expression
 748 
 749 compiler.err.illegal.unicode.esc=\
 750     illegal unicode escape
 751 
 752 # 0: symbol
 753 compiler.err.import.requires.canonical=\
 754     import requires canonical name for {0}
 755 
 756 compiler.err.improperly.formed.type.param.missing=\
 757     improperly formed type, some parameters are missing
 758 
 759 compiler.err.improperly.formed.type.inner.raw.param=\
 760     improperly formed type, type arguments given on a raw type
 761 
 762 # 0: type, 1: type
 763 compiler.err.incomparable.types=\
 764     incomparable types: {0} and {1}
 765 
 766 # 0: string
 767 compiler.err.int.number.too.large=\
 768     integer number too large
 769 
 770 compiler.err.intf.annotation.members.cant.have.params=\
 771     elements in annotation interface declarations cannot declare formal parameters
 772 
 773 # 0: symbol
 774 compiler.err.intf.annotation.cant.have.type.params=\
 775     annotation interface {0} cannot be generic
 776 
 777 compiler.err.intf.annotation.members.cant.have.type.params=\

2677     required: {1}\n\
2678     found:    {0}
2679 
2680 ## The following are all possible strings for the first argument ({0}) of the
2681 ## above string.
2682 compiler.misc.type.req.class=\
2683     class
2684 
2685 compiler.misc.type.req.class.array=\
2686     class or array
2687 
2688 compiler.misc.type.req.array.or.iterable=\
2689     array or java.lang.Iterable
2690 
2691 compiler.misc.type.req.ref=\
2692     reference
2693 
2694 compiler.misc.type.req.exact=\
2695     class or interface without bounds
2696 



2697 # 0: type
2698 compiler.misc.type.parameter=\
2699     type parameter {0}
2700 
2701 #####
2702 
2703 ## The following are all possible strings for the last argument of all those
2704 ## diagnostics whose key ends in ".1"
2705 
2706 # 0: type, 1: list of type
2707 compiler.misc.no.unique.maximal.instance.exists=\
2708     no unique maximal instance exists for type variable {0} with upper bounds {1}
2709 
2710 # 0: type, 1: list of type
2711 compiler.misc.no.unique.minimal.instance.exists=\
2712     no unique minimal instance exists for type variable {0} with lower bounds {1}
2713 
2714 # 0: type, 1: list of type
2715 compiler.misc.incompatible.upper.bounds=\
2716     inference variable {0} has incompatible upper bounds {1}

3176     records
3177 
3178 compiler.misc.feature.sealed.classes=\
3179     sealed classes
3180 
3181 compiler.misc.feature.case.null=\
3182     null in switch cases
3183 
3184 compiler.misc.feature.pattern.switch=\
3185     patterns in switch statements
3186 
3187 compiler.misc.feature.string.templates=\
3188     string templates
3189 
3190 compiler.misc.feature.unconditional.patterns.in.instanceof=\
3191     unconditional patterns in instanceof
3192 
3193 compiler.misc.feature.unnamed.classes=\
3194     unnamed classes
3195 



3196 compiler.warn.underscore.as.identifier=\
3197     as of release 9, ''_'' is a keyword, and may not be used as an identifier
3198 
3199 compiler.err.underscore.as.identifier=\
3200     as of release 9, ''_'' is a keyword, and may not be used as an identifier
3201 
3202 compiler.err.use.of.underscore.not.allowed=\
3203     underscore not allowed here\n\
3204     as of release 9, ''_'' is a keyword, and may not be used as an identifier\n\
3205     as of release 22, ''_'' can be used as a name in the declaration of unnamed patterns, local variables, exception parameters or lambda parameters
3206 
3207 compiler.err.use.of.underscore.not.allowed.non.variable=\
3208     underscore not allowed here
3209 
3210 compiler.err.use.of.underscore.not.allowed.with.brackets=\
3211     the underscore keyword ''_'' is not allowed to be followed by brackets
3212 
3213 compiler.err.enum.as.identifier=\
3214     as of release 5, ''enum'' is a keyword, and may not be used as an identifier
3215 

3685     --add-opens has no effect at compile time
3686 
3687 compiler.misc.locn.module_source_path=\
3688     module source path
3689 
3690 compiler.misc.locn.upgrade_module_path=\
3691     upgrade module path
3692 
3693 compiler.misc.locn.system_modules=\
3694     system modules
3695 
3696 compiler.misc.locn.module_path=\
3697     application module path
3698 
3699 compiler.misc.cant.resolve.modules=\
3700     cannot resolve modules
3701 
3702 compiler.misc.bad.requires.flag=\
3703     bad requires flag: {0}
3704 



3705 # 0: string
3706 compiler.err.invalid.module.specifier=\
3707     module specifier not allowed: {0}
3708 
3709 # 0: symbol
3710 compiler.warn.service.provided.but.not.exported.or.used=\
3711     service interface provided but not exported or used
3712 
3713 # 0: kind name, 1: symbol, 2: symbol
3714 compiler.warn.leaks.not.accessible=\
3715     {0} {1} in module {2} is not accessible to clients that require this module
3716 # 0: kind name, 1: symbol, 2: symbol
3717 compiler.warn.leaks.not.accessible.unexported=\
3718     {0} {1} in module {2} is not exported
3719 # 0: kind name, 1: symbol, 2: symbol
3720 compiler.warn.leaks.not.accessible.not.required.transitive=\
3721     {0} {1} in module {2} is not indirectly exported using ''requires transitive''
3722 # 0: kind name, 1: symbol, 2: symbol
3723 compiler.warn.leaks.not.accessible.unexported.qualified=\
3724     {0} {1} in module {2} may not be visible to all clients that require this module

3878 compiler.misc.type.must.be.identical.to.corresponding.record.component.type=\
3879     type and arity must match that of the corresponding record component\
3880 
3881 compiler.misc.canonical.must.not.contain.explicit.constructor.invocation=\
3882     canonical constructor must not contain explicit constructor invocation
3883 
3884 # 0: set of flag or string
3885 compiler.misc.canonical.must.not.have.stronger.access=\
3886     attempting to assign stronger access privileges; was {0}
3887 
3888 # other
3889 compiler.err.record.cannot.declare.instance.fields=\
3890     field declaration must be static\n\
3891     (consider replacing field with record component)
3892 
3893 # 0: symbol
3894 compiler.err.invalid.supertype.record=\
3895     classes cannot directly extend {0}
3896 
3897 # 0: symbol
3898 compiler.err.first.statement.must.be.call.to.another.constructor=\
3899     constructor is not canonical, so its first statement must invoke another constructor of class {0}
3900 
3901 compiler.err.instance.initializer.not.allowed.in.records=\
3902     instance initializers not allowed in records
3903 
3904 compiler.err.static.declaration.not.allowed.in.inner.classes=\
3905     static declarations not allowed in inner classes
3906 
3907 compiler.err.record.patterns.annotations.not.allowed=\
3908     annotations not allowed on record patterns
3909 
3910 ############################################
3911 # messages previously at javac.properties
3912 
3913 compiler.err.empty.A.argument=\
3914     -A requires an argument; use ''-Akey'' or ''-Akey=value''
3915 
3916 # 0: string
3917 compiler.err.invalid.A.key=\
3918     key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers
3919 

4016 # 0: option name
4017 compiler.err.release.bootclasspath.conflict=\
4018     option {0} cannot be used together with --release
4019 
4020 # 0: string
4021 compiler.err.unsupported.release.version=\
4022     release version {0} not supported
4023 
4024 # 0: string
4025 compiler.err.file.not.found=\
4026     file not found: {0}
4027 
4028 # 0: string, 1: source
4029 compiler.err.preview.not.latest=\
4030     invalid source release {0} with --enable-preview\n\
4031     (preview language features are only supported for release {1})
4032 
4033 compiler.err.preview.without.source.or.release=\
4034     --enable-preview must be used with either -source or --release
4035 















4036 # 0: symbol
4037 compiler.err.deconstruction.pattern.only.records=\
4038     deconstruction patterns can only be applied to records, {0} is not a record
4039 
4040 compiler.err.deconstruction.pattern.var.not.allowed=\
4041     deconstruction patterns can only be applied to records, var is not allowed
4042 
4043 # 0: list of type, 1: list of type
4044 compiler.err.incorrect.number.of.nested.patterns=\
4045     incorrect number of nested patterns\n\
4046     required: {0}\n\
4047     found: {1}
4048 
4049 # 0: kind name, 1: symbol
4050 compiler.warn.declared.using.preview=\
4051     {0} {1} is declared using a preview feature, which may be removed in a future release.
4052 
4053 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4054     attempt to synchronize on an instance of a value-based class
4055 

 216     yield outside of switch expression
 217 
 218 compiler.err.no.switch.expression.qualify=\
 219     yield outside of switch expression\n\
 220     (to invoke a method called yield, qualify the yield with a receiver or type name)
 221 
 222 compiler.err.invalid.yield=\
 223     invalid use of a restricted identifier ''yield''\n\
 224     (to invoke a method called yield, qualify the yield with a receiver or type name)
 225 
 226 compiler.warn.invalid.yield=\
 227     ''yield'' may become a restricted identifier in a future release\n\
 228     (to invoke a method called yield, qualify the yield with a receiver or type name)
 229 
 230 compiler.err.switch.expression.empty=\
 231     switch expression does not have any case clauses
 232 
 233 compiler.err.switch.expression.no.result.expressions=\
 234     switch expression does not have any result expressions
 235 
 236 compiler.err.call.must.only.appear.in.ctor=\
 237     explicit constructor invocation may only appear within a constructor body
 238 
 239 compiler.err.redundant.superclass.init=\
 240     redundant explicit constructor invocation
 241 
 242 compiler.err.ctor.calls.not.allowed.here=\
 243     explicit constructor invocation not allowed here
 244 
 245 compiler.err.return.before.superclass.initialized=\
 246     ''return'' not allowed before explicit constructor invocation
 247 
 248 # 0: symbol kind, 1: name, 2: symbol kind, 3: type, 4: message segment
 249 compiler.err.cant.apply.symbol.noargs=\
 250     {0} {1} in {2} {3} cannot be applied to given types;\n\
 251     reason: {4}
 252 
 253 # 0: symbol kind, 1: name, 2: list of type or message segment, 3: list of type or message segment, 4: symbol kind, 5: type, 6: message segment
 254 compiler.err.cant.apply.symbol=\
 255     {0} {1} in {4} {5} cannot be applied to given types;\n\
 256     required: {2}\n\
 257     found:    {3}\n\
 258     reason: {6}
 259 
 260 # 0: symbol kind, 1: name, 2: list of type
 261 compiler.err.cant.apply.symbols=\
 262     no suitable {0} found for {1}({2})
 263 
 264 # 0: symbol kind, 1: name, 2: list of type or message segment, 3: list of type or message segment, 4: symbol kind, 5: type, 6: message segment
 265 compiler.misc.cant.apply.symbol=\
 266     {0} {1} in {4} {5} cannot be applied to given types\n\

 378 compiler.misc.inner.cls=\
 379     an inner class
 380 
 381 compiler.misc.guard=\
 382     a guard
 383 
 384 # 0: type
 385 compiler.err.cant.deref=\
 386     {0} cannot be dereferenced
 387 
 388 compiler.err.cant.extend.intf.annotation=\
 389     ''extends'' not allowed for @interfaces
 390 
 391 compiler.err.annotation.decl.not.allowed.here=\
 392     annotation interface declaration not allowed here
 393 
 394 # 0: symbol
 395 compiler.err.cant.inherit.from.final=\
 396     cannot inherit from final {0}
 397 
 398 # 0: symbol or name
 399 compiler.err.cant.ref.before.ctor.called=\
 400     cannot reference {0} before supertype constructor has been called
 401 
 402 compiler.err.cant.select.static.class.from.param.type=\
 403     cannot select a static class from a parameterized type
 404 
 405 # 0: symbol, 1: string, 2: string
 406 compiler.err.cant.inherit.diff.arg=\
 407     {0} cannot be inherited with different arguments: <{1}> and <{2}>
 408 
 409 compiler.err.catch.without.try=\
 410     ''catch'' without ''try''
 411 
 412 # 0: kind name, 1: symbol
 413 compiler.err.clash.with.pkg.of.same.name=\
 414     {0} {1} clashes with package of same name
 415 
 416 compiler.err.class.not.allowed=\
 417     class, interface or enum declaration not allowed here
 418 

 745 compiler.err.illegal.start.of.expr=\
 746     illegal start of expression
 747 
 748 compiler.err.illegal.start.of.stmt=\
 749     illegal start of statement
 750 
 751 compiler.err.illegal.start.of.type=\
 752     illegal start of type
 753 
 754 compiler.err.illegal.parenthesized.expression=\
 755     illegal parenthesized expression
 756 
 757 compiler.err.illegal.unicode.esc=\
 758     illegal unicode escape
 759 
 760 # 0: symbol
 761 compiler.err.import.requires.canonical=\
 762     import requires canonical name for {0}
 763 
 764 compiler.err.improperly.formed.type.param.missing=\
 765     improperly formed type, some parameters are missing or misplaced
 766 
 767 compiler.err.improperly.formed.type.inner.raw.param=\
 768     improperly formed type, type arguments given on a raw type
 769 
 770 # 0: type, 1: type
 771 compiler.err.incomparable.types=\
 772     incomparable types: {0} and {1}
 773 
 774 # 0: string
 775 compiler.err.int.number.too.large=\
 776     integer number too large
 777 
 778 compiler.err.intf.annotation.members.cant.have.params=\
 779     elements in annotation interface declarations cannot declare formal parameters
 780 
 781 # 0: symbol
 782 compiler.err.intf.annotation.cant.have.type.params=\
 783     annotation interface {0} cannot be generic
 784 
 785 compiler.err.intf.annotation.members.cant.have.type.params=\

2685     required: {1}\n\
2686     found:    {0}
2687 
2688 ## The following are all possible strings for the first argument ({0}) of the
2689 ## above string.
2690 compiler.misc.type.req.class=\
2691     class
2692 
2693 compiler.misc.type.req.class.array=\
2694     class or array
2695 
2696 compiler.misc.type.req.array.or.iterable=\
2697     array or java.lang.Iterable
2698 
2699 compiler.misc.type.req.ref=\
2700     reference
2701 
2702 compiler.misc.type.req.exact=\
2703     class or interface without bounds
2704 
2705 compiler.misc.type.req.identity=\
2706     a type with identity
2707 
2708 # 0: type
2709 compiler.misc.type.parameter=\
2710     type parameter {0}
2711 
2712 #####
2713 
2714 ## The following are all possible strings for the last argument of all those
2715 ## diagnostics whose key ends in ".1"
2716 
2717 # 0: type, 1: list of type
2718 compiler.misc.no.unique.maximal.instance.exists=\
2719     no unique maximal instance exists for type variable {0} with upper bounds {1}
2720 
2721 # 0: type, 1: list of type
2722 compiler.misc.no.unique.minimal.instance.exists=\
2723     no unique minimal instance exists for type variable {0} with lower bounds {1}
2724 
2725 # 0: type, 1: list of type
2726 compiler.misc.incompatible.upper.bounds=\
2727     inference variable {0} has incompatible upper bounds {1}

3187     records
3188 
3189 compiler.misc.feature.sealed.classes=\
3190     sealed classes
3191 
3192 compiler.misc.feature.case.null=\
3193     null in switch cases
3194 
3195 compiler.misc.feature.pattern.switch=\
3196     patterns in switch statements
3197 
3198 compiler.misc.feature.string.templates=\
3199     string templates
3200 
3201 compiler.misc.feature.unconditional.patterns.in.instanceof=\
3202     unconditional patterns in instanceof
3203 
3204 compiler.misc.feature.unnamed.classes=\
3205     unnamed classes
3206 
3207 compiler.misc.feature.super.init=\
3208     statements before super()
3209 
3210 compiler.warn.underscore.as.identifier=\
3211     as of release 9, ''_'' is a keyword, and may not be used as an identifier
3212 
3213 compiler.err.underscore.as.identifier=\
3214     as of release 9, ''_'' is a keyword, and may not be used as an identifier
3215 
3216 compiler.err.use.of.underscore.not.allowed=\
3217     underscore not allowed here\n\
3218     as of release 9, ''_'' is a keyword, and may not be used as an identifier\n\
3219     as of release 22, ''_'' can be used as a name in the declaration of unnamed patterns, local variables, exception parameters or lambda parameters
3220 
3221 compiler.err.use.of.underscore.not.allowed.non.variable=\
3222     underscore not allowed here
3223 
3224 compiler.err.use.of.underscore.not.allowed.with.brackets=\
3225     the underscore keyword ''_'' is not allowed to be followed by brackets
3226 
3227 compiler.err.enum.as.identifier=\
3228     as of release 5, ''enum'' is a keyword, and may not be used as an identifier
3229 

3699     --add-opens has no effect at compile time
3700 
3701 compiler.misc.locn.module_source_path=\
3702     module source path
3703 
3704 compiler.misc.locn.upgrade_module_path=\
3705     upgrade module path
3706 
3707 compiler.misc.locn.system_modules=\
3708     system modules
3709 
3710 compiler.misc.locn.module_path=\
3711     application module path
3712 
3713 compiler.misc.cant.resolve.modules=\
3714     cannot resolve modules
3715 
3716 compiler.misc.bad.requires.flag=\
3717     bad requires flag: {0}
3718 
3719 compiler.misc.bad.access.flags=\
3720     bad access flags combination: {0}
3721 
3722 # 0: string
3723 compiler.err.invalid.module.specifier=\
3724     module specifier not allowed: {0}
3725 
3726 # 0: symbol
3727 compiler.warn.service.provided.but.not.exported.or.used=\
3728     service interface provided but not exported or used
3729 
3730 # 0: kind name, 1: symbol, 2: symbol
3731 compiler.warn.leaks.not.accessible=\
3732     {0} {1} in module {2} is not accessible to clients that require this module
3733 # 0: kind name, 1: symbol, 2: symbol
3734 compiler.warn.leaks.not.accessible.unexported=\
3735     {0} {1} in module {2} is not exported
3736 # 0: kind name, 1: symbol, 2: symbol
3737 compiler.warn.leaks.not.accessible.not.required.transitive=\
3738     {0} {1} in module {2} is not indirectly exported using ''requires transitive''
3739 # 0: kind name, 1: symbol, 2: symbol
3740 compiler.warn.leaks.not.accessible.unexported.qualified=\
3741     {0} {1} in module {2} may not be visible to all clients that require this module

3895 compiler.misc.type.must.be.identical.to.corresponding.record.component.type=\
3896     type and arity must match that of the corresponding record component\
3897 
3898 compiler.misc.canonical.must.not.contain.explicit.constructor.invocation=\
3899     canonical constructor must not contain explicit constructor invocation
3900 
3901 # 0: set of flag or string
3902 compiler.misc.canonical.must.not.have.stronger.access=\
3903     attempting to assign stronger access privileges; was {0}
3904 
3905 # other
3906 compiler.err.record.cannot.declare.instance.fields=\
3907     field declaration must be static\n\
3908     (consider replacing field with record component)
3909 
3910 # 0: symbol
3911 compiler.err.invalid.supertype.record=\
3912     classes cannot directly extend {0}
3913 
3914 # 0: symbol
3915 compiler.err.non.canonical.constructor.invoke.another.constructor=\
3916     constructor is not canonical, so it must invoke another constructor of class {0}
3917 
3918 compiler.err.instance.initializer.not.allowed.in.records=\
3919     instance initializers not allowed in records
3920 
3921 compiler.err.static.declaration.not.allowed.in.inner.classes=\
3922     static declarations not allowed in inner classes
3923 
3924 compiler.err.record.patterns.annotations.not.allowed=\
3925     annotations not allowed on record patterns
3926 
3927 ############################################
3928 # messages previously at javac.properties
3929 
3930 compiler.err.empty.A.argument=\
3931     -A requires an argument; use ''-Akey'' or ''-Akey=value''
3932 
3933 # 0: string
3934 compiler.err.invalid.A.key=\
3935     key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers
3936 

4033 # 0: option name
4034 compiler.err.release.bootclasspath.conflict=\
4035     option {0} cannot be used together with --release
4036 
4037 # 0: string
4038 compiler.err.unsupported.release.version=\
4039     release version {0} not supported
4040 
4041 # 0: string
4042 compiler.err.file.not.found=\
4043     file not found: {0}
4044 
4045 # 0: string, 1: source
4046 compiler.err.preview.not.latest=\
4047     invalid source release {0} with --enable-preview\n\
4048     (preview language features are only supported for release {1})
4049 
4050 compiler.err.preview.without.source.or.release=\
4051     --enable-preview must be used with either -source or --release
4052 
4053 compiler.misc.feature.value.classes=\
4054     value classes
4055 
4056 # 0: type, 1: type
4057 compiler.err.value.type.has.identity.super.type=\
4058     The identity type {1} cannot be a supertype of the value type {0}
4059 
4060 # 0: symbol, 1: type
4061 compiler.err.concrete.supertype.for.value.class=\
4062     The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
4063 
4064 # 0: symbol, 1: symbol, 2: type
4065 compiler.err.super.class.method.cannot.be.synchronized=\
4066     The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
4067 
4068 # 0: symbol
4069 compiler.err.deconstruction.pattern.only.records=\
4070     deconstruction patterns can only be applied to records, {0} is not a record
4071 
4072 compiler.err.deconstruction.pattern.var.not.allowed=\
4073     deconstruction patterns can only be applied to records, var is not allowed
4074 
4075 # 0: list of type, 1: list of type
4076 compiler.err.incorrect.number.of.nested.patterns=\
4077     incorrect number of nested patterns\n\
4078     required: {0}\n\
4079     found: {1}
4080 
4081 # 0: kind name, 1: symbol
4082 compiler.warn.declared.using.preview=\
4083     {0} {1} is declared using a preview feature, which may be removed in a future release.
4084 
4085 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4086     attempt to synchronize on an instance of a value-based class
4087 
< prev index next >