< prev index next >

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

Print this page

 759 compiler.err.illegal.start.of.expr=\
 760     illegal start of expression
 761 
 762 compiler.err.illegal.start.of.stmt=\
 763     illegal start of statement
 764 
 765 compiler.err.illegal.start.of.type=\
 766     illegal start of type
 767 
 768 compiler.err.illegal.parenthesized.expression=\
 769     illegal parenthesized expression
 770 
 771 compiler.err.illegal.unicode.esc=\
 772     illegal unicode escape
 773 
 774 # 0: symbol
 775 compiler.err.import.requires.canonical=\
 776     import requires canonical name for {0}
 777 
 778 compiler.err.improperly.formed.type.param.missing=\
 779     improperly formed type, some parameters are missing
 780 
 781 compiler.err.improperly.formed.type.inner.raw.param=\
 782     improperly formed type, type arguments given on a raw type
 783 
 784 # 0: type, 1: type
 785 compiler.err.incomparable.types=\
 786     incomparable types: {0} and {1}
 787 
 788 # 0: string
 789 compiler.err.int.number.too.large=\
 790     integer number too large
 791 
 792 compiler.err.intf.annotation.members.cant.have.params=\
 793     elements in annotation interface declarations cannot declare formal parameters
 794 
 795 # 0: symbol
 796 compiler.err.intf.annotation.cant.have.type.params=\
 797     annotation interface {0} cannot be generic
 798 
 799 compiler.err.intf.annotation.members.cant.have.type.params=\

2060 compiler.warn.ineffectual.serial.field.externalizable=\
2061     serialPersistentFields is not effective in an Externalizable class
2062 
2063 compiler.warn.externalizable.missing.public.no.arg.ctor=\
2064     an Externalizable class needs a public no-arg constructor
2065 
2066 compiler.warn.non.serializable.instance.field=\
2067     non-transient instance field of a serializable class declared with a non-serializable type
2068 
2069 # 0: type
2070 compiler.warn.non.serializable.instance.field.array=\
2071     non-transient instance field of a serializable class declared with an array having a non-serializable base component type {0}
2072 
2073 compiler.warn.non.private.method.weaker.access=\
2074     serialization-related method declared non-private in an interface will prevent\n\
2075     classes implementing the interface from declaring the method as private
2076 
2077 compiler.warn.default.ineffective=\
2078     serialization-related default method from an interface will not be run by serialization for an implementing class
2079 






2080 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
2081 compiler.warn.potentially.ambiguous.overload=\
2082     {0} in {1} is potentially ambiguous with {2} in {3}
2083 
2084 # 0: message segment
2085 compiler.warn.override.varargs.missing=\
2086     {0}; overridden method has no ''...''
2087 
2088 # 0: message segment
2089 compiler.warn.override.varargs.extra=\
2090     {0}; overriding method is missing ''...''
2091 
2092 # 0: message segment
2093 compiler.warn.override.bridge=\
2094     {0}; overridden method is a bridge method
2095 
2096 # 0: symbol
2097 compiler.warn.pkg-info.already.seen=\
2098     a package-info.java file has already been seen for package {0}
2099 

2725     required: {1}\n\
2726     found:    {0}
2727 
2728 ## The following are all possible strings for the first argument ({0}) of the
2729 ## above string.
2730 compiler.misc.type.req.class=\
2731     class
2732 
2733 compiler.misc.type.req.class.array=\
2734     class or array
2735 
2736 compiler.misc.type.req.array.or.iterable=\
2737     array or java.lang.Iterable
2738 
2739 compiler.misc.type.req.ref=\
2740     reference
2741 
2742 compiler.misc.type.req.exact=\
2743     class or interface without bounds
2744 



2745 # 0: type
2746 compiler.misc.type.parameter=\
2747     type parameter {0}
2748 
2749 #####
2750 
2751 ## The following are all possible strings for the last argument of all those
2752 ## diagnostics whose key ends in ".1"
2753 
2754 # 0: type, 1: list of type
2755 compiler.misc.no.unique.maximal.instance.exists=\
2756     no unique maximal instance exists for type variable {0} with upper bounds {1}
2757 
2758 # 0: type, 1: list of type
2759 compiler.misc.no.unique.minimal.instance.exists=\
2760     no unique minimal instance exists for type variable {0} with lower bounds {1}
2761 
2762 # 0: type, 1: list of type
2763 compiler.misc.incompatible.upper.bounds=\
2764     inference variable {0} has incompatible upper bounds {1}

3754     --add-opens has no effect at compile time
3755 
3756 compiler.misc.locn.module_source_path=\
3757     module source path
3758 
3759 compiler.misc.locn.upgrade_module_path=\
3760     upgrade module path
3761 
3762 compiler.misc.locn.system_modules=\
3763     system modules
3764 
3765 compiler.misc.locn.module_path=\
3766     application module path
3767 
3768 compiler.misc.cant.resolve.modules=\
3769     cannot resolve modules
3770 
3771 compiler.misc.bad.requires.flag=\
3772     bad requires flag: {0}
3773 



3774 # 0: string
3775 compiler.err.invalid.module.specifier=\
3776     module specifier not allowed: {0}
3777 
3778 # 0: symbol
3779 compiler.warn.service.provided.but.not.exported.or.used=\
3780     service interface provided but not exported or used
3781 
3782 # 0: kind name, 1: symbol, 2: symbol
3783 compiler.warn.leaks.not.accessible=\
3784     {0} {1} in module {2} is not accessible to clients that require this module
3785 # 0: kind name, 1: symbol, 2: symbol
3786 compiler.warn.leaks.not.accessible.unexported=\
3787     {0} {1} in module {2} is not exported
3788 # 0: kind name, 1: symbol, 2: symbol
3789 compiler.warn.leaks.not.accessible.not.required.transitive=\
3790     {0} {1} in module {2} is not indirectly exported using ''requires transitive''
3791 # 0: kind name, 1: symbol, 2: symbol
3792 compiler.warn.leaks.not.accessible.unexported.qualified=\
3793     {0} {1} in module {2} may not be visible to all clients that require this module

4087 # 0: option name
4088 compiler.err.release.bootclasspath.conflict=\
4089     option {0} cannot be used together with --release
4090 
4091 # 0: string
4092 compiler.err.unsupported.release.version=\
4093     release version {0} not supported
4094 
4095 # 0: string
4096 compiler.err.file.not.found=\
4097     file not found: {0}
4098 
4099 # 0: string, 1: source
4100 compiler.err.preview.not.latest=\
4101     invalid source release {0} with --enable-preview\n\
4102     (preview language features are only supported for release {1})
4103 
4104 compiler.err.preview.without.source.or.release=\
4105     --enable-preview must be used with either -source or --release
4106 






















4107 # 0: symbol
4108 compiler.err.deconstruction.pattern.only.records=\
4109     deconstruction patterns can only be applied to records, {0} is not a record
4110 
4111 compiler.err.deconstruction.pattern.var.not.allowed=\
4112     deconstruction patterns can only be applied to records, var is not allowed
4113 
4114 # 0: list of type, 1: list of type
4115 compiler.err.incorrect.number.of.nested.patterns=\
4116     incorrect number of nested patterns\n\
4117     required: {0}\n\
4118     found: {1}
4119 
4120 # 0: kind name, 1: symbol
4121 compiler.warn.declared.using.preview=\
4122     {0} {1} is declared using a preview feature, which may be removed in a future release.
4123 
4124 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4125     attempt to synchronize on an instance of a value-based class
4126 
4127 # 0: type
4128 compiler.err.enclosing.class.type.non.denotable=\
4129     enclosing class type: {0}\n\
4130     is non-denotable, try casting to a denotable type




 759 compiler.err.illegal.start.of.expr=\
 760     illegal start of expression
 761 
 762 compiler.err.illegal.start.of.stmt=\
 763     illegal start of statement
 764 
 765 compiler.err.illegal.start.of.type=\
 766     illegal start of type
 767 
 768 compiler.err.illegal.parenthesized.expression=\
 769     illegal parenthesized expression
 770 
 771 compiler.err.illegal.unicode.esc=\
 772     illegal unicode escape
 773 
 774 # 0: symbol
 775 compiler.err.import.requires.canonical=\
 776     import requires canonical name for {0}
 777 
 778 compiler.err.improperly.formed.type.param.missing=\
 779     improperly formed type, some parameters are missing or misplaced
 780 
 781 compiler.err.improperly.formed.type.inner.raw.param=\
 782     improperly formed type, type arguments given on a raw type
 783 
 784 # 0: type, 1: type
 785 compiler.err.incomparable.types=\
 786     incomparable types: {0} and {1}
 787 
 788 # 0: string
 789 compiler.err.int.number.too.large=\
 790     integer number too large
 791 
 792 compiler.err.intf.annotation.members.cant.have.params=\
 793     elements in annotation interface declarations cannot declare formal parameters
 794 
 795 # 0: symbol
 796 compiler.err.intf.annotation.cant.have.type.params=\
 797     annotation interface {0} cannot be generic
 798 
 799 compiler.err.intf.annotation.members.cant.have.type.params=\

2060 compiler.warn.ineffectual.serial.field.externalizable=\
2061     serialPersistentFields is not effective in an Externalizable class
2062 
2063 compiler.warn.externalizable.missing.public.no.arg.ctor=\
2064     an Externalizable class needs a public no-arg constructor
2065 
2066 compiler.warn.non.serializable.instance.field=\
2067     non-transient instance field of a serializable class declared with a non-serializable type
2068 
2069 # 0: type
2070 compiler.warn.non.serializable.instance.field.array=\
2071     non-transient instance field of a serializable class declared with an array having a non-serializable base component type {0}
2072 
2073 compiler.warn.non.private.method.weaker.access=\
2074     serialization-related method declared non-private in an interface will prevent\n\
2075     classes implementing the interface from declaring the method as private
2076 
2077 compiler.warn.default.ineffective=\
2078     serialization-related default method from an interface will not be run by serialization for an implementing class
2079 
2080 compiler.warn.serializable.value.class.without.write.replace.1=\
2081     serializable value class does not declare, or inherits, a writeReplace method
2082 
2083 compiler.warn.serializable.value.class.without.write.replace.2=\
2084     serializable class does not declare, or inherits, a writeReplace method
2085 
2086 # 0: symbol, 1: symbol, 2: symbol, 3: symbol
2087 compiler.warn.potentially.ambiguous.overload=\
2088     {0} in {1} is potentially ambiguous with {2} in {3}
2089 
2090 # 0: message segment
2091 compiler.warn.override.varargs.missing=\
2092     {0}; overridden method has no ''...''
2093 
2094 # 0: message segment
2095 compiler.warn.override.varargs.extra=\
2096     {0}; overriding method is missing ''...''
2097 
2098 # 0: message segment
2099 compiler.warn.override.bridge=\
2100     {0}; overridden method is a bridge method
2101 
2102 # 0: symbol
2103 compiler.warn.pkg-info.already.seen=\
2104     a package-info.java file has already been seen for package {0}
2105 

2731     required: {1}\n\
2732     found:    {0}
2733 
2734 ## The following are all possible strings for the first argument ({0}) of the
2735 ## above string.
2736 compiler.misc.type.req.class=\
2737     class
2738 
2739 compiler.misc.type.req.class.array=\
2740     class or array
2741 
2742 compiler.misc.type.req.array.or.iterable=\
2743     array or java.lang.Iterable
2744 
2745 compiler.misc.type.req.ref=\
2746     reference
2747 
2748 compiler.misc.type.req.exact=\
2749     class or interface without bounds
2750 
2751 compiler.misc.type.req.identity=\
2752     a type with identity
2753 
2754 # 0: type
2755 compiler.misc.type.parameter=\
2756     type parameter {0}
2757 
2758 #####
2759 
2760 ## The following are all possible strings for the last argument of all those
2761 ## diagnostics whose key ends in ".1"
2762 
2763 # 0: type, 1: list of type
2764 compiler.misc.no.unique.maximal.instance.exists=\
2765     no unique maximal instance exists for type variable {0} with upper bounds {1}
2766 
2767 # 0: type, 1: list of type
2768 compiler.misc.no.unique.minimal.instance.exists=\
2769     no unique minimal instance exists for type variable {0} with lower bounds {1}
2770 
2771 # 0: type, 1: list of type
2772 compiler.misc.incompatible.upper.bounds=\
2773     inference variable {0} has incompatible upper bounds {1}

3763     --add-opens has no effect at compile time
3764 
3765 compiler.misc.locn.module_source_path=\
3766     module source path
3767 
3768 compiler.misc.locn.upgrade_module_path=\
3769     upgrade module path
3770 
3771 compiler.misc.locn.system_modules=\
3772     system modules
3773 
3774 compiler.misc.locn.module_path=\
3775     application module path
3776 
3777 compiler.misc.cant.resolve.modules=\
3778     cannot resolve modules
3779 
3780 compiler.misc.bad.requires.flag=\
3781     bad requires flag: {0}
3782 
3783 compiler.misc.bad.access.flags=\
3784     bad access flags combination: {0}
3785 
3786 # 0: string
3787 compiler.err.invalid.module.specifier=\
3788     module specifier not allowed: {0}
3789 
3790 # 0: symbol
3791 compiler.warn.service.provided.but.not.exported.or.used=\
3792     service interface provided but not exported or used
3793 
3794 # 0: kind name, 1: symbol, 2: symbol
3795 compiler.warn.leaks.not.accessible=\
3796     {0} {1} in module {2} is not accessible to clients that require this module
3797 # 0: kind name, 1: symbol, 2: symbol
3798 compiler.warn.leaks.not.accessible.unexported=\
3799     {0} {1} in module {2} is not exported
3800 # 0: kind name, 1: symbol, 2: symbol
3801 compiler.warn.leaks.not.accessible.not.required.transitive=\
3802     {0} {1} in module {2} is not indirectly exported using ''requires transitive''
3803 # 0: kind name, 1: symbol, 2: symbol
3804 compiler.warn.leaks.not.accessible.unexported.qualified=\
3805     {0} {1} in module {2} may not be visible to all clients that require this module

4099 # 0: option name
4100 compiler.err.release.bootclasspath.conflict=\
4101     option {0} cannot be used together with --release
4102 
4103 # 0: string
4104 compiler.err.unsupported.release.version=\
4105     release version {0} not supported
4106 
4107 # 0: string
4108 compiler.err.file.not.found=\
4109     file not found: {0}
4110 
4111 # 0: string, 1: source
4112 compiler.err.preview.not.latest=\
4113     invalid source release {0} with --enable-preview\n\
4114     (preview language features are only supported for release {1})
4115 
4116 compiler.err.preview.without.source.or.release=\
4117     --enable-preview must be used with either -source or --release
4118 
4119 compiler.misc.feature.value.classes=\
4120     value classes
4121 
4122 # 0: type, 1: type
4123 compiler.err.value.type.has.identity.super.type=\
4124     The identity type {1} cannot be a supertype of the value type {0}
4125 
4126 # 0: symbol, 1: type
4127 compiler.err.concrete.supertype.for.value.class=\
4128     The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
4129 
4130 # 0: symbol, 1: symbol, 2: type
4131 compiler.err.super.class.method.cannot.be.synchronized=\
4132     The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
4133 
4134 # 0: symbol or name
4135 compiler.err.cant.ref.after.ctor.called=\
4136     cannot assign to {0} after supertype constructor has been called
4137 
4138 compiler.err.non.abstract.value.class.cant.be.sealed.or.non.sealed=\
4139     ''sealed'' or ''non-sealed'' modifiers are only applicable to abstract value classes
4140 
4141 # 0: symbol
4142 compiler.err.deconstruction.pattern.only.records=\
4143     deconstruction patterns can only be applied to records, {0} is not a record
4144 
4145 compiler.err.deconstruction.pattern.var.not.allowed=\
4146     deconstruction patterns can only be applied to records, var is not allowed
4147 
4148 # 0: list of type, 1: list of type
4149 compiler.err.incorrect.number.of.nested.patterns=\
4150     incorrect number of nested patterns\n\
4151     required: {0}\n\
4152     found: {1}
4153 
4154 # 0: kind name, 1: symbol
4155 compiler.warn.declared.using.preview=\
4156     {0} {1} is declared using a preview feature, which may be removed in a future release.
4157 
4158 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4159     attempt to synchronize on an instance of a value-based class
4160 
4161 # 0: type
4162 compiler.err.enclosing.class.type.non.denotable=\
4163     enclosing class type: {0}\n\
4164     is non-denotable, try casting to a denotable type
4165 
4166 compiler.warn.value.finalize=\
4167     value classes should not have finalize methods, they are not invoked
< prev index next >