< 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\

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

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



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

3892 # 0: option name
3893 compiler.err.release.bootclasspath.conflict=\
3894     option {0} cannot be used together with --release
3895 
3896 # 0: string
3897 compiler.err.unsupported.release.version=\
3898     release version {0} not supported
3899 
3900 # 0: string
3901 compiler.err.file.not.found=\
3902     file not found: {0}
3903 
3904 # 0: string, 1: source
3905 compiler.err.preview.not.latest=\
3906     invalid source release {0} with --enable-preview\n\
3907     (preview language features are only supported for release {1})
3908 
3909 compiler.err.preview.without.source.or.release=\
3910     --enable-preview must be used with either -source or --release
3911 









































































3912 # 0: kind name, 1: symbol
3913 compiler.warn.declared.using.preview=\
3914     {0} {1} is declared using a preview feature, which may be removed in a future release.
3915 
3916 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
3917     attempt to synchronize on an instance of a value-based class
3918 
3919 # 0: type
3920 compiler.err.enclosing.class.type.non.denotable=\
3921     enclosing class type: {0}\n\
3922     is non-denotable, try casting to a denotable type

 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\

 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 or misplaced
 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 compiler.misc.type.req.identity=\
2580     a type with identity
2581 
2582 # 0: type
2583 compiler.misc.type.parameter=\
2584     type parameter {0}
2585 
2586 #####
2587 
2588 ## The following are all possible strings for the last argument of all those
2589 ## diagnostics whose key ends in ".1"
2590 
2591 # 0: type, 1: list of type
2592 compiler.misc.no.unique.maximal.instance.exists=\
2593     no unique maximal instance exists for type variable {0} with upper bounds {1}
2594 
2595 # 0: type, 1: list of type
2596 compiler.misc.no.unique.minimal.instance.exists=\
2597     no unique minimal instance exists for type variable {0} with lower bounds {1}
2598 
2599 # 0: type, 1: list of type
2600 compiler.misc.incompatible.upper.bounds=\
2601     inference variable {0} has incompatible upper bounds {1}

3901 # 0: option name
3902 compiler.err.release.bootclasspath.conflict=\
3903     option {0} cannot be used together with --release
3904 
3905 # 0: string
3906 compiler.err.unsupported.release.version=\
3907     release version {0} not supported
3908 
3909 # 0: string
3910 compiler.err.file.not.found=\
3911     file not found: {0}
3912 
3913 # 0: string, 1: source
3914 compiler.err.preview.not.latest=\
3915     invalid source release {0} with --enable-preview\n\
3916     (preview language features are only supported for release {1})
3917 
3918 compiler.err.preview.without.source.or.release=\
3919     --enable-preview must be used with either -source or --release
3920 
3921 compiler.misc.feature.primitive.classes=\
3922     primitive classes
3923 
3924 compiler.misc.feature.value.classes=\
3925     value classes
3926 
3927 # 0: symbol
3928 compiler.err.cyclic.primitive.class.membership=\
3929     cyclic primitive class membership involving {0}
3930 
3931 compiler.warn.get.class.compared.with.interface=\
3932     return value of getClass() can never equal the class literal of an interface
3933 
3934 # 0: name (of method)
3935 compiler.err.value.class.may.not.override=\
3936     value classes may not override the method {0} from Object
3937 
3938 # 0: name (of method)
3939 compiler.err.value.class.does.not.support=\
3940     value classes do not support {0}
3941 
3942 compiler.err.value.class.may.not.extend=\
3943     inappropriate super class declaration for a value class
3944 
3945 compiler.err.this.exposed.prematurely=\
3946     value class instance should not be passed around before being fully initialized
3947 
3948 # 0: type
3949 compiler.err.generic.parameterization.with.primitive.class=\
3950     Inferred type {0} involves generic parameterization by a primitive class
3951 
3952 # 0: type, 1: type
3953 compiler.err.value.type.has.identity.super.type=\
3954     The identity type {1} cannot be a supertype of the value type {0}
3955 
3956 # 0: type, 1: type
3957 compiler.err.identity.type.has.value.super.type=\
3958     The value type {1} cannot be a supertype of the identity type {0}
3959 
3960 # 0: symbol, 1: type
3961 compiler.err.concrete.supertype.for.value.class=\
3962     The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
3963 
3964 # 0: symbol, 1: symbol, 2: type
3965 compiler.err.super.method.cannot.be.synchronized=\
3966     The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
3967 
3968 # 0: symbol, 1: symbol, 2: type
3969 compiler.err.super.constructor.cannot.take.arguments=\
3970     The super class {2} of the value class {1} defines a constructor {0} that takes arguments. This is disallowed
3971 
3972 # 0: symbol, 1: symbol, 2: type
3973 compiler.err.super.field.not.allowed=\
3974     The super class {2} of the value class {1} defines an instance field {0}. This is disallowed
3975 
3976 # 0: symbol, 1: symbol, 2: type
3977 compiler.err.super.no.arg.constructor.must.be.empty=\
3978     The super class {2} of the value class {1} defines a nonempty no-arg constructor {0}. This is disallowed
3979 
3980 # 0: symbol, 1: type
3981 compiler.err.super.class.declares.init.block=\
3982     The super class {1} of the value class {0} declares one or more non-empty instance initializer blocks. This is disallowed.
3983 
3984 # 0: symbol, 1: type
3985 compiler.err.super.class.cannot.be.inner=\
3986     The super class {1} of the value class {0} is an inner class. This is disallowed.
3987 
3988 compiler.err.projection.cant.be.instantiated=\
3989     Illegal attempt to instantiate a projection type
3990 
3991 compiler.err.call.to.super.not.allowed.in.value.ctor=\
3992     call to super not allowed in value class constructor
3993 
3994 # 0: kind name, 1: symbol
3995 compiler.warn.declared.using.preview=\
3996     {0} {1} is declared using a preview feature, which may be removed in a future release.
3997 
3998 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
3999     attempt to synchronize on an instance of a value-based class
4000 
4001 # 0: type
4002 compiler.err.enclosing.class.type.non.denotable=\
4003     enclosing class type: {0}\n\
4004     is non-denotable, try casting to a denotable type
< prev index next >