< prev index next >

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

Print this page

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






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

 679 compiler.err.illegal.start.of.expr=\
 680     illegal start of expression
 681 
 682 compiler.err.illegal.start.of.stmt=\
 683     illegal start of statement
 684 
 685 compiler.err.illegal.start.of.type=\
 686     illegal start of type
 687 
 688 compiler.err.illegal.parenthesized.expression=\
 689     illegal parenthesized expression
 690 
 691 compiler.err.illegal.unicode.esc=\
 692     illegal unicode escape
 693 
 694 # 0: symbol
 695 compiler.err.import.requires.canonical=\
 696     import requires canonical name for {0}
 697 
 698 compiler.err.improperly.formed.type.param.missing=\
 699     improperly formed type, some parameters are missing
 700 
 701 compiler.err.improperly.formed.type.inner.raw.param=\
 702     improperly formed type, type arguments given on a raw type
 703 
 704 # 0: type, 1: type
 705 compiler.err.incomparable.types=\
 706     incomparable types: {0} and {1}
 707 
 708 # 0: string
 709 compiler.err.int.number.too.large=\
 710     integer number too large
 711 
 712 compiler.err.intf.annotation.members.cant.have.params=\
 713     elements in annotation interface declarations cannot declare formal parameters
 714 
 715 # 0: symbol
 716 compiler.err.intf.annotation.cant.have.type.params=\
 717     annotation interface {0} cannot be generic
 718 
 719 compiler.err.intf.annotation.members.cant.have.type.params=\

2559     required: {1}\n\
2560     found:    {0}
2561 
2562 ## The following are all possible strings for the first argument ({0}) of the
2563 ## above string.
2564 compiler.misc.type.req.class=\
2565     class
2566 
2567 compiler.misc.type.req.class.array=\
2568     class or array
2569 
2570 compiler.misc.type.req.array.or.iterable=\
2571     array or java.lang.Iterable
2572 
2573 compiler.misc.type.req.ref=\
2574     reference
2575 
2576 compiler.misc.type.req.exact=\
2577     class or interface without bounds
2578 



2579 # 0: type
2580 compiler.misc.type.parameter=\
2581     type parameter {0}
2582 
2583 #####
2584 
2585 ## The following are all possible strings for the last argument of all those
2586 ## diagnostics whose key ends in ".1"
2587 
2588 # 0: type, 1: list of type
2589 compiler.misc.no.unique.maximal.instance.exists=\
2590     no unique maximal instance exists for type variable {0} with upper bounds {1}
2591 
2592 # 0: type, 1: list of type
2593 compiler.misc.no.unique.minimal.instance.exists=\
2594     no unique minimal instance exists for type variable {0} with lower bounds {1}
2595 
2596 # 0: type, 1: list of type
2597 compiler.misc.incompatible.upper.bounds=\
2598     inference variable {0} has incompatible upper bounds {1}

3551     --add-opens has no effect at compile time
3552 
3553 compiler.misc.locn.module_source_path=\
3554     module source path
3555 
3556 compiler.misc.locn.upgrade_module_path=\
3557     upgrade module path
3558 
3559 compiler.misc.locn.system_modules=\
3560     system modules
3561 
3562 compiler.misc.locn.module_path=\
3563     application module path
3564 
3565 compiler.misc.cant.resolve.modules=\
3566     cannot resolve modules
3567 
3568 compiler.misc.bad.requires.flag=\
3569     bad requires flag: {0}
3570 



3571 # 0: string
3572 compiler.err.invalid.module.specifier=\
3573     module specifier not allowed: {0}
3574 
3575 # 0: symbol
3576 compiler.warn.service.provided.but.not.exported.or.used=\
3577     service interface provided but not exported or used
3578 
3579 # 0: kind name, 1: symbol, 2: symbol
3580 compiler.warn.leaks.not.accessible=\
3581     {0} {1} in module {2} is not accessible to clients that require this module
3582 # 0: kind name, 1: symbol, 2: symbol
3583 compiler.warn.leaks.not.accessible.unexported=\
3584     {0} {1} in module {2} is not exported
3585 # 0: kind name, 1: symbol, 2: symbol
3586 compiler.warn.leaks.not.accessible.not.required.transitive=\
3587     {0} {1} in module {2} is not indirectly exported using 'requires transitive'
3588 # 0: kind name, 1: symbol, 2: symbol
3589 compiler.warn.leaks.not.accessible.unexported.qualified=\
3590     {0} {1} in module {2} may not be visible to all clients that require this module

3882 # 0: option name
3883 compiler.err.release.bootclasspath.conflict=\
3884     option {0} cannot be used together with --release
3885 
3886 # 0: string
3887 compiler.err.unsupported.release.version=\
3888     release version {0} not supported
3889 
3890 # 0: string
3891 compiler.err.file.not.found=\
3892     file not found: {0}
3893 
3894 # 0: string, 1: source
3895 compiler.err.preview.not.latest=\
3896     invalid source release {0} with --enable-preview\n\
3897     (preview language features are only supported for release {1})
3898 
3899 compiler.err.preview.without.source.or.release=\
3900     --enable-preview must be used with either -source or --release
3901 


































































































3902 # 0: symbol
3903 compiler.err.deconstruction.pattern.only.records=\
3904     deconstruction patterns can only be applied to records, {0} is not a record
3905 
3906 # 0: list of type, 1: list of type
3907 compiler.err.incorrect.number.of.nested.patterns=\
3908     incorrect number of nested patterns\n\
3909     required: {0}\n\
3910     found: {1}
3911 
3912 compiler.err.raw.deconstruction.pattern=\
3913     raw deconstruction patterns are not allowed
3914 
3915 # 0: kind name, 1: symbol
3916 compiler.warn.declared.using.preview=\
3917     {0} {1} is declared using a preview feature, which may be removed in a future release.
3918 
3919 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
3920     attempt to synchronize on an instance of a value-based class
3921 

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

 685 compiler.err.illegal.start.of.expr=\
 686     illegal start of expression
 687 
 688 compiler.err.illegal.start.of.stmt=\
 689     illegal start of statement
 690 
 691 compiler.err.illegal.start.of.type=\
 692     illegal start of type
 693 
 694 compiler.err.illegal.parenthesized.expression=\
 695     illegal parenthesized expression
 696 
 697 compiler.err.illegal.unicode.esc=\
 698     illegal unicode escape
 699 
 700 # 0: symbol
 701 compiler.err.import.requires.canonical=\
 702     import requires canonical name for {0}
 703 
 704 compiler.err.improperly.formed.type.param.missing=\
 705     improperly formed type, some parameters are missing or misplaced
 706 
 707 compiler.err.improperly.formed.type.inner.raw.param=\
 708     improperly formed type, type arguments given on a raw type
 709 
 710 # 0: type, 1: type
 711 compiler.err.incomparable.types=\
 712     incomparable types: {0} and {1}
 713 
 714 # 0: string
 715 compiler.err.int.number.too.large=\
 716     integer number too large
 717 
 718 compiler.err.intf.annotation.members.cant.have.params=\
 719     elements in annotation interface declarations cannot declare formal parameters
 720 
 721 # 0: symbol
 722 compiler.err.intf.annotation.cant.have.type.params=\
 723     annotation interface {0} cannot be generic
 724 
 725 compiler.err.intf.annotation.members.cant.have.type.params=\

2565     required: {1}\n\
2566     found:    {0}
2567 
2568 ## The following are all possible strings for the first argument ({0}) of the
2569 ## above string.
2570 compiler.misc.type.req.class=\
2571     class
2572 
2573 compiler.misc.type.req.class.array=\
2574     class or array
2575 
2576 compiler.misc.type.req.array.or.iterable=\
2577     array or java.lang.Iterable
2578 
2579 compiler.misc.type.req.ref=\
2580     reference
2581 
2582 compiler.misc.type.req.exact=\
2583     class or interface without bounds
2584 
2585 compiler.misc.type.req.identity=\
2586     a type with identity
2587 
2588 # 0: type
2589 compiler.misc.type.parameter=\
2590     type parameter {0}
2591 
2592 #####
2593 
2594 ## The following are all possible strings for the last argument of all those
2595 ## diagnostics whose key ends in ".1"
2596 
2597 # 0: type, 1: list of type
2598 compiler.misc.no.unique.maximal.instance.exists=\
2599     no unique maximal instance exists for type variable {0} with upper bounds {1}
2600 
2601 # 0: type, 1: list of type
2602 compiler.misc.no.unique.minimal.instance.exists=\
2603     no unique minimal instance exists for type variable {0} with lower bounds {1}
2604 
2605 # 0: type, 1: list of type
2606 compiler.misc.incompatible.upper.bounds=\
2607     inference variable {0} has incompatible upper bounds {1}

3560     --add-opens has no effect at compile time
3561 
3562 compiler.misc.locn.module_source_path=\
3563     module source path
3564 
3565 compiler.misc.locn.upgrade_module_path=\
3566     upgrade module path
3567 
3568 compiler.misc.locn.system_modules=\
3569     system modules
3570 
3571 compiler.misc.locn.module_path=\
3572     application module path
3573 
3574 compiler.misc.cant.resolve.modules=\
3575     cannot resolve modules
3576 
3577 compiler.misc.bad.requires.flag=\
3578     bad requires flag: {0}
3579 
3580 compiler.misc.bad.access.flags=\
3581     bad access flags combination: {0}
3582 
3583 # 0: string
3584 compiler.err.invalid.module.specifier=\
3585     module specifier not allowed: {0}
3586 
3587 # 0: symbol
3588 compiler.warn.service.provided.but.not.exported.or.used=\
3589     service interface provided but not exported or used
3590 
3591 # 0: kind name, 1: symbol, 2: symbol
3592 compiler.warn.leaks.not.accessible=\
3593     {0} {1} in module {2} is not accessible to clients that require this module
3594 # 0: kind name, 1: symbol, 2: symbol
3595 compiler.warn.leaks.not.accessible.unexported=\
3596     {0} {1} in module {2} is not exported
3597 # 0: kind name, 1: symbol, 2: symbol
3598 compiler.warn.leaks.not.accessible.not.required.transitive=\
3599     {0} {1} in module {2} is not indirectly exported using 'requires transitive'
3600 # 0: kind name, 1: symbol, 2: symbol
3601 compiler.warn.leaks.not.accessible.unexported.qualified=\
3602     {0} {1} in module {2} may not be visible to all clients that require this module

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