< prev index next >

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

Print this page

 251 
 252 # 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
 253 compiler.misc.cant.apply.symbol=\
 254     {0} {1} in {4} {5} cannot be applied to given types\n\
 255     required: {2}\n\
 256     found:    {3}\n\
 257     reason: {6}
 258 
 259 # 0: symbol kind, 1: name, 2: list of type
 260 compiler.misc.cant.apply.symbols=\
 261     no suitable {0} found for {1}({2})
 262 
 263 # 0: kind name, 1: symbol
 264 compiler.misc.no.abstracts=\
 265     no abstract method found in {0} {1}
 266 
 267 # 0: kind name, 1: symbol
 268 compiler.misc.incompatible.abstracts=\
 269     multiple non-overriding abstract methods found in {0} {1}
 270 






 271 compiler.err.bad.functional.intf.anno=\
 272     Unexpected @FunctionalInterface annotation
 273 
 274 # 0: message segment
 275 compiler.err.bad.functional.intf.anno.1=\
 276     Unexpected @FunctionalInterface annotation\n\
 277     {0}
 278 
 279 # 0: message segment
 280 compiler.err.anonymous.diamond.method.does.not.override.superclass=\
 281     method does not override or implement a method from a supertype\n\
 282     {0}
 283 
 284 # 0: symbol
 285 compiler.misc.not.a.functional.intf=\
 286     {0} is not a functional interface
 287 
 288 # 0: symbol, 1: message segment
 289 compiler.misc.not.a.functional.intf.1=\
 290     {0} is not a functional interface\n\

 697 compiler.err.illegal.start.of.expr=\
 698     illegal start of expression
 699 
 700 compiler.err.illegal.start.of.stmt=\
 701     illegal start of statement
 702 
 703 compiler.err.illegal.start.of.type=\
 704     illegal start of type
 705 
 706 compiler.err.illegal.parenthesized.expression=\
 707     illegal parenthesized expression
 708 
 709 compiler.err.illegal.unicode.esc=\
 710     illegal unicode escape
 711 
 712 # 0: symbol
 713 compiler.err.import.requires.canonical=\
 714     import requires canonical name for {0}
 715 
 716 compiler.err.improperly.formed.type.param.missing=\
 717     improperly formed type, some parameters are missing
 718 
 719 compiler.err.improperly.formed.type.inner.raw.param=\
 720     improperly formed type, type arguments given on a raw type
 721 
 722 # 0: type, 1: type
 723 compiler.err.incomparable.types=\
 724     incomparable types: {0} and {1}
 725 
 726 # 0: string
 727 compiler.err.int.number.too.large=\
 728     integer number too large
 729 
 730 compiler.err.intf.annotation.members.cant.have.params=\
 731     elements in annotation interface declarations cannot declare formal parameters
 732 
 733 # 0: symbol
 734 compiler.err.intf.annotation.cant.have.type.params=\
 735     annotation interface {0} cannot be generic
 736 
 737 compiler.err.intf.annotation.members.cant.have.type.params=\

2584     required: {1}\n\
2585     found:    {0}
2586 
2587 ## The following are all possible strings for the first argument ({0}) of the
2588 ## above string.
2589 compiler.misc.type.req.class=\
2590     class
2591 
2592 compiler.misc.type.req.class.array=\
2593     class or array
2594 
2595 compiler.misc.type.req.array.or.iterable=\
2596     array or java.lang.Iterable
2597 
2598 compiler.misc.type.req.ref=\
2599     reference
2600 
2601 compiler.misc.type.req.exact=\
2602     class or interface without bounds
2603 



2604 # 0: type
2605 compiler.misc.type.parameter=\
2606     type parameter {0}
2607 
2608 #####
2609 
2610 ## The following are all possible strings for the last argument of all those
2611 ## diagnostics whose key ends in ".1"
2612 
2613 # 0: type, 1: list of type
2614 compiler.misc.no.unique.maximal.instance.exists=\
2615     no unique maximal instance exists for type variable {0} with upper bounds {1}
2616 
2617 # 0: type, 1: list of type
2618 compiler.misc.no.unique.minimal.instance.exists=\
2619     no unique minimal instance exists for type variable {0} with lower bounds {1}
2620 
2621 # 0: type, 1: list of type
2622 compiler.misc.incompatible.upper.bounds=\
2623     inference variable {0} has incompatible upper bounds {1}

3576     --add-opens has no effect at compile time
3577 
3578 compiler.misc.locn.module_source_path=\
3579     module source path
3580 
3581 compiler.misc.locn.upgrade_module_path=\
3582     upgrade module path
3583 
3584 compiler.misc.locn.system_modules=\
3585     system modules
3586 
3587 compiler.misc.locn.module_path=\
3588     application module path
3589 
3590 compiler.misc.cant.resolve.modules=\
3591     cannot resolve modules
3592 
3593 compiler.misc.bad.requires.flag=\
3594     bad requires flag: {0}
3595 



3596 # 0: string
3597 compiler.err.invalid.module.specifier=\
3598     module specifier not allowed: {0}
3599 
3600 # 0: symbol
3601 compiler.warn.service.provided.but.not.exported.or.used=\
3602     service interface provided but not exported or used
3603 
3604 # 0: kind name, 1: symbol, 2: symbol
3605 compiler.warn.leaks.not.accessible=\
3606     {0} {1} in module {2} is not accessible to clients that require this module
3607 # 0: kind name, 1: symbol, 2: symbol
3608 compiler.warn.leaks.not.accessible.unexported=\
3609     {0} {1} in module {2} is not exported
3610 # 0: kind name, 1: symbol, 2: symbol
3611 compiler.warn.leaks.not.accessible.not.required.transitive=\
3612     {0} {1} in module {2} is not indirectly exported using ''requires transitive''
3613 # 0: kind name, 1: symbol, 2: symbol
3614 compiler.warn.leaks.not.accessible.unexported.qualified=\
3615     {0} {1} in module {2} may not be visible to all clients that require this module

3904 # 0: option name
3905 compiler.err.release.bootclasspath.conflict=\
3906     option {0} cannot be used together with --release
3907 
3908 # 0: string
3909 compiler.err.unsupported.release.version=\
3910     release version {0} not supported
3911 
3912 # 0: string
3913 compiler.err.file.not.found=\
3914     file not found: {0}
3915 
3916 # 0: string, 1: source
3917 compiler.err.preview.not.latest=\
3918     invalid source release {0} with --enable-preview\n\
3919     (preview language features are only supported for release {1})
3920 
3921 compiler.err.preview.without.source.or.release=\
3922     --enable-preview must be used with either -source or --release
3923 
























































































3924 # 0: symbol
3925 compiler.err.deconstruction.pattern.only.records=\
3926     deconstruction patterns can only be applied to records, {0} is not a record
3927 
3928 # 0: list of type, 1: list of type
3929 compiler.err.incorrect.number.of.nested.patterns=\
3930     incorrect number of nested patterns\n\
3931     required: {0}\n\
3932     found: {1}
3933 
3934 # 0: kind name, 1: symbol
3935 compiler.warn.declared.using.preview=\
3936     {0} {1} is declared using a preview feature, which may be removed in a future release.
3937 
3938 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
3939     attempt to synchronize on an instance of a value-based class
3940 
3941 # 0: type
3942 compiler.err.enclosing.class.type.non.denotable=\
3943     enclosing class type: {0}\n\

 251 
 252 # 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
 253 compiler.misc.cant.apply.symbol=\
 254     {0} {1} in {4} {5} cannot be applied to given types\n\
 255     required: {2}\n\
 256     found:    {3}\n\
 257     reason: {6}
 258 
 259 # 0: symbol kind, 1: name, 2: list of type
 260 compiler.misc.cant.apply.symbols=\
 261     no suitable {0} found for {1}({2})
 262 
 263 # 0: kind name, 1: symbol
 264 compiler.misc.no.abstracts=\
 265     no abstract method found in {0} {1}
 266 
 267 # 0: kind name, 1: symbol
 268 compiler.misc.incompatible.abstracts=\
 269     multiple non-overriding abstract methods found in {0} {1}
 270 
 271 compiler.misc.value.interface.nonfunctional=\
 272     since it is a value interface
 273 
 274 compiler.misc.identity.interface.nonfunctional=\
 275     since it is an identity interface
 276 
 277 compiler.err.bad.functional.intf.anno=\
 278     Unexpected @FunctionalInterface annotation
 279 
 280 # 0: message segment
 281 compiler.err.bad.functional.intf.anno.1=\
 282     Unexpected @FunctionalInterface annotation\n\
 283     {0}
 284 
 285 # 0: message segment
 286 compiler.err.anonymous.diamond.method.does.not.override.superclass=\
 287     method does not override or implement a method from a supertype\n\
 288     {0}
 289 
 290 # 0: symbol
 291 compiler.misc.not.a.functional.intf=\
 292     {0} is not a functional interface
 293 
 294 # 0: symbol, 1: message segment
 295 compiler.misc.not.a.functional.intf.1=\
 296     {0} is not a functional interface\n\

 703 compiler.err.illegal.start.of.expr=\
 704     illegal start of expression
 705 
 706 compiler.err.illegal.start.of.stmt=\
 707     illegal start of statement
 708 
 709 compiler.err.illegal.start.of.type=\
 710     illegal start of type
 711 
 712 compiler.err.illegal.parenthesized.expression=\
 713     illegal parenthesized expression
 714 
 715 compiler.err.illegal.unicode.esc=\
 716     illegal unicode escape
 717 
 718 # 0: symbol
 719 compiler.err.import.requires.canonical=\
 720     import requires canonical name for {0}
 721 
 722 compiler.err.improperly.formed.type.param.missing=\
 723     improperly formed type, some parameters are missing or misplaced
 724 
 725 compiler.err.improperly.formed.type.inner.raw.param=\
 726     improperly formed type, type arguments given on a raw type
 727 
 728 # 0: type, 1: type
 729 compiler.err.incomparable.types=\
 730     incomparable types: {0} and {1}
 731 
 732 # 0: string
 733 compiler.err.int.number.too.large=\
 734     integer number too large
 735 
 736 compiler.err.intf.annotation.members.cant.have.params=\
 737     elements in annotation interface declarations cannot declare formal parameters
 738 
 739 # 0: symbol
 740 compiler.err.intf.annotation.cant.have.type.params=\
 741     annotation interface {0} cannot be generic
 742 
 743 compiler.err.intf.annotation.members.cant.have.type.params=\

2590     required: {1}\n\
2591     found:    {0}
2592 
2593 ## The following are all possible strings for the first argument ({0}) of the
2594 ## above string.
2595 compiler.misc.type.req.class=\
2596     class
2597 
2598 compiler.misc.type.req.class.array=\
2599     class or array
2600 
2601 compiler.misc.type.req.array.or.iterable=\
2602     array or java.lang.Iterable
2603 
2604 compiler.misc.type.req.ref=\
2605     reference
2606 
2607 compiler.misc.type.req.exact=\
2608     class or interface without bounds
2609 
2610 compiler.misc.type.req.identity=\
2611     a type with identity
2612 
2613 # 0: type
2614 compiler.misc.type.parameter=\
2615     type parameter {0}
2616 
2617 #####
2618 
2619 ## The following are all possible strings for the last argument of all those
2620 ## diagnostics whose key ends in ".1"
2621 
2622 # 0: type, 1: list of type
2623 compiler.misc.no.unique.maximal.instance.exists=\
2624     no unique maximal instance exists for type variable {0} with upper bounds {1}
2625 
2626 # 0: type, 1: list of type
2627 compiler.misc.no.unique.minimal.instance.exists=\
2628     no unique minimal instance exists for type variable {0} with lower bounds {1}
2629 
2630 # 0: type, 1: list of type
2631 compiler.misc.incompatible.upper.bounds=\
2632     inference variable {0} has incompatible upper bounds {1}

3585     --add-opens has no effect at compile time
3586 
3587 compiler.misc.locn.module_source_path=\
3588     module source path
3589 
3590 compiler.misc.locn.upgrade_module_path=\
3591     upgrade module path
3592 
3593 compiler.misc.locn.system_modules=\
3594     system modules
3595 
3596 compiler.misc.locn.module_path=\
3597     application module path
3598 
3599 compiler.misc.cant.resolve.modules=\
3600     cannot resolve modules
3601 
3602 compiler.misc.bad.requires.flag=\
3603     bad requires flag: {0}
3604 
3605 compiler.misc.bad.access.flags=\
3606     bad access flags combination: {0}
3607 
3608 # 0: string
3609 compiler.err.invalid.module.specifier=\
3610     module specifier not allowed: {0}
3611 
3612 # 0: symbol
3613 compiler.warn.service.provided.but.not.exported.or.used=\
3614     service interface provided but not exported or used
3615 
3616 # 0: kind name, 1: symbol, 2: symbol
3617 compiler.warn.leaks.not.accessible=\
3618     {0} {1} in module {2} is not accessible to clients that require this module
3619 # 0: kind name, 1: symbol, 2: symbol
3620 compiler.warn.leaks.not.accessible.unexported=\
3621     {0} {1} in module {2} is not exported
3622 # 0: kind name, 1: symbol, 2: symbol
3623 compiler.warn.leaks.not.accessible.not.required.transitive=\
3624     {0} {1} in module {2} is not indirectly exported using ''requires transitive''
3625 # 0: kind name, 1: symbol, 2: symbol
3626 compiler.warn.leaks.not.accessible.unexported.qualified=\
3627     {0} {1} in module {2} may not be visible to all clients that require this module

3916 # 0: option name
3917 compiler.err.release.bootclasspath.conflict=\
3918     option {0} cannot be used together with --release
3919 
3920 # 0: string
3921 compiler.err.unsupported.release.version=\
3922     release version {0} not supported
3923 
3924 # 0: string
3925 compiler.err.file.not.found=\
3926     file not found: {0}
3927 
3928 # 0: string, 1: source
3929 compiler.err.preview.not.latest=\
3930     invalid source release {0} with --enable-preview\n\
3931     (preview language features are only supported for release {1})
3932 
3933 compiler.err.preview.without.source.or.release=\
3934     --enable-preview must be used with either -source or --release
3935 
3936 compiler.misc.feature.primitive.classes=\
3937     primitive classes
3938 
3939 compiler.misc.feature.value.classes=\
3940     value classes
3941 
3942 # 0: symbol
3943 compiler.err.cyclic.primitive.class.membership=\
3944     cyclic primitive class membership involving {0}
3945 
3946 # 0: string (expected version)
3947 compiler.err.primitive.classes.not.supported=\
3948     primitive classes are not supported\n\
3949      (use -source {0} or higher to enable primitive classes and pass compiler option: -XDenablePrimitiveClasses)
3950 
3951 compiler.err.this.exposed.prematurely=\
3952     value class instance should not be passed around before being fully initialized
3953 
3954 # 0: type
3955 compiler.err.generic.parameterization.with.primitive.class=\
3956     Inferred type {0} involves generic parameterization by a primitive class
3957 
3958 # 0: type, 1: type
3959 compiler.err.value.type.has.identity.super.type=\
3960     The identity type {1} cannot be a supertype of the value type {0}
3961 
3962 # 0: type, 1: type
3963 compiler.err.identity.type.has.value.super.type=\
3964     The value type {1} cannot be a supertype of the identity type {0}
3965 
3966 # 0: type, 1: type, 2: type
3967 compiler.err.mutually.incompatible.supers=\
3968     The type {0} has mutually incompatible supertypes: the identity type {1} and the value type {2}
3969 
3970 # 0: symbol, 1: type
3971 compiler.err.concrete.supertype.for.value.class=\
3972     The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
3973 
3974 # 0: symbol, 1: symbol, 2: type
3975 compiler.err.super.class.method.cannot.be.synchronized=\
3976     The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
3977 
3978 # 0: symbol, 1: message segment
3979 compiler.err.abstract.value.class.constructor.cannot.take.arguments=\
3980     {1} defines a constructor {0} that takes arguments. This is disallowed
3981 
3982 # 0: symbol, 1: message segment
3983 compiler.err.abstract.value.class.constructor.cannot.be.generic=\
3984     {1} defines a generic constructor {0}. This is disallowed
3985 
3986 # 0: symbol, 1: message segment
3987 compiler.err.abstract.value.class.constructor.cannot.throw=\
3988     {1} defines a constructor {0} that throws an exception. This is disallowed
3989 
3990 # 0: symbol, 1: message segment
3991 compiler.err.abstract.value.class.constructor.has.weaker.access=\
3992     {1} defines a constructor {0} with a weaker access privilege than the declaring class. This is disallowed
3993 
3994 # 0: symbol, 1: message segment
3995 compiler.err.instance.field.not.allowed=\
3996     {1} defines an instance field {0}. This is disallowed
3997 
3998 # 0: symbol, 1: message segment
3999 compiler.err.abstract.value.class.no.arg.constructor.must.be.empty=\
4000     {1} defines a nonempty no-arg constructor {0}. This is disallowed
4001 
4002 # 0: message segment
4003 compiler.err.abstract.value.class.declares.init.block=\
4004     {0} declares one or more non-empty instance initializer blocks. This is disallowed.
4005 
4006 # 0: message segment
4007 compiler.err.abstract.value.class.cannot.be.inner=\
4008     {0} is an inner class. This is disallowed.
4009 
4010 # 0: symbol, 1: type
4011 compiler.misc.superclass.of.value.class=\
4012     The super class {1} of the value class {0}
4013 
4014 # 0: symbol
4015 compiler.misc.abstract.value.class=\
4016     The abstract value class {0}
4017 
4018 compiler.err.projection.cant.be.instantiated=\
4019     Illegal attempt to instantiate a projection type
4020 
4021 compiler.err.call.to.super.not.allowed.in.value.ctor=\
4022     call to super not allowed in value class constructor
4023 
4024 # 0: symbol
4025 compiler.err.deconstruction.pattern.only.records=\
4026     deconstruction patterns can only be applied to records, {0} is not a record
4027 
4028 # 0: list of type, 1: list of type
4029 compiler.err.incorrect.number.of.nested.patterns=\
4030     incorrect number of nested patterns\n\
4031     required: {0}\n\
4032     found: {1}
4033 
4034 # 0: kind name, 1: symbol
4035 compiler.warn.declared.using.preview=\
4036     {0} {1} is declared using a preview feature, which may be removed in a future release.
4037 
4038 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4039     attempt to synchronize on an instance of a value-based class
4040 
4041 # 0: type
4042 compiler.err.enclosing.class.type.non.denotable=\
4043     enclosing class type: {0}\n\
< prev index next >