langtools/src/share/classes/com/sun/tools/javac/resources/compiler.properties
author mcimadamore
Tue, 07 Sep 2010 17:32:27 +0100
changeset 6592 dc56420a69bc
parent 6581 f58f0ce45802
child 6710 b14e6fe7b290
permissions -rw-r--r--
6979327: method handle invocation should use casts instead of type parameters to specify return type Summary: infer return type for polymorphic signature calls according to updated JSR 292 draft Reviewed-by: jjg Contributed-by: john.r.rose@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
#
5520
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5492
diff changeset
     2
# Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
#
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
5520
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5492
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5520
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5492
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
#
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
#
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
06bc494ca11e Initial load
duke
parents:
diff changeset
    20
#
5520
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5492
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5492
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 5492
diff changeset
    23
# questions.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
#
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
06bc494ca11e Initial load
duke
parents:
diff changeset
    26
##
06bc494ca11e Initial load
duke
parents:
diff changeset
    27
## errors
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
##
06bc494ca11e Initial load
duke
parents:
diff changeset
    29
06bc494ca11e Initial load
duke
parents:
diff changeset
    30
compiler.err.abstract.cant.be.instantiated=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    31
    {0} is abstract; cannot be instantiated
06bc494ca11e Initial load
duke
parents:
diff changeset
    32
compiler.err.abstract.meth.cant.have.body=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    33
    abstract methods cannot have a body
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
compiler.err.already.annotated=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    35
    {0} {1} has already been annotated
06bc494ca11e Initial load
duke
parents:
diff changeset
    36
compiler.err.already.defined=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    37
    {0} is already defined in {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
    38
compiler.err.already.defined.single.import=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    39
    {0} is already defined in a single-type import
06bc494ca11e Initial load
duke
parents:
diff changeset
    40
compiler.err.already.defined.static.single.import=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    41
    {0} is already defined in a static single-type import
06bc494ca11e Initial load
duke
parents:
diff changeset
    42
compiler.err.already.defined.this.unit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    43
    {0} is already defined in this compilation unit
06bc494ca11e Initial load
duke
parents:
diff changeset
    44
compiler.err.annotation.missing.default.value=\
6345
7d98c298aafd 6975231: Regression test for 6881115 is failing with compiler output not matching expected output
mcimadamore
parents: 6157
diff changeset
    45
    annotation {0} is missing value for the attribute {1}
7d98c298aafd 6975231: Regression test for 6881115 is failing with compiler output not matching expected output
mcimadamore
parents: 6157
diff changeset
    46
compiler.err.annotation.missing.default.value.1=\
7d98c298aafd 6975231: Regression test for 6881115 is failing with compiler output not matching expected output
mcimadamore
parents: 6157
diff changeset
    47
    annotation {0} is missing values for attributes {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
compiler.err.annotation.not.valid.for.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    49
    annotation not valid for a value of type {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
    50
compiler.err.annotation.type.not.applicable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    51
    annotation type not applicable to this kind of declaration
06bc494ca11e Initial load
duke
parents:
diff changeset
    52
compiler.err.annotation.value.must.be.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    53
    annotation value must be an annotation
06bc494ca11e Initial load
duke
parents:
diff changeset
    54
compiler.err.annotation.value.must.be.class.literal=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    55
    annotation value must be a class literal
06bc494ca11e Initial load
duke
parents:
diff changeset
    56
compiler.err.annotation.value.must.be.name.value=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    57
    annotation values must be of the form ''name=value''
06bc494ca11e Initial load
duke
parents:
diff changeset
    58
compiler.err.annotation.value.not.allowable.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    59
    annotation value not of an allowable type
06bc494ca11e Initial load
duke
parents:
diff changeset
    60
compiler.err.anon.class.impl.intf.no.args=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    61
    anonymous class implements interface; cannot have arguments
06bc494ca11e Initial load
duke
parents:
diff changeset
    62
compiler.err.anon.class.impl.intf.no.typeargs=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    63
    anonymous class implements interface; cannot have type arguments
06bc494ca11e Initial load
duke
parents:
diff changeset
    64
compiler.err.anon.class.impl.intf.no.qual.for.new=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    65
    anonymous class implements interface; cannot have qualifier for new
6148
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
    66
compiler.misc.twr.not.applicable.to.type=\
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
    67
    automatic resource management not applicable to variable type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    68
compiler.err.array.and.varargs=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    69
    cannot declare both {0} and {1} in {2}
06bc494ca11e Initial load
duke
parents:
diff changeset
    70
compiler.err.array.dimension.missing=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    71
    array dimension missing
06bc494ca11e Initial load
duke
parents:
diff changeset
    72
compiler.err.array.req.but.found=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    73
    array required, but {0} found
06bc494ca11e Initial load
duke
parents:
diff changeset
    74
06bc494ca11e Initial load
duke
parents:
diff changeset
    75
compiler.err.assignment.from.super-bound=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    76
    assigning from wildcard {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
    77
compiler.err.assignment.to.extends-bound=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    78
    assigning to wildcard {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
    79
compiler.err.attribute.value.must.be.constant=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    80
    attribute value must be constant
06bc494ca11e Initial load
duke
parents:
diff changeset
    81
06bc494ca11e Initial load
duke
parents:
diff changeset
    82
compiler.err.break.outside.switch.loop=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    83
    break outside switch or loop
06bc494ca11e Initial load
duke
parents:
diff changeset
    84
06bc494ca11e Initial load
duke
parents:
diff changeset
    85
compiler.err.call.must.be.first.stmt.in.ctor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    86
    call to {0} must be first statement in constructor
06bc494ca11e Initial load
duke
parents:
diff changeset
    87
compiler.err.cant.apply.symbol=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
    88
    {0} {1} in {4} {5} cannot be applied to given types\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
    89
    required: {2}\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
    90
    found: {3}
3140
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
    91
compiler.err.cant.apply.symbol.1=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
    92
    {0} {1} in {4} {5} cannot be applied to given types;\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
    93
    required: {2}\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
    94
    found: {3}\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
    95
    reason: {6}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    96
compiler.err.cant.assign.val.to.final.var=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    97
    cannot assign a value to final variable {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
    98
compiler.err.cant.deref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    99
    {0} cannot be dereferenced
06bc494ca11e Initial load
duke
parents:
diff changeset
   100
compiler.err.cant.extend.intf.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   101
    ''extends'' not allowed for @interfaces
06bc494ca11e Initial load
duke
parents:
diff changeset
   102
compiler.err.cant.inherit.from.final=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   103
    cannot inherit from final {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   104
compiler.err.cant.ref.before.ctor.called=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   105
    cannot reference {0} before supertype constructor has been called
06bc494ca11e Initial load
duke
parents:
diff changeset
   106
compiler.err.cant.ret.val.from.meth.decl.void=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   107
    cannot return a value from method whose result type is void
06bc494ca11e Initial load
duke
parents:
diff changeset
   108
compiler.err.cant.select.static.class.from.param.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   109
    cannot select a static class from a parameterized type
06bc494ca11e Initial load
duke
parents:
diff changeset
   110
compiler.err.cant.inherit.diff.arg=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   111
    {0} cannot be inherited with different arguments: <{1}> and <{2}>
06bc494ca11e Initial load
duke
parents:
diff changeset
   112
compiler.err.catch.without.try=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   113
    ''catch'' without ''try''
06bc494ca11e Initial load
duke
parents:
diff changeset
   114
compiler.err.clash.with.pkg.of.same.name=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   115
    {0} clashes with package of same name
06bc494ca11e Initial load
duke
parents:
diff changeset
   116
compiler.err.const.expr.req=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   117
    constant expression required
06bc494ca11e Initial load
duke
parents:
diff changeset
   118
compiler.err.enum.const.req=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   119
    unqualified enumeration constant name required
06bc494ca11e Initial load
duke
parents:
diff changeset
   120
compiler.err.cont.outside.loop=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   121
    continue outside of loop
06bc494ca11e Initial load
duke
parents:
diff changeset
   122
compiler.err.cyclic.inheritance=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   123
    cyclic inheritance involving {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   124
compiler.err.cyclic.annotation.element=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   125
    cyclic annotation element type
06bc494ca11e Initial load
duke
parents:
diff changeset
   126
compiler.err.call.to.super.not.allowed.in.enum.ctor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   127
    call to super not allowed in enum constructor
06bc494ca11e Initial load
duke
parents:
diff changeset
   128
compiler.err.no.superclass=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   129
    {0} has no superclass
06bc494ca11e Initial load
duke
parents:
diff changeset
   130
6592
dc56420a69bc 6979327: method handle invocation should use casts instead of type parameters to specify return type
mcimadamore
parents: 6581
diff changeset
   131
compiler.warn.type.parameter.on.polymorphic.signature=\
dc56420a69bc 6979327: method handle invocation should use casts instead of type parameters to specify return type
mcimadamore
parents: 6581
diff changeset
   132
    change obsolete notation for MethodHandle invocations from x.<T>invoke(y) to (T)x.invoke(y)
dc56420a69bc 6979327: method handle invocation should use casts instead of type parameters to specify return type
mcimadamore
parents: 6581
diff changeset
   133
compiler.warn.wrong.target.for.polymorphic.signature.definition=\
dc56420a69bc 6979327: method handle invocation should use casts instead of type parameters to specify return type
mcimadamore
parents: 6581
diff changeset
   134
    MethodHandle API building requires -target 7 runtimes or better; current is -target {0}
dc56420a69bc 6979327: method handle invocation should use casts instead of type parameters to specify return type
mcimadamore
parents: 6581
diff changeset
   135
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   136
compiler.err.concrete.inheritance.conflict=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   137
    methods {0} from {1} and {2} from {3} are inherited with the same signature
06bc494ca11e Initial load
duke
parents:
diff changeset
   138
06bc494ca11e Initial load
duke
parents:
diff changeset
   139
compiler.err.default.allowed.in.intf.annotation.member=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   140
    default value only allowed in an @interface member
06bc494ca11e Initial load
duke
parents:
diff changeset
   141
compiler.err.doesnt.exist=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   142
    package {0} does not exist
06bc494ca11e Initial load
duke
parents:
diff changeset
   143
compiler.err.duplicate.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   144
    duplicate annotation
06bc494ca11e Initial load
duke
parents:
diff changeset
   145
compiler.err.duplicate.annotation.member.value=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   146
    duplicate annotation member value {0} in {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   147
compiler.err.duplicate.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   148
    duplicate class: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   149
compiler.err.duplicate.case.label=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   150
    duplicate case label
06bc494ca11e Initial load
duke
parents:
diff changeset
   151
compiler.err.duplicate.default.label=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   152
    duplicate default label
06bc494ca11e Initial load
duke
parents:
diff changeset
   153
06bc494ca11e Initial load
duke
parents:
diff changeset
   154
compiler.err.else.without.if=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   155
    ''else'' without ''if''
2723
b659ca23d5f5 6829189: Java programming with JSR 292 needs language support
jrose
parents: 2223
diff changeset
   156
compiler.err.empty.bytecode.ident=\
b659ca23d5f5 6829189: Java programming with JSR 292 needs language support
jrose
parents: 2223
diff changeset
   157
    empty bytecode identifier
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   158
compiler.err.empty.char.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   159
    empty character literal
06bc494ca11e Initial load
duke
parents:
diff changeset
   160
compiler.err.encl.class.required=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   161
    an enclosing instance that contains {0} is required
06bc494ca11e Initial load
duke
parents:
diff changeset
   162
compiler.err.enum.annotation.must.be.enum.constant=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   163
    an enum annotation value must be an enum constant
06bc494ca11e Initial load
duke
parents:
diff changeset
   164
06bc494ca11e Initial load
duke
parents:
diff changeset
   165
compiler.err.enum.cant.be.instantiated=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   166
    enum types may not be instantiated
06bc494ca11e Initial load
duke
parents:
diff changeset
   167
compiler.err.enum.label.must.be.unqualified.enum=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   168
    an enum switch case label must be the unqualified name of an enumeration constant
06bc494ca11e Initial load
duke
parents:
diff changeset
   169
compiler.err.enum.no.subclassing=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   170
    classes cannot directly extend java.lang.Enum
06bc494ca11e Initial load
duke
parents:
diff changeset
   171
compiler.err.enum.types.not.extensible=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   172
    enum types are not extensible
06bc494ca11e Initial load
duke
parents:
diff changeset
   173
compiler.err.enum.no.finalize=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   174
    enums cannot have finalize methods
06bc494ca11e Initial load
duke
parents:
diff changeset
   175
compiler.err.error.reading.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   176
    error reading {0}; {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   177
compiler.err.except.already.caught=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   178
    exception {0} has already been caught
06bc494ca11e Initial load
duke
parents:
diff changeset
   179
compiler.err.except.never.thrown.in.try=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   180
    exception {0} is never thrown in body of corresponding try statement
06bc494ca11e Initial load
duke
parents:
diff changeset
   181
06bc494ca11e Initial load
duke
parents:
diff changeset
   182
compiler.err.final.parameter.may.not.be.assigned=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   183
    final parameter {0} may not be assigned
6148
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
   184
compiler.err.twr.resource.may.not.be.assigned=\
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
   185
    automatic resource {0} may not be assigned
5492
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
   186
compiler.err.multicatch.parameter.may.not.be.assigned=\
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
   187
    multi-catch parameter {0} may not be assigned
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
   188
compiler.err.multicatch.param.must.be.final=\
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
   189
    multi-catch parameter {0} must be final
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   190
compiler.err.finally.without.try=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   191
    ''finally'' without ''try''
06bc494ca11e Initial load
duke
parents:
diff changeset
   192
compiler.err.foreach.not.applicable.to.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   193
    foreach not applicable to expression type
06bc494ca11e Initial load
duke
parents:
diff changeset
   194
compiler.err.fp.number.too.large=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   195
    floating point number too large
06bc494ca11e Initial load
duke
parents:
diff changeset
   196
compiler.err.fp.number.too.small=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   197
    floating point number too small
06bc494ca11e Initial load
duke
parents:
diff changeset
   198
06bc494ca11e Initial load
duke
parents:
diff changeset
   199
compiler.err.generic.array.creation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   200
    generic array creation
06bc494ca11e Initial load
duke
parents:
diff changeset
   201
compiler.err.generic.throwable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   202
    a generic class may not extend java.lang.Throwable
06bc494ca11e Initial load
duke
parents:
diff changeset
   203
06bc494ca11e Initial load
duke
parents:
diff changeset
   204
compiler.err.icls.cant.have.static.decl=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   205
    inner classes cannot have static declarations
2723
b659ca23d5f5 6829189: Java programming with JSR 292 needs language support
jrose
parents: 2223
diff changeset
   206
compiler.err.illegal.bytecode.ident.char=\
b659ca23d5f5 6829189: Java programming with JSR 292 needs language support
jrose
parents: 2223
diff changeset
   207
    illegal bytecode identifier character: \\{0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   208
compiler.err.illegal.char=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   209
    illegal character: \\{0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   210
compiler.err.illegal.char.for.encoding=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   211
    unmappable character for encoding {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   212
compiler.err.illegal.combination.of.modifiers=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   213
    illegal combination of modifiers: {0} and {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   214
compiler.err.illegal.enum.static.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   215
    illegal reference to static field from initializer
06bc494ca11e Initial load
duke
parents:
diff changeset
   216
compiler.err.illegal.esc.char=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   217
    illegal escape character
06bc494ca11e Initial load
duke
parents:
diff changeset
   218
compiler.err.illegal.forward.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   219
    illegal forward reference
06bc494ca11e Initial load
duke
parents:
diff changeset
   220
compiler.warn.forward.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   221
    reference to variable ''{0}'' before it has been initialized
1045
56f6e84f7825 6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents: 939
diff changeset
   222
compiler.err.illegal.self.ref=\
56f6e84f7825 6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents: 939
diff changeset
   223
    self-reference in initializer
56f6e84f7825 6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents: 939
diff changeset
   224
compiler.warn.self.ref=\
56f6e84f7825 6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents: 939
diff changeset
   225
    self-reference in initializer of variable ''{0}''
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   226
compiler.err.illegal.generic.type.for.instof=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   227
    illegal generic type for instanceof
06bc494ca11e Initial load
duke
parents:
diff changeset
   228
compiler.err.illegal.initializer.for.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   229
    illegal initializer for {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   230
compiler.err.illegal.line.end.in.char.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   231
    illegal line end in character literal
06bc494ca11e Initial load
duke
parents:
diff changeset
   232
compiler.err.illegal.nonascii.digit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   233
    illegal non-ASCII digit
3895
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
   234
compiler.err.illegal.underscore=\
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
   235
    illegal underscore
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   236
compiler.err.illegal.qual.not.icls=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   237
    illegal qualifier; {0} is not an inner class
06bc494ca11e Initial load
duke
parents:
diff changeset
   238
compiler.err.illegal.start.of.expr=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   239
    illegal start of expression
06bc494ca11e Initial load
duke
parents:
diff changeset
   240
compiler.err.illegal.start.of.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   241
    illegal start of type
06bc494ca11e Initial load
duke
parents:
diff changeset
   242
compiler.err.illegal.unicode.esc=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   243
    illegal unicode escape
06bc494ca11e Initial load
duke
parents:
diff changeset
   244
compiler.err.import.requires.canonical=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   245
    import requires canonical name for {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   246
compiler.err.improperly.formed.type.param.missing=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   247
    improperly formed type, some parameters are missing
06bc494ca11e Initial load
duke
parents:
diff changeset
   248
compiler.err.improperly.formed.type.inner.raw.param=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   249
    improperly formed type, type parameters given on a raw type
06bc494ca11e Initial load
duke
parents:
diff changeset
   250
compiler.err.incomparable.types=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   251
    incomparable types: {0} and {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   252
compiler.err.int.number.too.large=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   253
    integer number too large: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   254
compiler.err.internal.error.cant.instantiate=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   255
    internal error; cannot instantiate {0} at {1} to ({2})
06bc494ca11e Initial load
duke
parents:
diff changeset
   256
compiler.err.intf.annotation.members.cant.have.params=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   257
    @interface members may not have parameters
06bc494ca11e Initial load
duke
parents:
diff changeset
   258
compiler.err.intf.annotation.cant.have.type.params=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   259
    @interface may not have type parameters
06bc494ca11e Initial load
duke
parents:
diff changeset
   260
compiler.err.intf.annotation.members.cant.have.type.params=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   261
    @interface members may not have type parameters
06bc494ca11e Initial load
duke
parents:
diff changeset
   262
compiler.err.intf.annotation.member.clash=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   263
    @interface member clashes with method ''{0}'' in {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   264
compiler.err.intf.expected.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   265
    interface expected here
06bc494ca11e Initial load
duke
parents:
diff changeset
   266
compiler.err.intf.meth.cant.have.body=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   267
    interface methods cannot have body
06bc494ca11e Initial load
duke
parents:
diff changeset
   268
compiler.err.invalid.annotation.member.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   269
    invalid type for annotation member
4072
70eaf9773f81 6891079: Compiler allows invalid binary literals 0b and oBL
jjg
parents: 3895
diff changeset
   270
compiler.err.invalid.binary.number=\
70eaf9773f81 6891079: Compiler allows invalid binary literals 0b and oBL
jjg
parents: 3895
diff changeset
   271
    binary numbers must contain at least one binary digit
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   272
compiler.err.invalid.hex.number=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   273
    hexadecimal numbers must contain at least one hexadecimal digit
06bc494ca11e Initial load
duke
parents:
diff changeset
   274
compiler.err.invalid.meth.decl.ret.type.req=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   275
    invalid method declaration; return type required
06bc494ca11e Initial load
duke
parents:
diff changeset
   276
06bc494ca11e Initial load
duke
parents:
diff changeset
   277
compiler.err.label.already.in.use=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   278
    label {0} already in use
06bc494ca11e Initial load
duke
parents:
diff changeset
   279
compiler.err.local.var.accessed.from.icls.needs.final=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   280
    local variable {0} is accessed from within inner class; needs to be declared final
06bc494ca11e Initial load
duke
parents:
diff changeset
   281
compiler.err.local.enum=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   282
    enum types must not be local
06bc494ca11e Initial load
duke
parents:
diff changeset
   283
compiler.err.cannot.create.array.with.type.arguments=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   284
    cannot create array with type arguments
06bc494ca11e Initial load
duke
parents:
diff changeset
   285
06bc494ca11e Initial load
duke
parents:
diff changeset
   286
#
06bc494ca11e Initial load
duke
parents:
diff changeset
   287
# limits.  We don't give the limits in the diagnostic because we expect
06bc494ca11e Initial load
duke
parents:
diff changeset
   288
# them to change, yet we want to use the same diagnostic.  These are all
06bc494ca11e Initial load
duke
parents:
diff changeset
   289
# detected during code generation.
06bc494ca11e Initial load
duke
parents:
diff changeset
   290
#
06bc494ca11e Initial load
duke
parents:
diff changeset
   291
compiler.err.limit.code=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   292
    code too large
06bc494ca11e Initial load
duke
parents:
diff changeset
   293
compiler.err.limit.code.too.large.for.try.stmt=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   294
    code too large for try statement
06bc494ca11e Initial load
duke
parents:
diff changeset
   295
compiler.err.limit.dimensions=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   296
    array type has too many dimensions
06bc494ca11e Initial load
duke
parents:
diff changeset
   297
compiler.err.limit.locals=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   298
    too many local variables
06bc494ca11e Initial load
duke
parents:
diff changeset
   299
compiler.err.limit.parameters=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   300
    too many parameters
06bc494ca11e Initial load
duke
parents:
diff changeset
   301
compiler.err.limit.pool=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   302
    too many constants
06bc494ca11e Initial load
duke
parents:
diff changeset
   303
compiler.err.limit.pool.in.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   304
    too many constants in class {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   305
compiler.err.limit.stack=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   306
    code requires too much stack
06bc494ca11e Initial load
duke
parents:
diff changeset
   307
compiler.err.limit.string=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   308
    constant string too long
06bc494ca11e Initial load
duke
parents:
diff changeset
   309
compiler.err.limit.string.overflow=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   310
    UTF8 representation for string \"{0}...\" is too long for the constant pool
06bc494ca11e Initial load
duke
parents:
diff changeset
   311
06bc494ca11e Initial load
duke
parents:
diff changeset
   312
compiler.err.malformed.fp.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   313
    malformed floating point literal
06bc494ca11e Initial load
duke
parents:
diff changeset
   314
compiler.err.method.does.not.override.superclass=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   315
    method does not override or implement a method from a supertype
06bc494ca11e Initial load
duke
parents:
diff changeset
   316
compiler.err.missing.meth.body.or.decl.abstract=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   317
    missing method body, or declare abstract
06bc494ca11e Initial load
duke
parents:
diff changeset
   318
compiler.err.missing.ret.stmt=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   319
    missing return statement
06bc494ca11e Initial load
duke
parents:
diff changeset
   320
compiler.err.missing.ret.val=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   321
    missing return value
06bc494ca11e Initial load
duke
parents:
diff changeset
   322
compiler.err.mod.not.allowed.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   323
    modifier {0} not allowed here
06bc494ca11e Initial load
duke
parents:
diff changeset
   324
compiler.err.intf.not.allowed.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   325
    interface not allowed here
06bc494ca11e Initial load
duke
parents:
diff changeset
   326
compiler.err.enums.must.be.static=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   327
    enum declarations allowed only in static contexts
06bc494ca11e Initial load
duke
parents:
diff changeset
   328
06bc494ca11e Initial load
duke
parents:
diff changeset
   329
compiler.err.name.clash.same.erasure=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   330
    name clash: {0} and {1} have the same erasure
06bc494ca11e Initial load
duke
parents:
diff changeset
   331
compiler.err.name.clash.same.erasure.no.override=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   332
    name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the other
06bc494ca11e Initial load
duke
parents:
diff changeset
   333
compiler.err.name.reserved.for.internal.use=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   334
    {0} is reserved for internal use
06bc494ca11e Initial load
duke
parents:
diff changeset
   335
compiler.err.native.meth.cant.have.body=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   336
    native methods cannot have a body
06bc494ca11e Initial load
duke
parents:
diff changeset
   337
compiler.err.neither.conditional.subtype=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   338
incompatible types for ?: neither is a subtype of the other\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   339
second operand: {0}\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   340
third operand : {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   341
compiler.err.new.not.allowed.in.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   342
    ''new'' not allowed in an annotation
06bc494ca11e Initial load
duke
parents:
diff changeset
   343
compiler.err.no.annotation.member=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   344
    no annotation member {0} in {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   345
compiler.err.no.encl.instance.of.type.in.scope=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   346
    no enclosing instance of type {0} is in scope
06bc494ca11e Initial load
duke
parents:
diff changeset
   347
compiler.err.no.intf.expected.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   348
    no interface expected here
06bc494ca11e Initial load
duke
parents:
diff changeset
   349
compiler.err.no.match.entry=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   350
    {0} has no match in entry in {1}; required {2}
06bc494ca11e Initial load
duke
parents:
diff changeset
   351
compiler.err.not.annotation.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   352
    {0} is not an annotation type
06bc494ca11e Initial load
duke
parents:
diff changeset
   353
compiler.err.not.def.access.class.intf.cant.access=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   354
    {0} in {1} is defined in an inaccessible class or interface
06bc494ca11e Initial load
duke
parents:
diff changeset
   355
compiler.err.not.def.public.cant.access=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   356
    {0} is not public in {1}; cannot be accessed from outside package
06bc494ca11e Initial load
duke
parents:
diff changeset
   357
compiler.err.not.loop.label=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   358
    not a loop label: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   359
compiler.err.not.stmt=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   360
    not a statement
06bc494ca11e Initial load
duke
parents:
diff changeset
   361
compiler.err.not.encl.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   362
    not an enclosing class: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   363
06bc494ca11e Initial load
duke
parents:
diff changeset
   364
compiler.err.operator.cant.be.applied=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   365
    operator {0} cannot be applied to {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   366
06bc494ca11e Initial load
duke
parents:
diff changeset
   367
compiler.err.pkg.annotations.sb.in.package-info.java=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   368
    package annotations should be in file package-info.java
06bc494ca11e Initial load
duke
parents:
diff changeset
   369
compiler.err.pkg.clashes.with.class.of.same.name=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   370
    package {0} clashes with class of same name
06bc494ca11e Initial load
duke
parents:
diff changeset
   371
1996
c855318a4b03 6595666: fix -Werror
jjg
parents: 1538
diff changeset
   372
compiler.err.warnings.and.werror=\
c855318a4b03 6595666: fix -Werror
jjg
parents: 1538
diff changeset
   373
    warnings found and -Werror specified
c855318a4b03 6595666: fix -Werror
jjg
parents: 1538
diff changeset
   374
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   375
# Errors related to annotation processing
06bc494ca11e Initial load
duke
parents:
diff changeset
   376
06bc494ca11e Initial load
duke
parents:
diff changeset
   377
compiler.err.proc.cant.access=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   378
cannot access {0}\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   379
{1}\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   380
Consult the following stack trace for details.\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   381
{2}
06bc494ca11e Initial load
duke
parents:
diff changeset
   382
06bc494ca11e Initial load
duke
parents:
diff changeset
   383
compiler.err.proc.cant.find.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   384
    Could not find class file for ''{0}''.
06bc494ca11e Initial load
duke
parents:
diff changeset
   385
06bc494ca11e Initial load
duke
parents:
diff changeset
   386
# Print a client-generated error message; assumed to be localized, no translation required
06bc494ca11e Initial load
duke
parents:
diff changeset
   387
compiler.err.proc.messager=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   388
    {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   389
06bc494ca11e Initial load
duke
parents:
diff changeset
   390
compiler.err.proc.no.explicit.annotation.processing.requested=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   391
    Class names, ''{0}'', are only accepted if annotation processing is explicitly requested
06bc494ca11e Initial load
duke
parents:
diff changeset
   392
06bc494ca11e Initial load
duke
parents:
diff changeset
   393
compiler.err.proc.no.service=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   394
    A service loader class could not be found.\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   395
    Either java.util.ServiceLoader or sun.misc.Service must be available.
06bc494ca11e Initial load
duke
parents:
diff changeset
   396
06bc494ca11e Initial load
duke
parents:
diff changeset
   397
compiler.err.proc.processor.bad.option.name=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   398
    Bad option name ''{0}'' provided by processor ''{1}''
06bc494ca11e Initial load
duke
parents:
diff changeset
   399
06bc494ca11e Initial load
duke
parents:
diff changeset
   400
compiler.err.proc.processor.cant.instantiate=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   401
    Could not instantiate an instance of processor ''{0}''
06bc494ca11e Initial load
duke
parents:
diff changeset
   402
06bc494ca11e Initial load
duke
parents:
diff changeset
   403
compiler.err.proc.processor.constructor.error=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   404
    Exception thrown while constructing Processor object: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   405
06bc494ca11e Initial load
duke
parents:
diff changeset
   406
compiler.err.proc.processor.not.found=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   407
    Annotation processor ''{0}'' not found
06bc494ca11e Initial load
duke
parents:
diff changeset
   408
06bc494ca11e Initial load
duke
parents:
diff changeset
   409
compiler.err.proc.processor.wrong.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   410
    Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor
06bc494ca11e Initial load
duke
parents:
diff changeset
   411
06bc494ca11e Initial load
duke
parents:
diff changeset
   412
compiler.err.proc.service.problem=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   413
    Error creating a service loader to load Processors.
06bc494ca11e Initial load
duke
parents:
diff changeset
   414
06bc494ca11e Initial load
duke
parents:
diff changeset
   415
compiler.err.proc.bad.config.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   416
    Bad service configuration file, or exception thrown while constructing Processor object: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   417
06bc494ca11e Initial load
duke
parents:
diff changeset
   418
compiler.err.proc.cant.create.loader=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   419
    Could not create class loader for annotation processors: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   420
06bc494ca11e Initial load
duke
parents:
diff changeset
   421
compiler.err.qualified.new.of.static.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   422
    qualified new of static class
06bc494ca11e Initial load
duke
parents:
diff changeset
   423
06bc494ca11e Initial load
duke
parents:
diff changeset
   424
compiler.err.recursive.ctor.invocation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   425
    recursive constructor invocation
06bc494ca11e Initial load
duke
parents:
diff changeset
   426
compiler.err.ref.ambiguous=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   427
    reference to {0} is ambiguous, both {1} {2} in {3} and {4} {5} in {6} match
06bc494ca11e Initial load
duke
parents:
diff changeset
   428
compiler.err.repeated.annotation.target=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   429
    repeated annotation target
06bc494ca11e Initial load
duke
parents:
diff changeset
   430
compiler.err.repeated.interface=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   431
    repeated interface
06bc494ca11e Initial load
duke
parents:
diff changeset
   432
compiler.err.repeated.modifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   433
    repeated modifier
06bc494ca11e Initial load
duke
parents:
diff changeset
   434
compiler.err.report.access=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   435
    {0} has {1} access in {2}
06bc494ca11e Initial load
duke
parents:
diff changeset
   436
compiler.err.ret.outside.meth=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   437
    return outside method
06bc494ca11e Initial load
duke
parents:
diff changeset
   438
06bc494ca11e Initial load
duke
parents:
diff changeset
   439
compiler.err.signature.doesnt.match.supertype=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   440
    signature does not match {0}; incompatible supertype
06bc494ca11e Initial load
duke
parents:
diff changeset
   441
compiler.err.signature.doesnt.match.intf=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   442
    signature does not match {0}; incompatible interfaces
06bc494ca11e Initial load
duke
parents:
diff changeset
   443
compiler.err.does.not.override.abstract=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   444
    {0} is not abstract and does not override abstract method {1} in {2}
06bc494ca11e Initial load
duke
parents:
diff changeset
   445
compiler.err.source.cant.overwrite.input.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   446
    error writing source; cannot overwrite input file {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   447
compiler.err.stack.sim.error=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   448
    Internal error: stack sim error on {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   449
compiler.err.static.imp.only.classes.and.interfaces=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   450
    static import only from classes and interfaces
4142
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
   451
compiler.err.string.const.req=\
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
   452
    constant string expression required
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   453
compiler.err.synthetic.name.conflict=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   454
    the symbol {0} conflicts with a compiler-synthesized symbol in {1}
3557
a803afefa115 6521805: Regression: JDK5/JDK6 javac allows write access to outer class reference
mcimadamore
parents: 3554
diff changeset
   455
compiler.warn.synthetic.name.conflict=\
a803afefa115 6521805: Regression: JDK5/JDK6 javac allows write access to outer class reference
mcimadamore
parents: 3554
diff changeset
   456
    the symbol {0} conflicts with a compiler-synthesized symbol in {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   457
06bc494ca11e Initial load
duke
parents:
diff changeset
   458
compiler.err.throws.not.allowed.in.intf.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   459
    throws clause not allowed in @interface members
06bc494ca11e Initial load
duke
parents:
diff changeset
   460
compiler.err.try.without.catch.or.finally=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   461
    ''try'' without ''catch'' or ''finally''
6148
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
   462
compiler.err.try.without.catch.finally.or.resource.decls=\
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
   463
    ''try'' without ''catch'', ''finally'' or resource declarations
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   464
compiler.err.type.doesnt.take.params=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   465
    type {0} does not take parameters
06bc494ca11e Initial load
duke
parents:
diff changeset
   466
compiler.err.type.var.cant.be.deref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   467
    cannot select from a type variable
06bc494ca11e Initial load
duke
parents:
diff changeset
   468
compiler.err.type.var.may.not.be.followed.by.other.bounds=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   469
    a type variable may not be followed by other bounds
06bc494ca11e Initial load
duke
parents:
diff changeset
   470
compiler.err.type.var.more.than.once=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   471
    type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
06bc494ca11e Initial load
duke
parents:
diff changeset
   472
compiler.err.type.var.more.than.once.in.result=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   473
    type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
06bc494ca11e Initial load
duke
parents:
diff changeset
   474
compiler.err.types.incompatible.diff.ret=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   475
    types {0} and {1} are incompatible; both define {2}, but with unrelated return types
06bc494ca11e Initial load
duke
parents:
diff changeset
   476
2723
b659ca23d5f5 6829189: Java programming with JSR 292 needs language support
jrose
parents: 2223
diff changeset
   477
compiler.err.unclosed.bytecode.ident=\
b659ca23d5f5 6829189: Java programming with JSR 292 needs language support
jrose
parents: 2223
diff changeset
   478
    unclosed bytecode identifier
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   479
compiler.err.unclosed.char.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   480
    unclosed character literal
06bc494ca11e Initial load
duke
parents:
diff changeset
   481
compiler.err.unclosed.comment=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   482
    unclosed comment
06bc494ca11e Initial load
duke
parents:
diff changeset
   483
compiler.err.unclosed.str.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   484
    unclosed string literal
06bc494ca11e Initial load
duke
parents:
diff changeset
   485
compiler.err.unknown.enum.constant=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   486
    in class file {0}: unknown enum constant {1}.{2}
06bc494ca11e Initial load
duke
parents:
diff changeset
   487
compiler.err.unsupported.encoding=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   488
    unsupported encoding: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   489
compiler.err.io.exception=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   490
    error reading source file: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   491
compiler.err.undef.label=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   492
    undefined label: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   493
compiler.err.undetermined.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   494
    type parameters of {0} cannot be determined
06bc494ca11e Initial load
duke
parents:
diff changeset
   495
compiler.err.undetermined.type.1=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   496
    type parameters of {0} cannot be determined; {1}
3140
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
   497
compiler.err.invalid.inferred.types=\
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
   498
    invalid inferred types for {0}; {1}
5321
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
   499
compiler.err.cant.apply.diamond=\
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
   500
    cannot infer type arguments for {0}
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
   501
compiler.err.cant.apply.diamond.1=\
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
   502
    cannot infer type arguments for {0};\n\
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
   503
    reason: {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   504
compiler.err.unreachable.stmt=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   505
    unreachable statement
06bc494ca11e Initial load
duke
parents:
diff changeset
   506
compiler.err.initializer.must.be.able.to.complete.normally=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   507
    initializer must be able to complete normally
06bc494ca11e Initial load
duke
parents:
diff changeset
   508
compiler.err.unreported.exception.need.to.catch.or.throw=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   509
    unreported exception {0}; must be caught or declared to be thrown
06bc494ca11e Initial load
duke
parents:
diff changeset
   510
compiler.err.unreported.exception.default.constructor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   511
    unreported exception {0} in default constructor
06bc494ca11e Initial load
duke
parents:
diff changeset
   512
compiler.err.unsupported.cross.fp.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   513
    hexadecimal floating-point literals are not supported on this VM
06bc494ca11e Initial load
duke
parents:
diff changeset
   514
compiler.err.void.not.allowed.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   515
    ''void'' type not allowed here
06bc494ca11e Initial load
duke
parents:
diff changeset
   516
06bc494ca11e Initial load
duke
parents:
diff changeset
   517
compiler.err.wrong.number.type.args=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   518
    wrong number of type arguments; required {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   519
06bc494ca11e Initial load
duke
parents:
diff changeset
   520
compiler.err.var.might.already.be.assigned=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   521
    variable {0} might already have been assigned
06bc494ca11e Initial load
duke
parents:
diff changeset
   522
compiler.err.var.might.not.have.been.initialized=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   523
    variable {0} might not have been initialized
06bc494ca11e Initial load
duke
parents:
diff changeset
   524
compiler.err.var.might.be.assigned.in.loop=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   525
    variable {0} might be assigned in loop
06bc494ca11e Initial load
duke
parents:
diff changeset
   526
06bc494ca11e Initial load
duke
parents:
diff changeset
   527
# In the following string, {1} will always be the detail message from
06bc494ca11e Initial load
duke
parents:
diff changeset
   528
# java.io.IOException.
06bc494ca11e Initial load
duke
parents:
diff changeset
   529
compiler.err.class.cant.write=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   530
    error while writing {0}: {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   531
06bc494ca11e Initial load
duke
parents:
diff changeset
   532
# In the following string, {0} is the name of the class in the Java source.
06bc494ca11e Initial load
duke
parents:
diff changeset
   533
# It really should be used two times..
06bc494ca11e Initial load
duke
parents:
diff changeset
   534
compiler.err.class.public.should.be.in.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   535
    class {0} is public, should be declared in a file named {0}.java
06bc494ca11e Initial load
duke
parents:
diff changeset
   536
06bc494ca11e Initial load
duke
parents:
diff changeset
   537
## All errors which do not refer to a particular line in the source code are
06bc494ca11e Initial load
duke
parents:
diff changeset
   538
## preceded by this string.
06bc494ca11e Initial load
duke
parents:
diff changeset
   539
compiler.err.error=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   540
    error:\u0020
06bc494ca11e Initial load
duke
parents:
diff changeset
   541
06bc494ca11e Initial load
duke
parents:
diff changeset
   542
# The following error messages do not refer to a line in the source code.
06bc494ca11e Initial load
duke
parents:
diff changeset
   543
compiler.err.cant.read.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   544
    cannot read: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   545
06bc494ca11e Initial load
duke
parents:
diff changeset
   546
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
   547
06bc494ca11e Initial load
duke
parents:
diff changeset
   548
# Fatal Errors
06bc494ca11e Initial load
duke
parents:
diff changeset
   549
06bc494ca11e Initial load
duke
parents:
diff changeset
   550
compiler.misc.fatal.err.no.java.lang=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   551
    Fatal Error: Unable to find package java.lang in classpath or bootclasspath
06bc494ca11e Initial load
duke
parents:
diff changeset
   552
compiler.misc.fatal.err.cant.locate.meth=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   553
    Fatal Error: Unable to find method {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   554
compiler.misc.fatal.err.cant.locate.field=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   555
    Fatal Error: Unable to find field {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   556
compiler.misc.fatal.err.cant.locate.ctor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   557
    Fatal Error: Unable to find constructor for {0}
6581
f58f0ce45802 6980707: Reduce use of IOException in JavaCompiler
jjg
parents: 6345
diff changeset
   558
compiler.misc.fatal.err.cant.close.loader=\
f58f0ce45802 6980707: Reduce use of IOException in JavaCompiler
jjg
parents: 6345
diff changeset
   559
    Fatal Error: Cannot close class loader for annotation processors
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   560
06bc494ca11e Initial load
duke
parents:
diff changeset
   561
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
   562
06bc494ca11e Initial load
duke
parents:
diff changeset
   563
##
06bc494ca11e Initial load
duke
parents:
diff changeset
   564
## miscellaneous strings
06bc494ca11e Initial load
duke
parents:
diff changeset
   565
##
06bc494ca11e Initial load
duke
parents:
diff changeset
   566
06bc494ca11e Initial load
duke
parents:
diff changeset
   567
compiler.misc.source.unavailable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   568
    (source unavailable)
06bc494ca11e Initial load
duke
parents:
diff changeset
   569
compiler.misc.base.membership=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   570
    all your base class are belong to us
06bc494ca11e Initial load
duke
parents:
diff changeset
   571
compiler.misc.x.print.processor.info=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   572
    Processor {0} matches {1} and returns {2}.
06bc494ca11e Initial load
duke
parents:
diff changeset
   573
compiler.misc.x.print.rounds=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   574
    Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3}
06bc494ca11e Initial load
duke
parents:
diff changeset
   575
06bc494ca11e Initial load
duke
parents:
diff changeset
   576
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
   577
06bc494ca11e Initial load
duke
parents:
diff changeset
   578
## The following string will appear before all messages keyed as:
06bc494ca11e Initial load
duke
parents:
diff changeset
   579
## "compiler.note".
06bc494ca11e Initial load
duke
parents:
diff changeset
   580
compiler.note.note=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   581
    Note:\u0020
06bc494ca11e Initial load
duke
parents:
diff changeset
   582
06bc494ca11e Initial load
duke
parents:
diff changeset
   583
compiler.note.deprecated.filename=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   584
    {0} uses or overrides a deprecated API.
06bc494ca11e Initial load
duke
parents:
diff changeset
   585
compiler.note.deprecated.plural=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   586
    Some input files use or override a deprecated API.
06bc494ca11e Initial load
duke
parents:
diff changeset
   587
# The following string may appear after one of the above deprecation
06bc494ca11e Initial load
duke
parents:
diff changeset
   588
# messages.
06bc494ca11e Initial load
duke
parents:
diff changeset
   589
compiler.note.deprecated.recompile=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   590
    Recompile with -Xlint:deprecation for details.
06bc494ca11e Initial load
duke
parents:
diff changeset
   591
06bc494ca11e Initial load
duke
parents:
diff changeset
   592
compiler.note.deprecated.filename.additional=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   593
    {0} has additional uses or overrides of a deprecated API.
06bc494ca11e Initial load
duke
parents:
diff changeset
   594
compiler.note.deprecated.plural.additional=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   595
    Some input files additionally use or override a deprecated API.
06bc494ca11e Initial load
duke
parents:
diff changeset
   596
06bc494ca11e Initial load
duke
parents:
diff changeset
   597
compiler.note.unchecked.filename=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   598
    {0} uses unchecked or unsafe operations.
06bc494ca11e Initial load
duke
parents:
diff changeset
   599
compiler.note.unchecked.plural=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   600
    Some input files use unchecked or unsafe operations.
06bc494ca11e Initial load
duke
parents:
diff changeset
   601
# The following string may appear after one of the above deprecation
06bc494ca11e Initial load
duke
parents:
diff changeset
   602
# messages.
06bc494ca11e Initial load
duke
parents:
diff changeset
   603
compiler.note.unchecked.recompile=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   604
    Recompile with -Xlint:unchecked for details.
06bc494ca11e Initial load
duke
parents:
diff changeset
   605
06bc494ca11e Initial load
duke
parents:
diff changeset
   606
compiler.note.unchecked.filename.additional=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   607
    {0} has additional unchecked or unsafe operations.
06bc494ca11e Initial load
duke
parents:
diff changeset
   608
compiler.note.unchecked.plural.additional=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   609
    Some input files additionally use unchecked or unsafe operations.
06bc494ca11e Initial load
duke
parents:
diff changeset
   610
5846
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   611
compiler.note.varargs.filename=\
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   612
    {0} declares unsafe vararg methods.
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   613
compiler.note.varargs.plural=\
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   614
    Some input files declare unsafe vararg methods.
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   615
# The following string may appear after one of the above unsafe varargs
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   616
# messages.
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   617
compiler.note.varargs.recompile=\
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   618
    Recompile with -Xlint:varargs for details.
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   619
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   620
compiler.note.varargs.filename.additional=\
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   621
    {0} declares additional unsafe vararg methods.
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   622
compiler.note.varargs.plural.additional=\
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   623
    Some input files additionally declares unsafe vararg methods.
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   624
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   625
compiler.note.sunapi.filename=\
5848
c5a4ce47e780 6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents: 5846
diff changeset
   626
    {0} uses internal proprietary API that may be removed in a future release.
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   627
compiler.note.sunapi.plural=\
5848
c5a4ce47e780 6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents: 5846
diff changeset
   628
    Some input files use internal proprietary API that may be removed in a future release.
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   629
# The following string may appear after one of the above sunapi messages.
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   630
compiler.note.sunapi.recompile=\
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   631
    Recompile with -Xlint:sunapi for details.
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   632
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   633
compiler.note.sunapi.filename.additional=\
5848
c5a4ce47e780 6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents: 5846
diff changeset
   634
    {0} uses additional internal proprietary API that may be removed in a future release.
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   635
compiler.note.sunapi.plural.additional=\
5848
c5a4ce47e780 6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents: 5846
diff changeset
   636
    Some input files additionally use internal proprietary API that may be removed in a future release.
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   637
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   638
# Notes related to annotation processing
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   639
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   640
# Print a client-generated note; assumed to be localized, no translation required
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   641
compiler.note.proc.messager=\
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   642
    {0}
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
   643
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   644
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
   645
06bc494ca11e Initial load
duke
parents:
diff changeset
   646
compiler.misc.count.error=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   647
    {0} error
06bc494ca11e Initial load
duke
parents:
diff changeset
   648
compiler.misc.count.error.plural=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   649
    {0} errors
06bc494ca11e Initial load
duke
parents:
diff changeset
   650
compiler.misc.count.warn=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   651
    {0} warning
06bc494ca11e Initial load
duke
parents:
diff changeset
   652
compiler.misc.count.warn.plural=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   653
    {0} warnings
06bc494ca11e Initial load
duke
parents:
diff changeset
   654
6031
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
   655
compiler.misc.version.not.available=\
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
   656
    (version info not available)
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
   657
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   658
## extra output when using -verbose (JavaCompiler)
06bc494ca11e Initial load
duke
parents:
diff changeset
   659
06bc494ca11e Initial load
duke
parents:
diff changeset
   660
compiler.misc.verbose.checking.attribution=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   661
    [checking {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
   662
compiler.misc.verbose.parsing.done=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   663
    [parsing completed {0}ms]
06bc494ca11e Initial load
duke
parents:
diff changeset
   664
compiler.misc.verbose.parsing.started=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   665
    [parsing started {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
   666
compiler.misc.verbose.total=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   667
    [total {0}ms]
06bc494ca11e Initial load
duke
parents:
diff changeset
   668
compiler.misc.verbose.wrote.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   669
    [wrote {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
   670
06bc494ca11e Initial load
duke
parents:
diff changeset
   671
## extra output when using -verbose (Retro)
06bc494ca11e Initial load
duke
parents:
diff changeset
   672
compiler.misc.verbose.retro=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   673
    [retrofitting {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
   674
compiler.misc.verbose.retro.with=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   675
    \tretrofitting {0} with {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   676
compiler.misc.verbose.retro.with.list=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   677
    \tretrofitting {0} with type parameters {1}, supertype {2}, interfaces {3}
06bc494ca11e Initial load
duke
parents:
diff changeset
   678
06bc494ca11e Initial load
duke
parents:
diff changeset
   679
## extra output when using -verbose (code/ClassReader)
06bc494ca11e Initial load
duke
parents:
diff changeset
   680
compiler.misc.verbose.loading=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   681
    [loading {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
   682
06bc494ca11e Initial load
duke
parents:
diff changeset
   683
compiler.misc.verbose.sourcepath=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   684
    [search path for source files: {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
   685
06bc494ca11e Initial load
duke
parents:
diff changeset
   686
compiler.misc.verbose.classpath=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   687
    [search path for class files: {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
   688
06bc494ca11e Initial load
duke
parents:
diff changeset
   689
## extra output when using -checkclassfile (code/ClassReader)
06bc494ca11e Initial load
duke
parents:
diff changeset
   690
compiler.misc.ccf.found.later.version=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   691
    class file has later version than expected: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   692
compiler.misc.ccf.unrecognized.attribute=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   693
    unrecognized attribute: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   694
06bc494ca11e Initial load
duke
parents:
diff changeset
   695
## extra output when using -prompt (util/Log)
06bc494ca11e Initial load
duke
parents:
diff changeset
   696
compiler.misc.resume.abort=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   697
    R)esume, A)bort>
06bc494ca11e Initial load
duke
parents:
diff changeset
   698
06bc494ca11e Initial load
duke
parents:
diff changeset
   699
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
   700
06bc494ca11e Initial load
duke
parents:
diff changeset
   701
##
06bc494ca11e Initial load
duke
parents:
diff changeset
   702
## warnings
06bc494ca11e Initial load
duke
parents:
diff changeset
   703
##
06bc494ca11e Initial load
duke
parents:
diff changeset
   704
06bc494ca11e Initial load
duke
parents:
diff changeset
   705
## All warning messages are preceded by the following string.
06bc494ca11e Initial load
duke
parents:
diff changeset
   706
compiler.warn.warning=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   707
    warning:\u0020
06bc494ca11e Initial load
duke
parents:
diff changeset
   708
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   709
## Warning messages may also include the following prefix to identify a
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   710
## lint option
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   711
compiler.warn.lintOption=\
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   712
    [{0}]\u0020
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   713
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   714
compiler.warn.constant.SVUID=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   715
    serialVersionUID must be constant in class {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   716
06bc494ca11e Initial load
duke
parents:
diff changeset
   717
compiler.warn.dir.path.element.not.found=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   718
    bad path element "{0}": no such directory
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   719
06bc494ca11e Initial load
duke
parents:
diff changeset
   720
compiler.warn.finally.cannot.complete=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   721
    finally clause cannot complete normally
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   722
06bc494ca11e Initial load
duke
parents:
diff changeset
   723
compiler.warn.has.been.deprecated=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   724
    {0} in {1} has been deprecated
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   725
06bc494ca11e Initial load
duke
parents:
diff changeset
   726
compiler.warn.sun.proprietary=\
5848
c5a4ce47e780 6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents: 5846
diff changeset
   727
    {0} is internal proprietary API and may be removed in a future release
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   728
06bc494ca11e Initial load
duke
parents:
diff changeset
   729
compiler.warn.illegal.char.for.encoding=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   730
    unmappable character for encoding {0}
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   731
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   732
compiler.warn.improper.SVUID=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   733
    serialVersionUID must be declared static final in class {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   734
06bc494ca11e Initial load
duke
parents:
diff changeset
   735
compiler.warn.inexact.non-varargs.call=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   736
non-varargs call of varargs method with inexact argument type for last parameter;\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   737
cast to {0} for a varargs call\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   738
cast to {1} for a non-varargs call and to suppress this warning
06bc494ca11e Initial load
duke
parents:
diff changeset
   739
06bc494ca11e Initial load
duke
parents:
diff changeset
   740
compiler.warn.long.SVUID=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   741
    serialVersionUID must be of type long in class {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   742
06bc494ca11e Initial load
duke
parents:
diff changeset
   743
compiler.warn.missing.SVUID=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   744
    serializable class {0} has no definition of serialVersionUID
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   745
06bc494ca11e Initial load
duke
parents:
diff changeset
   746
compiler.warn.override.varargs.missing=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   747
    {0}; overridden method has no ''...''
06bc494ca11e Initial load
duke
parents:
diff changeset
   748
compiler.warn.override.varargs.extra=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   749
    {0}; overriding method is missing ''...''
06bc494ca11e Initial load
duke
parents:
diff changeset
   750
compiler.warn.override.bridge=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   751
    {0}; overridden method is a bridge method
06bc494ca11e Initial load
duke
parents:
diff changeset
   752
06bc494ca11e Initial load
duke
parents:
diff changeset
   753
compiler.warn.pkg-info.already.seen=\
4692
4df6242d3940 6307206: missing lint control for pkg-info
jjg
parents: 4142
diff changeset
   754
    a package-info.java file has already been seen for package {0}
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   755
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   756
compiler.warn.path.element.not.found=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   757
    bad path element "{0}": no such file or directory
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   758
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   759
compiler.warn.possible.fall-through.into.case=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   760
    possible fall-through into case
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   761
06bc494ca11e Initial load
duke
parents:
diff changeset
   762
compiler.warn.redundant.cast=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   763
    redundant cast to {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   764
06bc494ca11e Initial load
duke
parents:
diff changeset
   765
compiler.warn.position.overflow=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   766
    Position encoding overflows at line {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   767
06bc494ca11e Initial load
duke
parents:
diff changeset
   768
compiler.warn.big.major.version=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   769
    {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   770
    It is recommended that the compiler be upgraded.
06bc494ca11e Initial load
duke
parents:
diff changeset
   771
5002
12a9e8562200 4880220: Add a warning when accessing a static method via an reference
jjg
parents: 4692
diff changeset
   772
compiler.warn.static.not.qualified.by.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   773
    static {0} should be qualified by type name, {1}, instead of by an expression
5002
12a9e8562200 4880220: Add a warning when accessing a static method via an reference
jjg
parents: 4692
diff changeset
   774
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   775
# Warnings related to annotation processing
06bc494ca11e Initial load
duke
parents:
diff changeset
   776
compiler.warn.proc.package.does.not.exist=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   777
    package {0} does not exist
06bc494ca11e Initial load
duke
parents:
diff changeset
   778
compiler.warn.proc.file.reopening=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   779
    Attempt to create a file for ''{0}'' multiple times
06bc494ca11e Initial load
duke
parents:
diff changeset
   780
06bc494ca11e Initial load
duke
parents:
diff changeset
   781
compiler.warn.proc.type.already.exists=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   782
    A file for type ''{0}'' already exists on the sourcepath or classpath
06bc494ca11e Initial load
duke
parents:
diff changeset
   783
06bc494ca11e Initial load
duke
parents:
diff changeset
   784
compiler.warn.proc.type.recreate=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   785
    Attempt to create a file for type ''{0}'' multiple times
06bc494ca11e Initial load
duke
parents:
diff changeset
   786
06bc494ca11e Initial load
duke
parents:
diff changeset
   787
compiler.warn.proc.illegal.file.name=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   788
    Cannot create file for illegal name ''{0}''.
06bc494ca11e Initial load
duke
parents:
diff changeset
   789
6157
218670cd9b1c 6972556: warning for using a file name instead of a binary name for Filer.createSourceFile
jjg
parents: 6151
diff changeset
   790
compiler.warn.proc.suspicious.class.name=\
218670cd9b1c 6972556: warning for using a file name instead of a binary name for Filer.createSourceFile
jjg
parents: 6151
diff changeset
   791
    Creating file for a type whose name ends in {1}: ''{0}''
218670cd9b1c 6972556: warning for using a file name instead of a binary name for Filer.createSourceFile
jjg
parents: 6151
diff changeset
   792
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   793
compiler.warn.proc.file.create.last.round=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   794
    File for type ''{0}'' created in the last round will not be subject to annotation processing.
06bc494ca11e Initial load
duke
parents:
diff changeset
   795
06bc494ca11e Initial load
duke
parents:
diff changeset
   796
compiler.warn.proc.malformed.supported.string=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   797
    Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}''
06bc494ca11e Initial load
duke
parents:
diff changeset
   798
06bc494ca11e Initial load
duke
parents:
diff changeset
   799
compiler.warn.proc.annotations.without.processors=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   800
    No processor claimed any of these annotations: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   801
06bc494ca11e Initial load
duke
parents:
diff changeset
   802
compiler.warn.proc.processor.incompatible.source.version=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   803
    Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}''
06bc494ca11e Initial load
duke
parents:
diff changeset
   804
06bc494ca11e Initial load
duke
parents:
diff changeset
   805
compiler.warn.proc.proc-only.requested.no.procs=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   806
    Annotation processing without compilation requested but no processors were found.
06bc494ca11e Initial load
duke
parents:
diff changeset
   807
06bc494ca11e Initial load
duke
parents:
diff changeset
   808
compiler.warn.proc.use.implicit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   809
Implicitly compiled files were not subject to annotation processing.\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   810
Use -implicit to specify a policy for implicit compilation.
06bc494ca11e Initial load
duke
parents:
diff changeset
   811
06bc494ca11e Initial load
duke
parents:
diff changeset
   812
compiler.warn.proc.use.proc.or.implicit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   813
Implicitly compiled files were not subject to annotation processing.\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   814
Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
06bc494ca11e Initial load
duke
parents:
diff changeset
   815
06bc494ca11e Initial load
duke
parents:
diff changeset
   816
# Print a client-generated warning; assumed to be localized, no translation required
06bc494ca11e Initial load
duke
parents:
diff changeset
   817
compiler.warn.proc.messager=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   818
    {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   819
06bc494ca11e Initial load
duke
parents:
diff changeset
   820
compiler.warn.proc.unclosed.type.files=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   821
    Unclosed files for the types ''{0}''; these types will not undergo annotation processing
06bc494ca11e Initial load
duke
parents:
diff changeset
   822
06bc494ca11e Initial load
duke
parents:
diff changeset
   823
compiler.warn.proc.unmatched.processor.options=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   824
    The following options were not recognized by any processor: ''{0}''
06bc494ca11e Initial load
duke
parents:
diff changeset
   825
6148
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
   826
compiler.warn.twr.explicit.close.call=\
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
   827
    [arm] explicit call to close() on an automatic resource
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
   828
compiler.warn.automatic.resource.not.referenced=\
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
   829
    [arm] automatic resource {0} is never referenced in body of corresponding try statement
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   830
compiler.warn.unchecked.assign=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   831
    unchecked assignment: {0} to {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   832
compiler.warn.unchecked.assign.to.var=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   833
    unchecked assignment to variable {0} as member of raw type {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   834
compiler.warn.unchecked.call.mbr.of.raw.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   835
    unchecked call to {0} as a member of the raw type {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   836
compiler.warn.unchecked.cast.to.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   837
    unchecked cast to type {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   838
compiler.warn.unchecked.meth.invocation.applied=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   839
    unchecked method invocation: {0} {1} in {4} {5} is applied to given types\n\
1534
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
   840
    required: {2}\n\
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
   841
    found: {3}
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
   842
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   843
compiler.warn.unchecked.generic.array.creation=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   844
    unchecked generic array creation for varargs parameter of type {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   845
5846
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   846
compiler.warn.varargs.non.reifiable.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   847
    Possible heap pollution from parameterized vararg type {0}
5846
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
   848
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   849
compiler.warn.missing.deprecated.annotation=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   850
    deprecated item is not annotated with @Deprecated
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   851
06bc494ca11e Initial load
duke
parents:
diff changeset
   852
compiler.warn.invalid.archive.file=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   853
    Unexpected file on path: {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   854
06bc494ca11e Initial load
duke
parents:
diff changeset
   855
compiler.warn.unexpected.archive.file=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   856
    Unexpected extension for archive file: {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   857
06bc494ca11e Initial load
duke
parents:
diff changeset
   858
compiler.warn.div.zero=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   859
    division by zero
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   860
06bc494ca11e Initial load
duke
parents:
diff changeset
   861
compiler.warn.empty.if=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   862
    empty statement after if
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   863
06bc494ca11e Initial load
duke
parents:
diff changeset
   864
compiler.warn.annotation.method.not.found=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   865
    Cannot find annotation method ''{1}()'' in type ''{0}''
06bc494ca11e Initial load
duke
parents:
diff changeset
   866
06bc494ca11e Initial load
duke
parents:
diff changeset
   867
compiler.warn.annotation.method.not.found.reason=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   868
    Cannot find annotation method ''{1}()'' in type ''{0}'': {2}
06bc494ca11e Initial load
duke
parents:
diff changeset
   869
1358
a51c5f89f8af 6747671: -Xlint:rawtypes
mcimadamore
parents: 1357
diff changeset
   870
compiler.warn.raw.class.use=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
   871
    found raw type: {0}\n\
1358
a51c5f89f8af 6747671: -Xlint:rawtypes
mcimadamore
parents: 1357
diff changeset
   872
    missing type parameters for generic class {1}
a51c5f89f8af 6747671: -Xlint:rawtypes
mcimadamore
parents: 1357
diff changeset
   873
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   874
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
   875
06bc494ca11e Initial load
duke
parents:
diff changeset
   876
## The following are tokens which are non-terminals in the language. They should
06bc494ca11e Initial load
duke
parents:
diff changeset
   877
## be named as JLS3 calls them when translated to the appropriate language.
06bc494ca11e Initial load
duke
parents:
diff changeset
   878
compiler.misc.token.identifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   879
    <identifier>
06bc494ca11e Initial load
duke
parents:
diff changeset
   880
compiler.misc.token.character=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   881
    <character>
06bc494ca11e Initial load
duke
parents:
diff changeset
   882
compiler.misc.token.string=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   883
    <string>
06bc494ca11e Initial load
duke
parents:
diff changeset
   884
compiler.misc.token.integer=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   885
    <integer>
06bc494ca11e Initial load
duke
parents:
diff changeset
   886
compiler.misc.token.long-integer=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   887
    <long integer>
06bc494ca11e Initial load
duke
parents:
diff changeset
   888
compiler.misc.token.float=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   889
    <float>
06bc494ca11e Initial load
duke
parents:
diff changeset
   890
compiler.misc.token.double=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   891
    <double>
06bc494ca11e Initial load
duke
parents:
diff changeset
   892
compiler.misc.token.bad-symbol=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   893
    <bad symbol>
06bc494ca11e Initial load
duke
parents:
diff changeset
   894
compiler.misc.token.end-of-input=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   895
    <end of input>
06bc494ca11e Initial load
duke
parents:
diff changeset
   896
06bc494ca11e Initial load
duke
parents:
diff changeset
   897
## The argument to the following string will always be one of the following:
06bc494ca11e Initial load
duke
parents:
diff changeset
   898
## 1. one of the above non-terminals
06bc494ca11e Initial load
duke
parents:
diff changeset
   899
## 2. a keyword (JLS1.8)
06bc494ca11e Initial load
duke
parents:
diff changeset
   900
## 3. a boolean literal (JLS3.10.3)
06bc494ca11e Initial load
duke
parents:
diff changeset
   901
## 4. the null literal (JLS3.10.7)
06bc494ca11e Initial load
duke
parents:
diff changeset
   902
## 5. a Java separator (JLS3.11)
06bc494ca11e Initial load
duke
parents:
diff changeset
   903
## 6. an operator (JLS3.12)
06bc494ca11e Initial load
duke
parents:
diff changeset
   904
##
06bc494ca11e Initial load
duke
parents:
diff changeset
   905
## This is the only place these tokens will be used.
06bc494ca11e Initial load
duke
parents:
diff changeset
   906
compiler.err.expected=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   907
    {0} expected
06bc494ca11e Initial load
duke
parents:
diff changeset
   908
compiler.err.expected2=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   909
    {0} or {1} expected
06bc494ca11e Initial load
duke
parents:
diff changeset
   910
compiler.err.expected3=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   911
    {0}, {1}, or {2} expected
06bc494ca11e Initial load
duke
parents:
diff changeset
   912
06bc494ca11e Initial load
duke
parents:
diff changeset
   913
compiler.err.premature.eof=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   914
    reached end of file while parsing
06bc494ca11e Initial load
duke
parents:
diff changeset
   915
06bc494ca11e Initial load
duke
parents:
diff changeset
   916
## The following are related in form, but do not easily fit the above paradigm.
06bc494ca11e Initial load
duke
parents:
diff changeset
   917
compiler.err.dot.class.expected=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   918
    ''.class'' expected
06bc494ca11e Initial load
duke
parents:
diff changeset
   919
06bc494ca11e Initial load
duke
parents:
diff changeset
   920
## The argument to this string will always be either 'case' or 'default'.
06bc494ca11e Initial load
duke
parents:
diff changeset
   921
compiler.err.orphaned=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   922
    orphaned {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   923
06bc494ca11e Initial load
duke
parents:
diff changeset
   924
compiler.misc.anonymous.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   925
    <anonymous {0}>
06bc494ca11e Initial load
duke
parents:
diff changeset
   926
1357
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
   927
compiler.misc.type.captureof=\
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
   928
    capture#{0} of {1}
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
   929
2221
cd6557bcaa0a 6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents: 2085
diff changeset
   930
compiler.misc.type.captureof.1=\
cd6557bcaa0a 6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents: 2085
diff changeset
   931
    capture#{0}
cd6557bcaa0a 6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents: 2085
diff changeset
   932
1357
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
   933
compiler.misc.type.none=\
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
   934
    <none>
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
   935
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   936
compiler.misc.unnamed.package=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   937
    unnamed package
06bc494ca11e Initial load
duke
parents:
diff changeset
   938
06bc494ca11e Initial load
duke
parents:
diff changeset
   939
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
   940
06bc494ca11e Initial load
duke
parents:
diff changeset
   941
compiler.err.cant.access=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   942
cannot access {0}\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   943
{1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   944
06bc494ca11e Initial load
duke
parents:
diff changeset
   945
compiler.misc.bad.class.file.header=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   946
bad class file: {0}\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   947
{1}\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   948
Please remove or make sure it appears in the correct subdirectory of the classpath.
169
ff76730e430e 6668794: javac puts localized text in raw diagnostics
jjg
parents: 10
diff changeset
   949
compiler.misc.bad.source.file.header=\
ff76730e430e 6668794: javac puts localized text in raw diagnostics
jjg
parents: 10
diff changeset
   950
bad source file: {0}\n\
ff76730e430e 6668794: javac puts localized text in raw diagnostics
jjg
parents: 10
diff changeset
   951
{1}\n\
ff76730e430e 6668794: javac puts localized text in raw diagnostics
jjg
parents: 10
diff changeset
   952
Please remove or make sure it appears in the correct subdirectory of the sourcepath.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   953
06bc494ca11e Initial load
duke
parents:
diff changeset
   954
## The following are all possible strings for the second argument ({1}) of the
06bc494ca11e Initial load
duke
parents:
diff changeset
   955
## above strings.
06bc494ca11e Initial load
duke
parents:
diff changeset
   956
compiler.misc.bad.class.signature=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   957
    bad class signature: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   958
compiler.misc.bad.enclosing.method=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   959
    bad enclosing method attribute: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   960
compiler.misc.bad.runtime.invisible.param.annotations=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   961
    bad RuntimeInvisibleParameterAnnotations attribute: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   962
compiler.misc.bad.const.pool.tag=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   963
    bad constant pool tag: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   964
compiler.misc.bad.const.pool.tag.at=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   965
    bad constant pool tag: {0} at {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   966
compiler.misc.bad.signature=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   967
    bad signature: {0}
3149
0cd06d598d6f 6843077: JSR 308: Annotations on types
jjg
parents: 3140
diff changeset
   968
compiler.misc.bad.type.annotation.value=\
0cd06d598d6f 6843077: JSR 308: Annotations on types
jjg
parents: 3140
diff changeset
   969
    bad type annotation target type value: {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   970
compiler.misc.class.file.wrong.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   971
    class file contains wrong class: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   972
compiler.misc.class.file.not.found=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   973
    class file for {0} not found
06bc494ca11e Initial load
duke
parents:
diff changeset
   974
compiler.misc.file.doesnt.contain.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   975
    file does not contain class {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   976
compiler.misc.file.does.not.contain.package=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   977
    file does not contain package {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   978
compiler.misc.illegal.start.of.class.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   979
    illegal start of class file
06bc494ca11e Initial load
duke
parents:
diff changeset
   980
compiler.misc.unable.to.access.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   981
    unable to access file: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   982
compiler.misc.unicode.str.not.supported=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   983
    unicode string in class file not supported
06bc494ca11e Initial load
duke
parents:
diff changeset
   984
compiler.misc.undecl.type.var=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   985
    undeclared type variable: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   986
compiler.misc.wrong.version=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   987
    class file has wrong version {0}.{1}, should be {2}.{3}
06bc494ca11e Initial load
duke
parents:
diff changeset
   988
06bc494ca11e Initial load
duke
parents:
diff changeset
   989
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
   990
06bc494ca11e Initial load
duke
parents:
diff changeset
   991
compiler.err.not.within.bounds=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   992
    type parameter {0} is not within its bound
06bc494ca11e Initial load
duke
parents:
diff changeset
   993
06bc494ca11e Initial load
duke
parents:
diff changeset
   994
compiler.err.not.within.bounds.explain=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   995
    type parameter {0} is not within its bound; {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   996
06bc494ca11e Initial load
duke
parents:
diff changeset
   997
## The following are all possible strings for the second argument ({1}) of the
06bc494ca11e Initial load
duke
parents:
diff changeset
   998
## above string.
06bc494ca11e Initial load
duke
parents:
diff changeset
   999
06bc494ca11e Initial load
duke
parents:
diff changeset
  1000
## none yet...
06bc494ca11e Initial load
duke
parents:
diff changeset
  1001
06bc494ca11e Initial load
duke
parents:
diff changeset
  1002
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1003
06bc494ca11e Initial load
duke
parents:
diff changeset
  1004
compiler.err.prob.found.req=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1005
{0}\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1006
required: {2}\n\
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1007
found:    {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1008
compiler.warn.prob.found.req=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1009
{0}\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1010
required: {2}\n\
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1011
found:    {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1012
compiler.err.prob.found.req.1=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1013
{0} {3}\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1014
required: {2}\n\
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1015
found:    {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1016
06bc494ca11e Initial load
duke
parents:
diff changeset
  1017
## The following are all possible strings for the first argument ({0}) of the
06bc494ca11e Initial load
duke
parents:
diff changeset
  1018
## above strings.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1019
compiler.misc.incompatible.types=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1020
    incompatible types
06bc494ca11e Initial load
duke
parents:
diff changeset
  1021
compiler.misc.incompatible.types.1=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1022
    incompatible types; {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1023
compiler.misc.inconvertible.types=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1024
    inconvertible types
06bc494ca11e Initial load
duke
parents:
diff changeset
  1025
compiler.misc.possible.loss.of.precision=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1026
    possible loss of precision
06bc494ca11e Initial load
duke
parents:
diff changeset
  1027
06bc494ca11e Initial load
duke
parents:
diff changeset
  1028
compiler.misc.unchecked.assign=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1029
    unchecked conversion
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1030
# compiler.misc.storecheck=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1031
#     assignment might cause later store checks to fail
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1032
# compiler.misc.unchecked=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1033
#     assigned array cannot dynamically check its stores
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1034
compiler.misc.unchecked.cast.to.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1035
    unchecked cast
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1036
06bc494ca11e Initial load
duke
parents:
diff changeset
  1037
compiler.misc.assignment.from.super-bound=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1038
    assignment from super-bound type {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1039
compiler.misc.assignment.to.extends-bound=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1040
    assignment to extends-bound type {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1041
# compiler.err.star.expected=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1042
#     ''*'' expected
06bc494ca11e Initial load
duke
parents:
diff changeset
  1043
# compiler.err.no.elem.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1044
#     \[\*\] cannot have a type
06bc494ca11e Initial load
duke
parents:
diff changeset
  1045
06bc494ca11e Initial load
duke
parents:
diff changeset
  1046
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1047
06bc494ca11e Initial load
duke
parents:
diff changeset
  1048
compiler.err.type.found.req=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1049
unexpected type\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1050
required: {1}\n\
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1051
found:    {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1052
06bc494ca11e Initial load
duke
parents:
diff changeset
  1053
## The following are all possible strings for the first argument ({0}) of the
06bc494ca11e Initial load
duke
parents:
diff changeset
  1054
## above string.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1055
compiler.misc.type.req.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1056
    class
06bc494ca11e Initial load
duke
parents:
diff changeset
  1057
compiler.misc.type.req.class.array=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1058
    class or array
06bc494ca11e Initial load
duke
parents:
diff changeset
  1059
compiler.misc.type.req.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1060
    reference
06bc494ca11e Initial load
duke
parents:
diff changeset
  1061
compiler.misc.type.req.exact=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1062
    class or interface without bounds
06bc494ca11e Initial load
duke
parents:
diff changeset
  1063
compiler.misc.type.parameter=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1064
    type parameter {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1065
06bc494ca11e Initial load
duke
parents:
diff changeset
  1066
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1067
06bc494ca11e Initial load
duke
parents:
diff changeset
  1068
## The following are all possible strings for the last argument of all those
06bc494ca11e Initial load
duke
parents:
diff changeset
  1069
## diagnostics whose key ends in ".1"
06bc494ca11e Initial load
duke
parents:
diff changeset
  1070
compiler.misc.undetermined.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1071
    undetermined type
6031
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1072
compiler.misc.type.variable.has.undetermined.type=\
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1073
    type variable {0} has undetermined type
06bc494ca11e Initial load
duke
parents:
diff changeset
  1074
compiler.misc.no.unique.maximal.instance.exists=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1075
    no unique maximal instance exists for type variable {0} with upper bounds {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1076
compiler.misc.no.unique.minimal.instance.exists=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1077
    no unique minimal instance exists for type variable {0} with lower bounds {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1078
compiler.misc.no.conforming.instance.exists=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1079
    no instance(s) of type variable(s) {0} exist so that {1} conforms to {2}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1080
compiler.misc.no.conforming.assignment.exists=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1081
    no instance(s) of type variable(s) {0} exist so that argument type {1} conforms to formal parameter type {2}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1082
compiler.misc.arg.length.mismatch=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1083
    cannot instantiate from arguments because actual and formal argument lists differ in length
06bc494ca11e Initial load
duke
parents:
diff changeset
  1084
compiler.misc.inferred.do.not.conform.to.bounds=\
3140
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
  1085
    inferred type does not conform to declared bound(s)\n\
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
  1086
    inferred: {0}\n\
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
  1087
    bound(s): {1}
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
  1088
compiler.misc.inferred.do.not.conform.to.params=\
3540
dceac8629a56 6862608: rich diagnostic sometimes contain wrong type variable numbering
mcimadamore
parents: 3149
diff changeset
  1089
    actual arguments do not conform to inferred formal arguments\n\
3140
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
  1090
    required: {0}\n\
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
  1091
    found: {1}
5321
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1092
compiler.misc.diamond=\
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1093
    {0}<>
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1094
compiler.misc.diamond.invalid.arg=\
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1095
    type argument {0} inferred for {1} is not allowed in this context
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1096
compiler.misc.diamond.invalid.args=\
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1097
    type arguments {0} inferred for {1} are not allowed in this context
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1098
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1099
06bc494ca11e Initial load
duke
parents:
diff changeset
  1100
## The first argument ({0}) is a "kindname".
06bc494ca11e Initial load
duke
parents:
diff changeset
  1101
compiler.err.abstract.cant.be.accessed.directly=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1102
    abstract {0} {1} in {2} cannot be accessed directly
06bc494ca11e Initial load
duke
parents:
diff changeset
  1103
06bc494ca11e Initial load
duke
parents:
diff changeset
  1104
## The first argument ({0}) is a "kindname".
06bc494ca11e Initial load
duke
parents:
diff changeset
  1105
compiler.err.non-static.cant.be.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1106
    non-static {0} {1} cannot be referenced from a static context
06bc494ca11e Initial load
duke
parents:
diff changeset
  1107
06bc494ca11e Initial load
duke
parents:
diff changeset
  1108
## Both arguments ({0}, {1}) are "kindname"s.  {0} is a comma-separated list
06bc494ca11e Initial load
duke
parents:
diff changeset
  1109
## of kindnames (the list should be identical to that provided in source.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1110
compiler.err.unexpected.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1111
unexpected type\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1112
required: {0}\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1113
found:    {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1114
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1115
## The first argument {0} is a "kindname" (e.g. 'constructor', 'field', etc.)
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1116
## The second argument {1} is the non-resolved symbol
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1117
## The third argument {2} is a list of type parameters (non-empty if {1} is a method)
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1118
## The fourth argument {3} is a list of argument types (non-empty if {1} is a method)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1119
compiler.err.cant.resolve=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1120
    cannot find symbol\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1121
    symbol: {0} {1}
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1122
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1123
compiler.err.cant.resolve.args=\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1124
    cannot find symbol\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1125
    symbol: {0} {1}({3})
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1126
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1127
compiler.err.cant.resolve.args.params=\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1128
    cannot find symbol\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1129
    symbol: {0} <{2}>{1}({3})
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1130
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1131
## arguments from {0} to {3} have the same meaning as above
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1132
## The fifth argument {4} is the location "kindname" (e.g. 'constructor', 'field', etc.)
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1133
## The sixth argument {5} is the location type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1134
compiler.err.cant.resolve.location=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1135
    cannot find symbol\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1136
    symbol:   {0} {1}\n\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1137
    location: {4} {5}
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1138
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1139
compiler.err.cant.resolve.location.args=\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1140
    cannot find symbol\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1141
    symbol:   {0} {1}({3})\n\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1142
    location: {4} {5}
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1143
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1144
compiler.err.cant.resolve.location.args.params=\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1145
    cannot find symbol\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  1146
    symbol:   {0} <{2}>{1}({3})\n\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  1147
    location: {4} {5}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1148
06bc494ca11e Initial load
duke
parents:
diff changeset
  1149
## The following are all possible string for "kindname".
06bc494ca11e Initial load
duke
parents:
diff changeset
  1150
## They should be called whatever the JLS calls them after it been translated
06bc494ca11e Initial load
duke
parents:
diff changeset
  1151
## to the appropriate language.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1152
# compiler.misc.kindname.constructor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1153
#     static member
06bc494ca11e Initial load
duke
parents:
diff changeset
  1154
compiler.misc.kindname.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1155
    @interface
06bc494ca11e Initial load
duke
parents:
diff changeset
  1156
compiler.misc.kindname.constructor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1157
    constructor
6031
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1158
compiler.misc.kindname.enum=\
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1159
    enum
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1160
compiler.misc.kindname.interface=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1161
    interface
06bc494ca11e Initial load
duke
parents:
diff changeset
  1162
compiler.misc.kindname.static=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1163
    static
06bc494ca11e Initial load
duke
parents:
diff changeset
  1164
compiler.misc.kindname.type.variable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1165
    type variable
06bc494ca11e Initial load
duke
parents:
diff changeset
  1166
compiler.misc.kindname.type.variable.bound=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1167
    bound of type variable
06bc494ca11e Initial load
duke
parents:
diff changeset
  1168
compiler.misc.kindname.variable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1169
    variable
06bc494ca11e Initial load
duke
parents:
diff changeset
  1170
compiler.misc.kindname.value=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1171
    value
06bc494ca11e Initial load
duke
parents:
diff changeset
  1172
compiler.misc.kindname.method=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1173
    method
06bc494ca11e Initial load
duke
parents:
diff changeset
  1174
compiler.misc.kindname.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1175
    class
06bc494ca11e Initial load
duke
parents:
diff changeset
  1176
compiler.misc.kindname.package=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1177
    package
06bc494ca11e Initial load
duke
parents:
diff changeset
  1178
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1179
1534
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  1180
compiler.misc.no.args=\
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  1181
    no arguments
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  1182
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1183
compiler.err.override.static=\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1184
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1185
    overriding method is static
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1186
compiler.err.override.meth=\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1187
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1188
    overridden method is {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1189
06bc494ca11e Initial load
duke
parents:
diff changeset
  1190
compiler.err.override.meth.doesnt.throw=\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1191
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1192
    overridden method does not throw {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1193
06bc494ca11e Initial load
duke
parents:
diff changeset
  1194
# In the following string {1} is a space separated list of Java Keywords, as
06bc494ca11e Initial load
duke
parents:
diff changeset
  1195
# they would have been declared in the source code
06bc494ca11e Initial load
duke
parents:
diff changeset
  1196
compiler.err.override.weaker.access=\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1197
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1198
    attempting to assign weaker access privileges; was {1}
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1199
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1200
compiler.err.override.incompatible.ret=\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1201
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1202
    return type {1} is not compatible with {2}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1203
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1204
compiler.warn.override.unchecked.ret=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1205
    {0}\n\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1206
    return type requires unchecked conversion from {1} to {2}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1207
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1208
compiler.warn.override.unchecked.thrown=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1209
    {0}\n\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  1210
    overridden method does not throw {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1211
06bc494ca11e Initial load
duke
parents:
diff changeset
  1212
## The following are all possible strings for the first argument ({0}) of the
06bc494ca11e Initial load
duke
parents:
diff changeset
  1213
## above strings.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1214
compiler.misc.cant.override=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1215
    {0} in {1} cannot override {2} in {3}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1216
compiler.misc.cant.implement=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1217
    {0} in {1} cannot implement {2} in {3}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1218
compiler.misc.clashes.with=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1219
    {0} in {1} clashes with {2} in {3}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1220
compiler.misc.unchecked.override=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1221
    {0} in {1} overrides {2} in {3}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1222
compiler.misc.unchecked.implement=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1223
    {0} in {1} implements {2} in {3}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1224
compiler.misc.unchecked.clash.with=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1225
    {0} in {1} overrides {2} in {3}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1226
compiler.misc.varargs.override=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1227
    {0} in {1} overrides {2} in {3}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1228
compiler.misc.varargs.implement=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1229
    {0} in {1} implements {2} in {3}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1230
compiler.misc.varargs.clash.with=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1231
    {0} in {1} overrides {2} in {3}
5321
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1232
compiler.misc.non.denotable.type=\
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1233
    Non-denotable type {0} not allowed here
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1234
06bc494ca11e Initial load
duke
parents:
diff changeset
  1235
########################################
06bc494ca11e Initial load
duke
parents:
diff changeset
  1236
# Diagnostics for language feature changes
06bc494ca11e Initial load
duke
parents:
diff changeset
  1237
########################################
06bc494ca11e Initial load
duke
parents:
diff changeset
  1238
compiler.err.unsupported.fp.lit=\
3895
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1239
    hexadecimal floating point literals are not supported in -source {0}\n\
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1240
(use -source 5 or higher to enable hexadecimal floating point literals)
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1241
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1242
compiler.err.unsupported.binary.lit=\
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1243
    binary literals are not supported in -source {0}\n\
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1244
(use -source 7 or higher to enable binary literals)
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1245
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1246
compiler.err.unsupported.underscore.lit=\
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1247
    underscores in literals are not supported in -source {0}\n\
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  1248
(use -source 7 or higher to enable underscores in literals)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1249
6592
dc56420a69bc 6979327: method handle invocation should use casts instead of type parameters to specify return type
mcimadamore
parents: 6581
diff changeset
  1250
compiler.err.unsupported.exotic.id=\
dc56420a69bc 6979327: method handle invocation should use casts instead of type parameters to specify return type
mcimadamore
parents: 6581
diff changeset
  1251
    exotic identifiers #"___" are not supported in -source {0}\n\
dc56420a69bc 6979327: method handle invocation should use casts instead of type parameters to specify return type
mcimadamore
parents: 6581
diff changeset
  1252
(use -source 7 or higher to enable exotic identifiers)
dc56420a69bc 6979327: method handle invocation should use casts instead of type parameters to specify return type
mcimadamore
parents: 6581
diff changeset
  1253
6148
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
  1254
compiler.err.automatic.resource.management.not.supported.in.source=\
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
  1255
    automatic resource management is not supported in -source {0}\n\
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
  1256
(use -source 7 or higher to enable automatic resource management)
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
  1257
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1258
compiler.warn.enum.as.identifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1259
    as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1260
(use -source 5 or higher to use ''enum'' as a keyword)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1261
06bc494ca11e Initial load
duke
parents:
diff changeset
  1262
compiler.warn.assert.as.identifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1263
    as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1264
(use -source 1.4 or higher to use ''assert'' as a keyword)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1265
06bc494ca11e Initial load
duke
parents:
diff changeset
  1266
compiler.err.enum.as.identifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1267
    as of release 5, ''enum'' is a keyword, and may not be used as an identifier\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1268
(use -source 1.4 or lower to use ''enum'' as an identifier)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1269
06bc494ca11e Initial load
duke
parents:
diff changeset
  1270
compiler.err.assert.as.identifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1271
    as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1272
(use -source 1.3 or lower to use ''assert'' as an identifier)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1273
06bc494ca11e Initial load
duke
parents:
diff changeset
  1274
compiler.err.generics.not.supported.in.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1275
    generics are not supported in -source {0}\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1276
(use -source 5 or higher to enable generics)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1277
06bc494ca11e Initial load
duke
parents:
diff changeset
  1278
compiler.err.varargs.not.supported.in.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1279
    variable-arity methods are not supported in -source {0}\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1280
(use -source 5 or higher to enable variable-arity methods)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1281
06bc494ca11e Initial load
duke
parents:
diff changeset
  1282
compiler.err.annotations.not.supported.in.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1283
    annotations are not supported in -source {0}\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1284
(use -source 5 or higher to enable annotations)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1285
3149
0cd06d598d6f 6843077: JSR 308: Annotations on types
jjg
parents: 3140
diff changeset
  1286
compiler.err.type.annotations.not.supported.in.source=\
0cd06d598d6f 6843077: JSR 308: Annotations on types
jjg
parents: 3140
diff changeset
  1287
    type annotations are not supported in -source {0}\n\
0cd06d598d6f 6843077: JSR 308: Annotations on types
jjg
parents: 3140
diff changeset
  1288
(use -source 7 or higher to enable type annotations)
0cd06d598d6f 6843077: JSR 308: Annotations on types
jjg
parents: 3140
diff changeset
  1289
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1290
compiler.err.foreach.not.supported.in.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1291
    for-each loops are not supported in -source {0}\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1292
(use -source 5 or higher to enable for-each loops)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1293
06bc494ca11e Initial load
duke
parents:
diff changeset
  1294
compiler.err.static.import.not.supported.in.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1295
    static import declarations are not supported in -source {0}\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1296
(use -source 5 or higher to enable static import declarations)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1297
06bc494ca11e Initial load
duke
parents:
diff changeset
  1298
compiler.err.enums.not.supported.in.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1299
    enums are not supported in -source {0}\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1300
(use -source 5 or higher to enable enums)
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1301
6031
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1302
compiler.err.diamond.not.supported.in.source=\
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1303
    diamond operator is not supported in -source {0}\n\
6145
e52c4da245c9 6968789: incorrect text in "diamond not supported" message
jjg
parents: 6031
diff changeset
  1304
(use -source 7 or higher to enable diamond operator)
6031
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1305
5492
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
  1306
compiler.err.multicatch.not.supported.in.source=\
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
  1307
    multi-catch statement is not supported in -source {0}\n\
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
  1308
(use -source 7 or higher to enable multi-catch statement)
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
  1309
4142
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
  1310
compiler.err.string.switch.not.supported.in.source=\
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
  1311
    strings in switch are not supported in -source {0}\n\
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
  1312
(use -source 7 or higher to enable strings in switch)
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
  1313
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1314
########################################
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1315
# Diagnostics for where clause implementation
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1316
# used by the RichDiagnosticFormatter.
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1317
########################################
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1318
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1319
compiler.misc.type.null=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1320
    <null>
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1321
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1322
# X#n (where n is an int id) is disambiguated tvar name
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1323
compiler.misc.type.var=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1324
    {0}#{1}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1325
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1326
# CAP#n (where n is an int id) is an abbreviation for 'captured type'
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1327
compiler.misc.captured.type=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1328
    CAP#{0}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1329
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1330
# <INT#n> (where n is an int id) is an abbreviation for 'intersection type'
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1331
compiler.misc.intersection.type=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1332
    INT#{0}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1333
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1334
# where clause for captured type: contains upper ('extends {1}') and lower
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1335
# ('super {2}') bound along with the wildcard that generated this captured type ({3})
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1336
compiler.misc.where.captured=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1337
    {0} extends {1} super: {2} from capture of {3}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1338
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1339
# compact where clause for captured type: contains upper ('extends {1}') along
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1340
# with the wildcard that generated this captured type ({3})
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1341
compiler.misc.where.captured.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1342
    {0} extends {1} from capture of {3}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1343
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1344
# where clause for type variable: contains upper bound(s) ('extends {1}') along with
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1345
# the kindname ({2}) and location ({3}) in which the typevar has been declared
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1346
compiler.misc.where.typevar=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1347
    {0} extends {1} declared in {2} {3}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1348
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1349
# compact where clause for type variable: contains the kindname ({2}) and location ({3})
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1350
# in which the typevar has been declared
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1351
compiler.misc.where.typevar.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1352
    {0} declared in {2} {3}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1353
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1354
# where clause for type variable: contains all the upper bound(s) ('extends {1}')
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1355
# of this intersection type
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1356
compiler.misc.where.intersection=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1357
    {0} extends {1}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1358
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1359
### Where clause headers ###
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1360
compiler.misc.where.description.captured=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1361
    where {0} is a fresh type-variable:
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1362
compiler.misc.where.description.typevar=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1363
    where {0} is a type-variable:
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1364
compiler.misc.where.description.intersection=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1365
    where {0} is an intersection type:
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1366
compiler.misc.where.description.captured.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1367
    where {0} are fresh type-variables:
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1368
compiler.misc.where.description.typevar.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1369
    where {0} are type-variables:
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1370
compiler.misc.where.description.intersection.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1371
    where {0} are intersection types:
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1372
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  1373