< prev index next >

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

Print this page

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

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






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

2709     required: {1}\n\
2710     found:    {0}
2711 
2712 ## The following are all possible strings for the first argument ({0}) of the
2713 ## above string.
2714 compiler.misc.type.req.class=\
2715     class
2716 
2717 compiler.misc.type.req.class.array=\
2718     class or array
2719 
2720 compiler.misc.type.req.array.or.iterable=\
2721     array or java.lang.Iterable
2722 
2723 compiler.misc.type.req.ref=\
2724     reference
2725 
2726 compiler.misc.type.req.exact=\
2727     class or interface without bounds
2728 



2729 # 0: type
2730 compiler.misc.type.parameter=\
2731     type parameter {0}
2732 
2733 #####
2734 
2735 ## The following are all possible strings for the last argument of all those
2736 ## diagnostics whose key ends in ".1"
2737 
2738 # 0: type, 1: list of type
2739 compiler.misc.no.unique.maximal.instance.exists=\
2740     no unique maximal instance exists for type variable {0} with upper bounds {1}
2741 
2742 # 0: type, 1: list of type
2743 compiler.misc.no.unique.minimal.instance.exists=\
2744     no unique minimal instance exists for type variable {0} with lower bounds {1}
2745 
2746 # 0: type, 1: list of type
2747 compiler.misc.incompatible.upper.bounds=\
2748     inference variable {0} has incompatible upper bounds {1}

3723     --add-opens has no effect at compile time
3724 
3725 compiler.misc.locn.module_source_path=\
3726     module source path
3727 
3728 compiler.misc.locn.upgrade_module_path=\
3729     upgrade module path
3730 
3731 compiler.misc.locn.system_modules=\
3732     system modules
3733 
3734 compiler.misc.locn.module_path=\
3735     application module path
3736 
3737 compiler.misc.cant.resolve.modules=\
3738     cannot resolve modules
3739 
3740 compiler.misc.bad.requires.flag=\
3741     bad requires flag: {0}
3742 



3743 # 0: string
3744 compiler.err.invalid.module.specifier=\
3745     module specifier not allowed: {0}
3746 
3747 # 0: symbol
3748 compiler.warn.service.provided.but.not.exported.or.used=\
3749     service interface provided but not exported or used
3750 
3751 # 0: kind name, 1: symbol, 2: symbol
3752 compiler.warn.leaks.not.accessible=\
3753     {0} {1} in module {2} is not accessible to clients that require this module
3754 # 0: kind name, 1: symbol, 2: symbol
3755 compiler.warn.leaks.not.accessible.unexported=\
3756     {0} {1} in module {2} is not exported
3757 # 0: kind name, 1: symbol, 2: symbol
3758 compiler.warn.leaks.not.accessible.not.required.transitive=\
3759     {0} {1} in module {2} is not indirectly exported using ''requires transitive''
3760 # 0: kind name, 1: symbol, 2: symbol
3761 compiler.warn.leaks.not.accessible.unexported.qualified=\
3762     {0} {1} in module {2} may not be visible to all clients that require this module

4056 # 0: option name
4057 compiler.err.release.bootclasspath.conflict=\
4058     option {0} cannot be used together with --release
4059 
4060 # 0: string
4061 compiler.err.unsupported.release.version=\
4062     release version {0} not supported
4063 
4064 # 0: string
4065 compiler.err.file.not.found=\
4066     file not found: {0}
4067 
4068 # 0: string, 1: source
4069 compiler.err.preview.not.latest=\
4070     invalid source release {0} with --enable-preview\n\
4071     (preview language features are only supported for release {1})
4072 
4073 compiler.err.preview.without.source.or.release=\
4074     --enable-preview must be used with either -source or --release
4075 



















4076 # 0: symbol
4077 compiler.err.deconstruction.pattern.only.records=\
4078     deconstruction patterns can only be applied to records, {0} is not a record
4079 
4080 compiler.err.deconstruction.pattern.var.not.allowed=\
4081     deconstruction patterns can only be applied to records, var is not allowed
4082 
4083 # 0: list of type, 1: list of type
4084 compiler.err.incorrect.number.of.nested.patterns=\
4085     incorrect number of nested patterns\n\
4086     required: {0}\n\
4087     found: {1}
4088 
4089 # 0: kind name, 1: symbol
4090 compiler.warn.declared.using.preview=\
4091     {0} {1} is declared using a preview feature, which may be removed in a future release.
4092 
4093 compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
4094     attempt to synchronize on an instance of a value-based class
4095 
4096 # 0: type
4097 compiler.err.enclosing.class.type.non.denotable=\
4098     enclosing class type: {0}\n\
4099     is non-denotable, try casting to a denotable type




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

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

2715     required: {1}\n\
2716     found:    {0}
2717 
2718 ## The following are all possible strings for the first argument ({0}) of the
2719 ## above string.
2720 compiler.misc.type.req.class=\
2721     class
2722 
2723 compiler.misc.type.req.class.array=\
2724     class or array
2725 
2726 compiler.misc.type.req.array.or.iterable=\
2727     array or java.lang.Iterable
2728 
2729 compiler.misc.type.req.ref=\
2730     reference
2731 
2732 compiler.misc.type.req.exact=\
2733     class or interface without bounds
2734 
2735 compiler.misc.type.req.identity=\
2736     a type with identity
2737 
2738 # 0: type
2739 compiler.misc.type.parameter=\
2740     type parameter {0}
2741 
2742 #####
2743 
2744 ## The following are all possible strings for the last argument of all those
2745 ## diagnostics whose key ends in ".1"
2746 
2747 # 0: type, 1: list of type
2748 compiler.misc.no.unique.maximal.instance.exists=\
2749     no unique maximal instance exists for type variable {0} with upper bounds {1}
2750 
2751 # 0: type, 1: list of type
2752 compiler.misc.no.unique.minimal.instance.exists=\
2753     no unique minimal instance exists for type variable {0} with lower bounds {1}
2754 
2755 # 0: type, 1: list of type
2756 compiler.misc.incompatible.upper.bounds=\
2757     inference variable {0} has incompatible upper bounds {1}

3732     --add-opens has no effect at compile time
3733 
3734 compiler.misc.locn.module_source_path=\
3735     module source path
3736 
3737 compiler.misc.locn.upgrade_module_path=\
3738     upgrade module path
3739 
3740 compiler.misc.locn.system_modules=\
3741     system modules
3742 
3743 compiler.misc.locn.module_path=\
3744     application module path
3745 
3746 compiler.misc.cant.resolve.modules=\
3747     cannot resolve modules
3748 
3749 compiler.misc.bad.requires.flag=\
3750     bad requires flag: {0}
3751 
3752 compiler.misc.bad.access.flags=\
3753     bad access flags combination: {0}
3754 
3755 # 0: string
3756 compiler.err.invalid.module.specifier=\
3757     module specifier not allowed: {0}
3758 
3759 # 0: symbol
3760 compiler.warn.service.provided.but.not.exported.or.used=\
3761     service interface provided but not exported or used
3762 
3763 # 0: kind name, 1: symbol, 2: symbol
3764 compiler.warn.leaks.not.accessible=\
3765     {0} {1} in module {2} is not accessible to clients that require this module
3766 # 0: kind name, 1: symbol, 2: symbol
3767 compiler.warn.leaks.not.accessible.unexported=\
3768     {0} {1} in module {2} is not exported
3769 # 0: kind name, 1: symbol, 2: symbol
3770 compiler.warn.leaks.not.accessible.not.required.transitive=\
3771     {0} {1} in module {2} is not indirectly exported using ''requires transitive''
3772 # 0: kind name, 1: symbol, 2: symbol
3773 compiler.warn.leaks.not.accessible.unexported.qualified=\
3774     {0} {1} in module {2} may not be visible to all clients that require this module

4068 # 0: option name
4069 compiler.err.release.bootclasspath.conflict=\
4070     option {0} cannot be used together with --release
4071 
4072 # 0: string
4073 compiler.err.unsupported.release.version=\
4074     release version {0} not supported
4075 
4076 # 0: string
4077 compiler.err.file.not.found=\
4078     file not found: {0}
4079 
4080 # 0: string, 1: source
4081 compiler.err.preview.not.latest=\
4082     invalid source release {0} with --enable-preview\n\
4083     (preview language features are only supported for release {1})
4084 
4085 compiler.err.preview.without.source.or.release=\
4086     --enable-preview must be used with either -source or --release
4087 
4088 compiler.misc.feature.value.classes=\
4089     value classes
4090 
4091 # 0: type, 1: type
4092 compiler.err.value.type.has.identity.super.type=\
4093     The identity type {1} cannot be a supertype of the value type {0}
4094 
4095 # 0: symbol, 1: type
4096 compiler.err.concrete.supertype.for.value.class=\
4097     The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
4098 
4099 # 0: symbol, 1: symbol, 2: type
4100 compiler.err.super.class.method.cannot.be.synchronized=\
4101     The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
4102 
4103 # 0: symbol or name
4104 compiler.err.cant.ref.after.ctor.called=\
4105     cannot reference {0} after supertype constructor has been called
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
4131 
4132 compiler.warn.value.finalize=\
4133     value classes should not have finalize methods, they are not invoked
< prev index next >