262
263 # 0: list of type or message segment, 1: list of type or message segment, 2: message segment
264 compiler.misc.cant.apply.array.ctor=\
265 cannot create array from given types\n\
266 required: {0}\n\
267 found: {1}\n\
268 reason: {2}
269
270 # 0: symbol kind, 1: name, 2: list of type
271 compiler.misc.cant.apply.symbols=\
272 no suitable {0} found for {1}({2})
273
274 # 0: kind name, 1: symbol
275 compiler.misc.no.abstracts=\
276 no abstract method found in {0} {1}
277
278 # 0: kind name, 1: symbol
279 compiler.misc.incompatible.abstracts=\
280 multiple non-overriding abstract methods found in {0} {1}
281
282 compiler.err.bad.functional.intf.anno=\
283 Unexpected @FunctionalInterface annotation
284
285 # 0: message segment
286 compiler.err.bad.functional.intf.anno.1=\
287 Unexpected @FunctionalInterface annotation\n\
288 {0}
289
290 # 0: message segment
291 compiler.err.anonymous.diamond.method.does.not.override.superclass=\
292 method does not override or implement a method from a supertype\n\
293 {0}
294
295 # 0: symbol
296 compiler.misc.not.a.functional.intf=\
297 {0} is not a functional interface
298
299 # 0: symbol, 1: message segment
300 compiler.misc.not.a.functional.intf.1=\
301 {0} is not a functional interface\n\
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=\
2676 required: {1}\n\
2677 found: {0}
2678
2679 ## The following are all possible strings for the first argument ({0}) of the
2680 ## above string.
2681 compiler.misc.type.req.class=\
2682 class
2683
2684 compiler.misc.type.req.class.array=\
2685 class or array
2686
2687 compiler.misc.type.req.array.or.iterable=\
2688 array or java.lang.Iterable
2689
2690 compiler.misc.type.req.ref=\
2691 reference
2692
2693 compiler.misc.type.req.exact=\
2694 class or interface without bounds
2695
2696 # 0: type
2697 compiler.misc.type.parameter=\
2698 type parameter {0}
2699
2700 #####
2701
2702 ## The following are all possible strings for the last argument of all those
2703 ## diagnostics whose key ends in ".1"
2704
2705 # 0: type, 1: list of type
2706 compiler.misc.no.unique.maximal.instance.exists=\
2707 no unique maximal instance exists for type variable {0} with upper bounds {1}
2708
2709 # 0: type, 1: list of type
2710 compiler.misc.no.unique.minimal.instance.exists=\
2711 no unique minimal instance exists for type variable {0} with lower bounds {1}
2712
2713 # 0: type, 1: list of type
2714 compiler.misc.incompatible.upper.bounds=\
2715 inference variable {0} has incompatible upper bounds {1}
3680 --add-opens has no effect at compile time
3681
3682 compiler.misc.locn.module_source_path=\
3683 module source path
3684
3685 compiler.misc.locn.upgrade_module_path=\
3686 upgrade module path
3687
3688 compiler.misc.locn.system_modules=\
3689 system modules
3690
3691 compiler.misc.locn.module_path=\
3692 application module path
3693
3694 compiler.misc.cant.resolve.modules=\
3695 cannot resolve modules
3696
3697 compiler.misc.bad.requires.flag=\
3698 bad requires flag: {0}
3699
3700 # 0: string
3701 compiler.err.invalid.module.specifier=\
3702 module specifier not allowed: {0}
3703
3704 # 0: symbol
3705 compiler.warn.service.provided.but.not.exported.or.used=\
3706 service interface provided but not exported or used
3707
3708 # 0: kind name, 1: symbol, 2: symbol
3709 compiler.warn.leaks.not.accessible=\
3710 {0} {1} in module {2} is not accessible to clients that require this module
3711 # 0: kind name, 1: symbol, 2: symbol
3712 compiler.warn.leaks.not.accessible.unexported=\
3713 {0} {1} in module {2} is not exported
3714 # 0: kind name, 1: symbol, 2: symbol
3715 compiler.warn.leaks.not.accessible.not.required.transitive=\
3716 {0} {1} in module {2} is not indirectly exported using ''requires transitive''
3717 # 0: kind name, 1: symbol, 2: symbol
3718 compiler.warn.leaks.not.accessible.unexported.qualified=\
3719 {0} {1} in module {2} may not be visible to all clients that require this module
4011 # 0: option name
4012 compiler.err.release.bootclasspath.conflict=\
4013 option {0} cannot be used together with --release
4014
4015 # 0: string
4016 compiler.err.unsupported.release.version=\
4017 release version {0} not supported
4018
4019 # 0: string
4020 compiler.err.file.not.found=\
4021 file not found: {0}
4022
4023 # 0: string, 1: source
4024 compiler.err.preview.not.latest=\
4025 invalid source release {0} with --enable-preview\n\
4026 (preview language features are only supported for release {1})
4027
4028 compiler.err.preview.without.source.or.release=\
4029 --enable-preview must be used with either -source or --release
4030
4031 # 0: symbol
4032 compiler.err.deconstruction.pattern.only.records=\
4033 deconstruction patterns can only be applied to records, {0} is not a record
4034
4035 compiler.err.deconstruction.pattern.var.not.allowed=\
4036 deconstruction patterns can only be applied to records, var is not allowed
4037
4038 # 0: list of type, 1: list of type
4039 compiler.err.incorrect.number.of.nested.patterns=\
4040 incorrect number of nested patterns\n\
4041 required: {0}\n\
4042 found: {1}
4043
4044 # 0: kind name, 1: symbol
4045 compiler.warn.declared.using.preview=\
4046 {0} {1} is declared using a preview feature, which may be removed in a future release.
4047
4048 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4049 attempt to synchronize on an instance of a value-based class
4050
|
262
263 # 0: list of type or message segment, 1: list of type or message segment, 2: message segment
264 compiler.misc.cant.apply.array.ctor=\
265 cannot create array from given types\n\
266 required: {0}\n\
267 found: {1}\n\
268 reason: {2}
269
270 # 0: symbol kind, 1: name, 2: list of type
271 compiler.misc.cant.apply.symbols=\
272 no suitable {0} found for {1}({2})
273
274 # 0: kind name, 1: symbol
275 compiler.misc.no.abstracts=\
276 no abstract method found in {0} {1}
277
278 # 0: kind name, 1: symbol
279 compiler.misc.incompatible.abstracts=\
280 multiple non-overriding abstract methods found in {0} {1}
281
282 compiler.misc.value.interface.nonfunctional=\
283 since it is a value interface
284
285 compiler.misc.identity.interface.nonfunctional=\
286 since it is an identity interface
287
288 compiler.err.bad.functional.intf.anno=\
289 Unexpected @FunctionalInterface annotation
290
291 # 0: message segment
292 compiler.err.bad.functional.intf.anno.1=\
293 Unexpected @FunctionalInterface annotation\n\
294 {0}
295
296 # 0: message segment
297 compiler.err.anonymous.diamond.method.does.not.override.superclass=\
298 method does not override or implement a method from a supertype\n\
299 {0}
300
301 # 0: symbol
302 compiler.misc.not.a.functional.intf=\
303 {0} is not a functional interface
304
305 # 0: symbol, 1: message segment
306 compiler.misc.not.a.functional.intf.1=\
307 {0} is not a functional interface\n\
743 compiler.err.illegal.start.of.expr=\
744 illegal start of expression
745
746 compiler.err.illegal.start.of.stmt=\
747 illegal start of statement
748
749 compiler.err.illegal.start.of.type=\
750 illegal start of type
751
752 compiler.err.illegal.parenthesized.expression=\
753 illegal parenthesized expression
754
755 compiler.err.illegal.unicode.esc=\
756 illegal unicode escape
757
758 # 0: symbol
759 compiler.err.import.requires.canonical=\
760 import requires canonical name for {0}
761
762 compiler.err.improperly.formed.type.param.missing=\
763 improperly formed type, some parameters are missing or misplaced
764
765 compiler.err.improperly.formed.type.inner.raw.param=\
766 improperly formed type, type arguments given on a raw type
767
768 # 0: type, 1: type
769 compiler.err.incomparable.types=\
770 incomparable types: {0} and {1}
771
772 # 0: string
773 compiler.err.int.number.too.large=\
774 integer number too large
775
776 compiler.err.intf.annotation.members.cant.have.params=\
777 elements in annotation interface declarations cannot declare formal parameters
778
779 # 0: symbol
780 compiler.err.intf.annotation.cant.have.type.params=\
781 annotation interface {0} cannot be generic
782
783 compiler.err.intf.annotation.members.cant.have.type.params=\
2682 required: {1}\n\
2683 found: {0}
2684
2685 ## The following are all possible strings for the first argument ({0}) of the
2686 ## above string.
2687 compiler.misc.type.req.class=\
2688 class
2689
2690 compiler.misc.type.req.class.array=\
2691 class or array
2692
2693 compiler.misc.type.req.array.or.iterable=\
2694 array or java.lang.Iterable
2695
2696 compiler.misc.type.req.ref=\
2697 reference
2698
2699 compiler.misc.type.req.exact=\
2700 class or interface without bounds
2701
2702 compiler.misc.type.req.identity=\
2703 a type with identity
2704
2705 # 0: type
2706 compiler.misc.type.parameter=\
2707 type parameter {0}
2708
2709 #####
2710
2711 ## The following are all possible strings for the last argument of all those
2712 ## diagnostics whose key ends in ".1"
2713
2714 # 0: type, 1: list of type
2715 compiler.misc.no.unique.maximal.instance.exists=\
2716 no unique maximal instance exists for type variable {0} with upper bounds {1}
2717
2718 # 0: type, 1: list of type
2719 compiler.misc.no.unique.minimal.instance.exists=\
2720 no unique minimal instance exists for type variable {0} with lower bounds {1}
2721
2722 # 0: type, 1: list of type
2723 compiler.misc.incompatible.upper.bounds=\
2724 inference variable {0} has incompatible upper bounds {1}
3689 --add-opens has no effect at compile time
3690
3691 compiler.misc.locn.module_source_path=\
3692 module source path
3693
3694 compiler.misc.locn.upgrade_module_path=\
3695 upgrade module path
3696
3697 compiler.misc.locn.system_modules=\
3698 system modules
3699
3700 compiler.misc.locn.module_path=\
3701 application module path
3702
3703 compiler.misc.cant.resolve.modules=\
3704 cannot resolve modules
3705
3706 compiler.misc.bad.requires.flag=\
3707 bad requires flag: {0}
3708
3709 compiler.misc.bad.access.flags=\
3710 bad access flags combination: {0}
3711
3712 # 0: string
3713 compiler.err.invalid.module.specifier=\
3714 module specifier not allowed: {0}
3715
3716 # 0: symbol
3717 compiler.warn.service.provided.but.not.exported.or.used=\
3718 service interface provided but not exported or used
3719
3720 # 0: kind name, 1: symbol, 2: symbol
3721 compiler.warn.leaks.not.accessible=\
3722 {0} {1} in module {2} is not accessible to clients that require this module
3723 # 0: kind name, 1: symbol, 2: symbol
3724 compiler.warn.leaks.not.accessible.unexported=\
3725 {0} {1} in module {2} is not exported
3726 # 0: kind name, 1: symbol, 2: symbol
3727 compiler.warn.leaks.not.accessible.not.required.transitive=\
3728 {0} {1} in module {2} is not indirectly exported using ''requires transitive''
3729 # 0: kind name, 1: symbol, 2: symbol
3730 compiler.warn.leaks.not.accessible.unexported.qualified=\
3731 {0} {1} in module {2} may not be visible to all clients that require this module
4023 # 0: option name
4024 compiler.err.release.bootclasspath.conflict=\
4025 option {0} cannot be used together with --release
4026
4027 # 0: string
4028 compiler.err.unsupported.release.version=\
4029 release version {0} not supported
4030
4031 # 0: string
4032 compiler.err.file.not.found=\
4033 file not found: {0}
4034
4035 # 0: string, 1: source
4036 compiler.err.preview.not.latest=\
4037 invalid source release {0} with --enable-preview\n\
4038 (preview language features are only supported for release {1})
4039
4040 compiler.err.preview.without.source.or.release=\
4041 --enable-preview must be used with either -source or --release
4042
4043 compiler.misc.feature.primitive.classes=\
4044 primitive classes
4045
4046 compiler.misc.feature.value.classes=\
4047 value classes
4048
4049 # 0: symbol
4050 compiler.err.cyclic.primitive.class.membership=\
4051 cyclic primitive class membership involving {0}
4052
4053 # 0: string (expected version)
4054 compiler.err.primitive.classes.not.supported=\
4055 primitive classes are not supported\n\
4056 (use -source {0} or higher to enable primitive classes and pass compiler option: -XDenablePrimitiveClasses)
4057
4058 compiler.err.this.exposed.prematurely=\
4059 value class instance should not be passed around before being fully initialized
4060
4061 # 0: type
4062 compiler.err.generic.parameterization.with.primitive.class=\
4063 Inferred type {0} involves generic parameterization by a primitive class
4064
4065 # 0: type, 1: type
4066 compiler.err.value.type.has.identity.super.type=\
4067 The identity type {1} cannot be a supertype of the value type {0}
4068
4069 # 0: type, 1: type
4070 compiler.err.identity.type.has.value.super.type=\
4071 The value type {1} cannot be a supertype of the identity type {0}
4072
4073 # 0: type, 1: type, 2: type
4074 compiler.err.mutually.incompatible.supers=\
4075 The type {0} has mutually incompatible supertypes: the identity type {1} and the value type {2}
4076
4077 # 0: symbol, 1: type
4078 compiler.err.concrete.supertype.for.value.class=\
4079 The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
4080
4081 # 0: symbol, 1: symbol, 2: type
4082 compiler.err.super.class.method.cannot.be.synchronized=\
4083 The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
4084
4085 # 0: symbol, 1: message segment
4086 compiler.err.abstract.value.class.constructor.cannot.take.arguments=\
4087 {1} defines a constructor {0} that takes arguments. This is disallowed
4088
4089 # 0: symbol, 1: message segment
4090 compiler.err.abstract.value.class.constructor.cannot.be.generic=\
4091 {1} defines a generic constructor {0}. This is disallowed
4092
4093 # 0: symbol, 1: message segment
4094 compiler.err.abstract.value.class.constructor.cannot.throw=\
4095 {1} defines a constructor {0} that throws an exception. This is disallowed
4096
4097 # 0: symbol, 1: message segment
4098 compiler.err.abstract.value.class.constructor.has.weaker.access=\
4099 {1} defines a constructor {0} with a weaker access privilege than the declaring class. This is disallowed
4100
4101 # 0: symbol, 1: message segment
4102 compiler.err.instance.field.not.allowed=\
4103 {1} defines an instance field {0}. This is disallowed
4104
4105 # 0: symbol, 1: message segment
4106 compiler.err.abstract.value.class.no.arg.constructor.must.be.empty=\
4107 {1} defines a nonempty no-arg constructor {0}. This is disallowed
4108
4109 # 0: message segment
4110 compiler.err.abstract.value.class.declares.init.block=\
4111 {0} declares one or more non-empty instance initializer blocks. This is disallowed.
4112
4113 # 0: message segment
4114 compiler.err.abstract.value.class.cannot.be.inner=\
4115 {0} is an inner class. This is disallowed.
4116
4117 # 0: symbol, 1: type
4118 compiler.misc.superclass.of.value.class=\
4119 The super class {1} of the value class {0}
4120
4121 # 0: symbol
4122 compiler.misc.abstract.value.class=\
4123 The abstract value class {0}
4124
4125 compiler.err.projection.cant.be.instantiated=\
4126 Illegal attempt to instantiate a projection type
4127
4128 compiler.err.call.to.super.not.allowed.in.value.ctor=\
4129 call to super not allowed in value class constructor
4130
4131 # 0: symbol
4132 compiler.err.deconstruction.pattern.only.records=\
4133 deconstruction patterns can only be applied to records, {0} is not a record
4134
4135 compiler.err.deconstruction.pattern.var.not.allowed=\
4136 deconstruction patterns can only be applied to records, var is not allowed
4137
4138 # 0: list of type, 1: list of type
4139 compiler.err.incorrect.number.of.nested.patterns=\
4140 incorrect number of nested patterns\n\
4141 required: {0}\n\
4142 found: {1}
4143
4144 # 0: kind name, 1: symbol
4145 compiler.warn.declared.using.preview=\
4146 {0} {1} is declared using a preview feature, which may be removed in a future release.
4147
4148 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4149 attempt to synchronize on an instance of a value-based class
4150
|