langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
author alanb
Thu, 01 Dec 2016 11:16:45 +0000
changeset 42408 d6f09ae68eab
parent 42269 24a766b7c106
parent 42407 f3702cff2933
child 42822 a84956e7ee4d
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
#
35810
9ee6e90d679c 8148808: javac, remove unused options, step 1
vromero
parents: 34474
diff changeset
     2
# Copyright (c) 1999, 2016, 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
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    26
# Messages in this file which use "placeholders" for values (e.g. {0}, {1})
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    27
# are preceded by a stylized comment describing the type of the corresponding
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    28
# values.
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    29
# The simple types currently in use are:
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    30
#
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    31
# boolean           true or false
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    32
# diagnostic        a sub-message; see compiler.misc.*
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    33
# fragment          similar to 'message segment', but with more specific type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    34
# modifier          a Java modifier; e.g. public, private, protected
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    35
# file              a file URL
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    36
# file object       a file URL - similar to 'file' but typically used for source/class files, hence more specific
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    37
# name              a name, typically a Java identifier
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    38
# number            an integer
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    39
# option name       the name of a command line option
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    40
# source version    a source version number, such as 1.5, 1.6, 1.7
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    41
# string            a general string
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    42
# symbol            the name of a declared type
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    43
# symbol kind       the kind of a symbol (i.e. method, variable)
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    44
# kind name         an informative description of the kind of a declaration; see compiler.misc.kindname.*
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    45
# token             the name of a non-terminal in source code; see compiler.misc.token.*
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    46
# type              a Java type; e.g. int, X, X<T>
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    47
# object            a Java object (unspecified)
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    48
# unused            the value is not used in this message
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    49
#
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    50
# The following compound types are also used:
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    51
#
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    52
# list of X         a comma-separated list of items; e.g. list of type
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    53
# set of X          a comma-separated collection of items; e.g. set of modifier
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    54
#
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    55
# These may be composed:
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    56
#
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    57
# list of type or message segment
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    58
#
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    59
# The following type aliases are supported:
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    60
#
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    61
# message segment --> diagnostic or fragment
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    62
# file name --> file or file object
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    63
#
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    64
# Custom comments are supported in parenthesis i.e.
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    65
#
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    66
# number (classfile major version)
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    67
#
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    68
# These comments are used internally in order to generate an enum-like class declaration containing
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    69
# a method/field for each of the diagnostic keys listed here. Those methods/fields can then be used
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    70
# by javac code to build diagnostics in a type-safe fashion.
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    71
#
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
    72
# In addition, these comments are verified by the jtreg test test/tools/javac/diags/MessageInfo,
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    73
# using info derived from the collected set of examples in test/tools/javac/diags/examples.
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    74
# MessageInfo can also be run as a standalone utility providing more facilities
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    75
# for manipulating this file. For more details, see MessageInfo.java.
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    76
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    77
##
06bc494ca11e Initial load
duke
parents:
diff changeset
    78
## errors
06bc494ca11e Initial load
duke
parents:
diff changeset
    79
##
06bc494ca11e Initial load
duke
parents:
diff changeset
    80
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    81
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    82
compiler.err.abstract.cant.be.instantiated=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    83
    {0} is abstract; cannot be instantiated
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    84
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    85
compiler.err.abstract.meth.cant.have.body=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    86
    abstract methods cannot have a body
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    87
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    88
compiler.err.already.annotated=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    89
    {0} {1} has already been annotated
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    90
10626
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
    91
# 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    92
compiler.err.already.defined=\
10626
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
    93
    {0} {1} is already defined in {2} {3}
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
    94
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
    95
# 0: symbol kind, 1: symbol, 2: symbol kind, 3: symbol kind, 4: symbol
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
    96
compiler.err.already.defined.in.clinit=\
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
    97
    {0} {1} is already defined in {2} of {3} {4}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    98
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
    99
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   100
compiler.err.already.defined.single.import=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   101
    a type with the same simple name is already defined by the single-type-import of {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   102
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   103
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   104
compiler.err.already.defined.static.single.import=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   105
    a type with the same simple name is already defined by the static single-type-import of {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   106
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   107
compiler.err.already.defined.this.unit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   108
    {0} is already defined in this compilation unit
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   109
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   110
# 0: type, 1: list of name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   111
compiler.err.annotation.missing.default.value=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   112
    annotation @{0} is missing a default value for the element ''{1}''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   113
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   114
# 0: type, 1: list of name
6345
7d98c298aafd 6975231: Regression test for 6881115 is failing with compiler output not matching expected output
mcimadamore
parents: 6157
diff changeset
   115
compiler.err.annotation.missing.default.value.1=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   116
    annotation @{0} is missing default values for elements {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   117
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   118
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   119
compiler.err.annotation.not.valid.for.type=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   120
    annotation not valid for an element of type {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   121
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   122
compiler.err.annotation.type.not.applicable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   123
    annotation type not applicable to this kind of declaration
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   124
29959
61bfc66866da 8073534: Confusing / incorrect error message regarding annotations on non-declarations
alundblad
parents: 29776
diff changeset
   125
# 0: type
61bfc66866da 8073534: Confusing / incorrect error message regarding annotations on non-declarations
alundblad
parents: 29776
diff changeset
   126
compiler.err.annotation.type.not.applicable.to.type=\
61bfc66866da 8073534: Confusing / incorrect error message regarding annotations on non-declarations
alundblad
parents: 29776
diff changeset
   127
    annotation @{0} not applicable in this type context
61bfc66866da 8073534: Confusing / incorrect error message regarding annotations on non-declarations
alundblad
parents: 29776
diff changeset
   128
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   129
compiler.err.annotation.value.must.be.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   130
    annotation value must be an annotation
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   131
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   132
compiler.err.annotation.value.must.be.class.literal=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   133
    annotation value must be a class literal
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   134
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   135
compiler.err.annotation.value.must.be.name.value=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   136
    annotation values must be of the form ''name=value''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   137
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   138
compiler.err.annotation.value.not.allowable.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   139
    annotation value not of an allowable type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   140
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   141
compiler.err.anon.class.impl.intf.no.args=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   142
    anonymous class implements interface; cannot have arguments
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   143
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   144
compiler.err.anon.class.impl.intf.no.typeargs=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   145
    anonymous class implements interface; cannot have type arguments
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   146
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   147
compiler.err.anon.class.impl.intf.no.qual.for.new=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   148
    anonymous class implements interface; cannot have qualifier for new
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   149
23809
9405883da95f 8023945: javac wrongly allows a subclass of an anonymous class
pgovereau
parents: 23800
diff changeset
   150
compiler.err.cant.inherit.from.anon=\
9405883da95f 8023945: javac wrongly allows a subclass of an anonymous class
pgovereau
parents: 23800
diff changeset
   151
    cannot inherit from anonymous class
9405883da95f 8023945: javac wrongly allows a subclass of an anonymous class
pgovereau
parents: 23800
diff changeset
   152
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   153
# 0: symbol, 1: symbol, 2: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   154
compiler.err.array.and.varargs=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   155
    cannot declare both {0} and {1} in {2}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   156
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   157
compiler.err.array.dimension.missing=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   158
    array dimension missing
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   159
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   160
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   161
compiler.err.array.req.but.found=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   162
    array required, but {0} found
06bc494ca11e Initial load
duke
parents:
diff changeset
   163
06bc494ca11e Initial load
duke
parents:
diff changeset
   164
compiler.err.attribute.value.must.be.constant=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   165
    element value must be a constant expression
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   166
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
   167
# 0: string (statement type)
12715
139b8354de6a 7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
ksrini
parents: 12468
diff changeset
   168
compiler.err.bad.initializer=\
139b8354de6a 7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
ksrini
parents: 12468
diff changeset
   169
    bad initializer for {0}
139b8354de6a 7159445: (javac) emits inaccurate diagnostics for enhanced for-loops
ksrini
parents: 12468
diff changeset
   170
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   171
compiler.err.break.outside.switch.loop=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   172
    break outside switch or loop
06bc494ca11e Initial load
duke
parents:
diff changeset
   173
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   174
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   175
compiler.err.call.must.be.first.stmt.in.ctor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   176
    call to {0} must be first statement in constructor
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   177
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   178
# 0: symbol kind, 1: name, 2: list of type or message segment, 3: list of type or message segment, 4: symbol kind, 5: type, 6: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   179
compiler.err.cant.apply.symbol=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
   180
    {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
   181
    required: {2}\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
   182
    found: {3}\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
   183
    reason: {6}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   184
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   185
# 0: symbol kind, 1: name, 2: list of type
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
   186
compiler.err.cant.apply.symbols=\
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
   187
    no suitable {0} found for {1}({2})
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   188
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   189
# 0: symbol kind, 1: name, 2: list of type or message segment, 3: list of type or message segment, 4: symbol kind, 5: type, 6: message segment
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   190
compiler.misc.cant.apply.symbol=\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   191
    {0} {1} in {4} {5} cannot be applied to given types\n\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   192
    required: {2}\n\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   193
    found: {3}\n\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   194
    reason: {6}
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   195
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   196
# 0: symbol kind, 1: name, 2: list of type
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   197
compiler.misc.cant.apply.symbols=\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   198
    no suitable {0} found for {1}({2})
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   199
14058
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   200
# 0: symbol kind, 1: symbol
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   201
compiler.misc.no.abstracts=\
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   202
    no abstract method found in {0} {1}
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   203
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   204
# 0: symbol kind, 1: symbol
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   205
compiler.misc.incompatible.abstracts=\
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   206
    multiple non-overriding abstract methods found in {0} {1}
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   207
15361
01f1828683e6 8005299: Add FunctionalInterface checking to javac
mcimadamore
parents: 15356
diff changeset
   208
compiler.err.bad.functional.intf.anno=\
01f1828683e6 8005299: Add FunctionalInterface checking to javac
mcimadamore
parents: 15356
diff changeset
   209
    Unexpected @FunctionalInterface annotation
14058
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   210
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   211
# 0: message segment
15361
01f1828683e6 8005299: Add FunctionalInterface checking to javac
mcimadamore
parents: 15356
diff changeset
   212
compiler.err.bad.functional.intf.anno.1=\
01f1828683e6 8005299: Add FunctionalInterface checking to javac
mcimadamore
parents: 15356
diff changeset
   213
    Unexpected @FunctionalInterface annotation\n\
01f1828683e6 8005299: Add FunctionalInterface checking to javac
mcimadamore
parents: 15356
diff changeset
   214
    {0}
01f1828683e6 8005299: Add FunctionalInterface checking to javac
mcimadamore
parents: 15356
diff changeset
   215
36272
950bd442a822 8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents: 36153
diff changeset
   216
# 0: message segment
950bd442a822 8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents: 36153
diff changeset
   217
compiler.err.anonymous.diamond.method.does.not.override.superclass=\
950bd442a822 8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents: 36153
diff changeset
   218
    method does not override or implement a method from a supertype\n\
950bd442a822 8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents: 36153
diff changeset
   219
    {0}
950bd442a822 8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents: 36153
diff changeset
   220
15361
01f1828683e6 8005299: Add FunctionalInterface checking to javac
mcimadamore
parents: 15356
diff changeset
   221
# 0: symbol
01f1828683e6 8005299: Add FunctionalInterface checking to javac
mcimadamore
parents: 15356
diff changeset
   222
compiler.misc.not.a.functional.intf=\
01f1828683e6 8005299: Add FunctionalInterface checking to javac
mcimadamore
parents: 15356
diff changeset
   223
    {0} is not a functional interface
01f1828683e6 8005299: Add FunctionalInterface checking to javac
mcimadamore
parents: 15356
diff changeset
   224
01f1828683e6 8005299: Add FunctionalInterface checking to javac
mcimadamore
parents: 15356
diff changeset
   225
# 0: symbol, 1: message segment
14058
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   226
compiler.misc.not.a.functional.intf.1=\
15361
01f1828683e6 8005299: Add FunctionalInterface checking to javac
mcimadamore
parents: 15356
diff changeset
   227
    {0} is not a functional interface\n\
01f1828683e6 8005299: Add FunctionalInterface checking to javac
mcimadamore
parents: 15356
diff changeset
   228
    {1}
14058
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   229
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   230
# 0: symbol, 1: symbol kind, 2: symbol
14723
46aa71a5e4e0 8004102: Add support for generic functional descriptors
mcimadamore
parents: 14547
diff changeset
   231
compiler.misc.invalid.generic.lambda.target=\
46aa71a5e4e0 8004102: Add support for generic functional descriptors
mcimadamore
parents: 14547
diff changeset
   232
    invalid functional descriptor for lambda expression\n\
46aa71a5e4e0 8004102: Add support for generic functional descriptors
mcimadamore
parents: 14547
diff changeset
   233
    method {0} in {1} {2} is generic
14058
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   234
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   235
# 0: symbol kind, 1: symbol
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   236
compiler.misc.incompatible.descs.in.functional.intf=\
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   237
    incompatible function descriptors found in {0} {1}
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   238
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   239
# 0: name, 1: list of type, 2: type, 3: list of type
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   240
compiler.misc.descriptor=\
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   241
    descriptor: {2} {0}({1})
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   242
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   243
# 0: name, 1: list of type, 2: type, 3: list of type
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   244
compiler.misc.descriptor.throws=\
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   245
    descriptor: {2} {0}({1}) throws {3}
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   246
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   247
# 0: type
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   248
compiler.misc.no.suitable.functional.intf.inst=\
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   249
    cannot infer functional interface descriptor for {0}
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   250
16809
5acfcb821d65 8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents: 16808
diff changeset
   251
# 0: message segment
5acfcb821d65 8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents: 16808
diff changeset
   252
compiler.misc.bad.intersection.target.for.functional.expr=\
5acfcb821d65 8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents: 16808
diff changeset
   253
    bad intersection type target for lambda or method reference\n\
5acfcb821d65 8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents: 16808
diff changeset
   254
    {0}
5acfcb821d65 8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents: 16808
diff changeset
   255
17578
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
   256
# 0: symbol or type
16809
5acfcb821d65 8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents: 16808
diff changeset
   257
compiler.misc.not.an.intf.component=\
5acfcb821d65 8010822: Intersection type cast for functional expressions does not follow spec EDR
mcimadamore
parents: 16808
diff changeset
   258
    component type {0} is not an interface
14725
65836e833f59 8002099: Add support for intersection types in cast expression
mcimadamore
parents: 14724
diff changeset
   259
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   260
# 0: symbol kind, 1: message segment
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   261
compiler.err.invalid.mref=\
17582
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 17578
diff changeset
   262
    invalid {0} reference\n\
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 17578
diff changeset
   263
    {1}
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   264
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   265
# 0: symbol kind, 1: message segment
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   266
compiler.misc.invalid.mref=\
17582
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 17578
diff changeset
   267
    invalid {0} reference\n\
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 17578
diff changeset
   268
    {1}
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   269
14724
b542db73539a 8004101: Add checks for method reference well-formedness
mcimadamore
parents: 14723
diff changeset
   270
compiler.misc.static.mref.with.targs=\
b542db73539a 8004101: Add checks for method reference well-formedness
mcimadamore
parents: 14723
diff changeset
   271
    parameterized qualifier on static method reference
b542db73539a 8004101: Add checks for method reference well-formedness
mcimadamore
parents: 14723
diff changeset
   272
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   273
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   274
compiler.err.cant.assign.val.to.final.var=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   275
    cannot assign a value to final variable {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   276
36713
592302b6161b 8027999: Poorly worded error message when attempting to assign to this
alundblad
parents: 36526
diff changeset
   277
compiler.err.cant.assign.val.to.this=\
592302b6161b 8027999: Poorly worded error message when attempting to assign to this
alundblad
parents: 36526
diff changeset
   278
    cannot assign to ''this''
592302b6161b 8027999: Poorly worded error message when attempting to assign to this
alundblad
parents: 36526
diff changeset
   279
13439
3025d6ac1401 7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents: 13438
diff changeset
   280
# 0: symbol, 1: message segment
3025d6ac1401 7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents: 13438
diff changeset
   281
compiler.err.cant.ref.non.effectively.final.var=\
3025d6ac1401 7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents: 13438
diff changeset
   282
    local variables referenced from {1} must be final or effectively final
3025d6ac1401 7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents: 13438
diff changeset
   283
27844
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents: 27387
diff changeset
   284
compiler.err.try.with.resources.expr.needs.var=\
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents: 27387
diff changeset
   285
    the try-with-resources resource must either be a variable declaration or an expression denoting \
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents: 27387
diff changeset
   286
a reference to a final or effectively final variable
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents: 27387
diff changeset
   287
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents: 27387
diff changeset
   288
# 0: symbol
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents: 27387
diff changeset
   289
compiler.err.try.with.resources.expr.effectively.final.var=\
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents: 27387
diff changeset
   290
    variable {0} used as a try-with-resources resource neither final nor effectively final
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents: 27387
diff changeset
   291
13439
3025d6ac1401 7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents: 13438
diff changeset
   292
14058
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   293
compiler.misc.lambda=\
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   294
    a lambda expression
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   295
13439
3025d6ac1401 7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents: 13438
diff changeset
   296
compiler.misc.inner.cls=\
3025d6ac1401 7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents: 13438
diff changeset
   297
    an inner class
3025d6ac1401 7175538: Integrate efectively final check with DA/DU analysis
mcimadamore
parents: 13438
diff changeset
   298
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   299
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   300
compiler.err.cant.deref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   301
    {0} cannot be dereferenced
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   302
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   303
compiler.err.cant.extend.intf.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   304
    ''extends'' not allowed for @interfaces
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   305
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   306
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   307
compiler.err.cant.inherit.from.final=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   308
    cannot inherit from final {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   309
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   310
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   311
compiler.err.cant.ref.before.ctor.called=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   312
    cannot reference {0} before supertype constructor has been called
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   313
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   314
compiler.err.cant.select.static.class.from.param.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   315
    cannot select a static class from a parameterized type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   316
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   317
# 0: symbol, 1: string, 2: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   318
compiler.err.cant.inherit.diff.arg=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   319
    {0} cannot be inherited with different arguments: <{1}> and <{2}>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   320
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   321
compiler.err.catch.without.try=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   322
    ''catch'' without ''try''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   323
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   324
# 0: symbol kind, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   325
compiler.err.clash.with.pkg.of.same.name=\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   326
    {0} {1} clashes with package of same name
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   327
12466
08863ee323df 7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents: 12336
diff changeset
   328
compiler.err.class.not.allowed=\
08863ee323df 7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents: 12336
diff changeset
   329
    class, interface or enum declaration not allowed here
08863ee323df 7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents: 12336
diff changeset
   330
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   331
compiler.err.const.expr.req=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   332
    constant expression required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   333
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   334
compiler.err.cont.outside.loop=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   335
    continue outside of loop
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   336
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   337
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   338
compiler.err.cyclic.inheritance=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   339
    cyclic inheritance involving {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   340
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   341
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   342
compiler.err.cyclic.annotation.element=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   343
    type of element {0} is cyclic
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   344
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   345
# 0: unused
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   346
compiler.err.call.to.super.not.allowed.in.enum.ctor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   347
    call to super not allowed in enum constructor
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   348
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   349
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   350
compiler.err.no.superclass=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   351
    {0} has no superclass.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   352
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   353
# 0: symbol, 1: type, 2: symbol, 3: type, 4: unused
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   354
compiler.err.concrete.inheritance.conflict=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   355
    methods {0} from {1} and {2} from {3} are inherited with the same signature
06bc494ca11e Initial load
duke
parents:
diff changeset
   356
06bc494ca11e Initial load
duke
parents:
diff changeset
   357
compiler.err.default.allowed.in.intf.annotation.member=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   358
    default value only allowed in an annotation type declaration
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   359
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   360
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   361
compiler.err.doesnt.exist=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   362
    package {0} does not exist
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   363
14804
f93a8d60b9a4 8001114: Container annotation is not checked for semantic correctness
jfranck
parents: 14725
diff changeset
   364
# 0: type
f93a8d60b9a4 8001114: Container annotation is not checked for semantic correctness
jfranck
parents: 14725
diff changeset
   365
compiler.err.duplicate.annotation.invalid.repeated=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   366
    annotation {0} is not a valid repeatable annotation
14804
f93a8d60b9a4 8001114: Container annotation is not checked for semantic correctness
jfranck
parents: 14725
diff changeset
   367
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   368
# 0: name, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   369
compiler.err.duplicate.annotation.member.value=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   370
    duplicate element ''{0}'' in annotation @{1}.
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   371
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   372
# 0: name, 1: unused
13689
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   373
compiler.err.duplicate.annotation.missing.container=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   374
    {0} is not a repeatable annotation type
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   375
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   376
# 0: type, 1: unused
15356
cf312dc54c60 8006119: update javac to follow latest spec for repeatable annotations
jjg
parents: 14952
diff changeset
   377
compiler.err.invalid.repeatable.annotation=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   378
    duplicate annotation: {0} is annotated with an invalid @Repeatable annotation
17578
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
   379
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
   380
# 0: symbol or type
15356
cf312dc54c60 8006119: update javac to follow latest spec for repeatable annotations
jjg
parents: 14952
diff changeset
   381
compiler.err.invalid.repeatable.annotation.no.value=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   382
    {0} is not a valid @Repeatable, no value element method declared
13689
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   383
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   384
# 0: type, 1: number
15356
cf312dc54c60 8006119: update javac to follow latest spec for repeatable annotations
jjg
parents: 14952
diff changeset
   385
compiler.err.invalid.repeatable.annotation.multiple.values=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   386
    {0} is not a valid @Repeatable, {1} element methods named ''value'' declared
13689
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   387
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   388
# 0: type
15356
cf312dc54c60 8006119: update javac to follow latest spec for repeatable annotations
jjg
parents: 14952
diff changeset
   389
compiler.err.invalid.repeatable.annotation.invalid.value=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   390
    {0} is not a valid @Repeatable: invalid value element
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   391
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
   392
# 0: symbol or type, 1: unused, 2: type
15356
cf312dc54c60 8006119: update javac to follow latest spec for repeatable annotations
jjg
parents: 14952
diff changeset
   393
compiler.err.invalid.repeatable.annotation.value.return=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   394
    containing annotation type ({0}) must declare an element named ''value'' of type {2}
17578
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
   395
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
   396
# 0: symbol or type, 1: symbol
15356
cf312dc54c60 8006119: update javac to follow latest spec for repeatable annotations
jjg
parents: 14952
diff changeset
   397
compiler.err.invalid.repeatable.annotation.elem.nondefault=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   398
    containing annotation type ({0}) does not have a default value for element {1}
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   399
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   400
# 0: symbol, 1: unused, 2: symbol, 3: unused
15356
cf312dc54c60 8006119: update javac to follow latest spec for repeatable annotations
jjg
parents: 14952
diff changeset
   401
compiler.err.invalid.repeatable.annotation.retention=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   402
    retention of containing annotation type ({0}) is shorter than the retention of repeatable annotation type ({2})
13689
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   403
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   404
# 0: symbol, 1: symbol
15356
cf312dc54c60 8006119: update javac to follow latest spec for repeatable annotations
jjg
parents: 14952
diff changeset
   405
compiler.err.invalid.repeatable.annotation.not.documented=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   406
    repeatable annotation type ({1}) is @Documented while containing annotation type ({0}) is not
13689
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   407
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   408
# 0: symbol, 1: symbol
15356
cf312dc54c60 8006119: update javac to follow latest spec for repeatable annotations
jjg
parents: 14952
diff changeset
   409
compiler.err.invalid.repeatable.annotation.not.inherited=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   410
    repeatable annotation type ({1}) is @Inherited while containing annotation type ({0}) is not
13689
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   411
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   412
# 0: symbol, 1: symbol
15356
cf312dc54c60 8006119: update javac to follow latest spec for repeatable annotations
jjg
parents: 14952
diff changeset
   413
compiler.err.invalid.repeatable.annotation.incompatible.target=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   414
    containing annotation type ({0}) is applicable to more targets than repeatable annotation type ({1})
13689
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   415
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   416
# 0: symbol
15356
cf312dc54c60 8006119: update javac to follow latest spec for repeatable annotations
jjg
parents: 14952
diff changeset
   417
compiler.err.invalid.repeatable.annotation.repeated.and.container.present=\
13689
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   418
    container {0} must not be present at the same time as the element it contains
4d519199a6aa 7151010: Add compiler support for repeating annotations
jfranck
parents: 13439
diff changeset
   419
29960
d20c04ed8ffe 8043984: Confusing (incorrect) error message on repeatable annotations
alundblad
parents: 29959
diff changeset
   420
# 0: type, 1: symbol
d20c04ed8ffe 8043984: Confusing (incorrect) error message on repeatable annotations
alundblad
parents: 29959
diff changeset
   421
compiler.err.invalid.repeatable.annotation.not.applicable=\
d20c04ed8ffe 8043984: Confusing (incorrect) error message on repeatable annotations
alundblad
parents: 29959
diff changeset
   422
    container {0} is not applicable to element {1}
d20c04ed8ffe 8043984: Confusing (incorrect) error message on repeatable annotations
alundblad
parents: 29959
diff changeset
   423
30069
5686d5e44a83 8044196: Incorrect applying of repeatable annotations with incompatible target to type parameter
alundblad
parents: 30014
diff changeset
   424
# 0: type
5686d5e44a83 8044196: Incorrect applying of repeatable annotations with incompatible target to type parameter
alundblad
parents: 30014
diff changeset
   425
compiler.err.invalid.repeatable.annotation.not.applicable.in.context=\
5686d5e44a83 8044196: Incorrect applying of repeatable annotations with incompatible target to type parameter
alundblad
parents: 30014
diff changeset
   426
    container {0} is not applicable in this type context
5686d5e44a83 8044196: Incorrect applying of repeatable annotations with incompatible target to type parameter
alundblad
parents: 30014
diff changeset
   427
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   428
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   429
compiler.err.duplicate.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   430
    duplicate class: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   431
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   432
compiler.err.duplicate.case.label=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   433
    duplicate case label
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   434
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   435
compiler.err.duplicate.default.label=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   436
    duplicate default label
06bc494ca11e Initial load
duke
parents:
diff changeset
   437
06bc494ca11e Initial load
duke
parents:
diff changeset
   438
compiler.err.else.without.if=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   439
    ''else'' without ''if''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   440
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   441
compiler.err.empty.char.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   442
    empty character literal
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   443
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   444
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   445
compiler.err.encl.class.required=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   446
    an enclosing instance that contains {0} is required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   447
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   448
compiler.err.enum.annotation.must.be.enum.constant=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   449
    an enum annotation value must be an enum constant
06bc494ca11e Initial load
duke
parents:
diff changeset
   450
06bc494ca11e Initial load
duke
parents:
diff changeset
   451
compiler.err.enum.cant.be.instantiated=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   452
    enum types may not be instantiated
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   453
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   454
compiler.err.enum.label.must.be.unqualified.enum=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   455
    an enum switch case label must be the unqualified name of an enumeration constant
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   456
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   457
compiler.err.enum.no.subclassing=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   458
    classes cannot directly extend java.lang.Enum
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   459
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   460
compiler.err.enum.types.not.extensible=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   461
    enum types are not extensible
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   462
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   463
compiler.err.enum.no.finalize=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   464
    enums cannot have finalize methods
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   465
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   466
# 0: file name, 1: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   467
compiler.err.error.reading.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   468
    error reading {0}; {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   469
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   470
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   471
compiler.err.except.already.caught=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   472
    exception {0} has already been caught
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   473
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   474
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   475
compiler.err.except.never.thrown.in.try=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   476
    exception {0} is never thrown in body of corresponding try statement
06bc494ca11e Initial load
duke
parents:
diff changeset
   477
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   478
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   479
compiler.err.final.parameter.may.not.be.assigned=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   480
    final parameter {0} may not be assigned
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   481
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   482
# 0: symbol
7211
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
   483
compiler.err.try.resource.may.not.be.assigned=\
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
   484
    auto-closeable resource {0} may not be assigned
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   485
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   486
# 0: symbol
5492
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
   487
compiler.err.multicatch.parameter.may.not.be.assigned=\
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
   488
    multi-catch parameter {0} may not be assigned
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   489
9074
76b505d19026 7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents: 8849
diff changeset
   490
# 0: type, 1: type
76b505d19026 7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents: 8849
diff changeset
   491
compiler.err.multicatch.types.must.be.disjoint=\
76b505d19026 7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents: 8849
diff changeset
   492
    Alternatives in a multi-catch statement cannot be related by subclassing\n\
76b505d19026 7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents: 8849
diff changeset
   493
    Alternative {0} is a subclass of alternative {1}
76b505d19026 7030606: Project-coin: multi-catch types should be pairwise disjoint
mcimadamore
parents: 8849
diff changeset
   494
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   495
compiler.err.finally.without.try=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   496
    ''finally'' without ''try''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   497
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   498
# 0: type, 1: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   499
compiler.err.foreach.not.applicable.to.type=\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   500
    for-each not applicable to expression type\n\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   501
    required: {1}\n\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   502
    found:    {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   503
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   504
compiler.err.fp.number.too.large=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   505
    floating point number too large
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   506
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   507
compiler.err.fp.number.too.small=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   508
    floating point number too small
06bc494ca11e Initial load
duke
parents:
diff changeset
   509
06bc494ca11e Initial load
duke
parents:
diff changeset
   510
compiler.err.generic.array.creation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   511
    generic array creation
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   512
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   513
compiler.err.generic.throwable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   514
    a generic class may not extend java.lang.Throwable
06bc494ca11e Initial load
duke
parents:
diff changeset
   515
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   516
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   517
compiler.err.icls.cant.have.static.decl=\
8046
376310825f60 6510286: Wording of javac error for inner classes
mcimadamore
parents: 8045
diff changeset
   518
    Illegal static declaration in inner class {0}\n\
376310825f60 6510286: Wording of javac error for inner classes
mcimadamore
parents: 8045
diff changeset
   519
    modifier \''static\'' is only allowed in constant variable declarations
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   520
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   521
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   522
compiler.err.illegal.char=\
14370
eefd0e6642a8 8000483: cryptic error message when source file contains hash
vromero
parents: 14369
diff changeset
   523
    illegal character: ''{0}''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   524
38511
d934635453ad 8078559: Update error message to indicate illegal character when encoding set to ascii
jlahoda
parents: 38508
diff changeset
   525
# 0: string, 1: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   526
compiler.err.illegal.char.for.encoding=\
38511
d934635453ad 8078559: Update error message to indicate illegal character when encoding set to ascii
jlahoda
parents: 38508
diff changeset
   527
    unmappable character (0x{0}) for encoding {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   528
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   529
# 0: set of modifier, 1: set of modifier
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   530
compiler.err.illegal.combination.of.modifiers=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   531
    illegal combination of modifiers: {0} and {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   532
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   533
compiler.err.illegal.enum.static.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   534
    illegal reference to static field from initializer
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   535
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   536
compiler.err.illegal.esc.char=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   537
    illegal escape character
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   538
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   539
compiler.err.illegal.forward.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   540
    illegal forward reference
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   541
15724
3063fb01c8a1 8004182: Add support for profiles in javac
jjg
parents: 14952
diff changeset
   542
# 0: symbol, 1: string
3063fb01c8a1 8004182: Add support for profiles in javac
jjg
parents: 14952
diff changeset
   543
compiler.err.not.in.profile=\
3063fb01c8a1 8004182: Add support for profiles in javac
jjg
parents: 14952
diff changeset
   544
    {0} is not available in profile ''{1}''
3063fb01c8a1 8004182: Add support for profiles in javac
jjg
parents: 14952
diff changeset
   545
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   546
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   547
compiler.warn.forward.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   548
    reference to variable ''{0}'' before it has been initialized
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   549
1045
56f6e84f7825 6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents: 939
diff changeset
   550
compiler.err.illegal.self.ref=\
56f6e84f7825 6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents: 939
diff changeset
   551
    self-reference in initializer
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   552
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   553
# 0: symbol
1045
56f6e84f7825 6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents: 939
diff changeset
   554
compiler.warn.self.ref=\
56f6e84f7825 6676362: Spurious forward reference error with final var + instance variable initializer
mcimadamore
parents: 939
diff changeset
   555
    self-reference in initializer of variable ''{0}''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   556
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   557
compiler.err.illegal.generic.type.for.instof=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   558
    illegal generic type for instanceof
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   559
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   560
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   561
compiler.err.illegal.initializer.for.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   562
    illegal initializer for {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   563
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   564
compiler.err.illegal.line.end.in.char.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   565
    illegal line end in character literal
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   566
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   567
compiler.err.illegal.nonascii.digit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   568
    illegal non-ASCII digit
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   569
3895
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
   570
compiler.err.illegal.underscore=\
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
   571
    illegal underscore
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   572
11383
ae090403accf 4881269: improve diagnostic for ill-formed tokens
jjg
parents: 11144
diff changeset
   573
compiler.err.illegal.dot=\
ae090403accf 4881269: improve diagnostic for ill-formed tokens
jjg
parents: 11144
diff changeset
   574
    illegal ''.''
ae090403accf 4881269: improve diagnostic for ill-formed tokens
jjg
parents: 11144
diff changeset
   575
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   576
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   577
compiler.err.illegal.qual.not.icls=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   578
    illegal qualifier; {0} is not an inner class
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   579
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   580
compiler.err.illegal.start.of.expr=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   581
    illegal start of expression
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   582
12466
08863ee323df 7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents: 12336
diff changeset
   583
compiler.err.illegal.start.of.stmt=\
08863ee323df 7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents: 12336
diff changeset
   584
    illegal start of statement
08863ee323df 7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents: 12336
diff changeset
   585
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   586
compiler.err.illegal.start.of.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   587
    illegal start of type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   588
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   589
compiler.err.illegal.unicode.esc=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   590
    illegal unicode escape
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   591
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   592
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   593
compiler.err.import.requires.canonical=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   594
    import requires canonical name for {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   595
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   596
compiler.err.improperly.formed.type.param.missing=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   597
    improperly formed type, some parameters are missing
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   598
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   599
compiler.err.improperly.formed.type.inner.raw.param=\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   600
    improperly formed type, type arguments given on a raw type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   601
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   602
# 0: type, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   603
compiler.err.incomparable.types=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   604
    incomparable types: {0} and {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   605
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   606
# 0: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   607
compiler.err.int.number.too.large=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   608
    integer number too large: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   609
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   610
compiler.err.intf.annotation.members.cant.have.params=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   611
    elements in annotation type declarations cannot declare formal parameters
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   612
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   613
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   614
compiler.err.intf.annotation.cant.have.type.params=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   615
    annotation type {0} cannot be generic
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   616
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   617
compiler.err.intf.annotation.members.cant.have.type.params=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   618
    elements in annotation type declarations cannot be generic methods
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   619
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   620
# 0: symbol, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   621
compiler.err.intf.annotation.member.clash=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   622
    annotation type {1} declares an element with the same name as method {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   623
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   624
compiler.err.intf.expected.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   625
    interface expected here
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   626
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   627
compiler.err.intf.meth.cant.have.body=\
14443
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
   628
    interface abstract methods cannot have body
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   629
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   630
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   631
compiler.err.invalid.annotation.member.type=\
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
   632
    invalid type for element {0} of annotation type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   633
4072
70eaf9773f81 6891079: Compiler allows invalid binary literals 0b and oBL
jjg
parents: 3895
diff changeset
   634
compiler.err.invalid.binary.number=\
70eaf9773f81 6891079: Compiler allows invalid binary literals 0b and oBL
jjg
parents: 3895
diff changeset
   635
    binary numbers must contain at least one binary digit
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   636
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   637
compiler.err.invalid.hex.number=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   638
    hexadecimal numbers must contain at least one hexadecimal digit
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   639
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   640
compiler.err.invalid.meth.decl.ret.type.req=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   641
    invalid method declaration; return type required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   642
8047
c7f08cdb5c3c 6569633: Varargs: parser error when varargs element type is an array
mcimadamore
parents: 8046
diff changeset
   643
compiler.err.varargs.and.old.array.syntax=\
c7f08cdb5c3c 6569633: Varargs: parser error when varargs element type is an array
mcimadamore
parents: 8046
diff changeset
   644
    legacy array notation not allowed on variable-arity parameter
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   645
17578
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
   646
compiler.err.varargs.and.receiver =\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
   647
    varargs notation not allowed on receiver parameter
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
   648
22701
67811024e8b4 8030091: Request to update error messages from javac for negative varargs test cases
jlahoda
parents: 21712
diff changeset
   649
compiler.err.varargs.must.be.last =\
67811024e8b4 8030091: Request to update error messages from javac for negative varargs test cases
jlahoda
parents: 21712
diff changeset
   650
    varargs parameter must be the last parameter
67811024e8b4 8030091: Request to update error messages from javac for negative varargs test cases
jlahoda
parents: 21712
diff changeset
   651
17578
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
   652
compiler.err.array.and.receiver =\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
   653
    legacy array notation not allowed on receiver parameter
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
   654
12466
08863ee323df 7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents: 12336
diff changeset
   655
compiler.err.variable.not.allowed=\
08863ee323df 7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents: 12336
diff changeset
   656
    variable declaration not allowed here
08863ee323df 7156633: (javac) incorrect errors when parsing variable declaration in block statements.
ksrini
parents: 12336
diff changeset
   657
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   658
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   659
compiler.err.label.already.in.use=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   660
    label {0} already in use
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   661
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   662
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   663
compiler.err.local.var.accessed.from.icls.needs.final=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   664
    local variable {0} is accessed from within inner class; needs to be declared final
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   665
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   666
compiler.err.local.enum=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   667
    enum types must not be local
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   668
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   669
compiler.err.cannot.create.array.with.type.arguments=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   670
    cannot create array with type arguments
06bc494ca11e Initial load
duke
parents:
diff changeset
   671
10199
48bd09ecc88a 7057297: Project Coin: diamond erroneously accepts in array initializer expressions
mcimadamore
parents: 10186
diff changeset
   672
compiler.err.cannot.create.array.with.diamond=\
48bd09ecc88a 7057297: Project Coin: diamond erroneously accepts in array initializer expressions
mcimadamore
parents: 10186
diff changeset
   673
    cannot create array with ''<>''
48bd09ecc88a 7057297: Project Coin: diamond erroneously accepts in array initializer expressions
mcimadamore
parents: 10186
diff changeset
   674
40501
8455b59aa04a 8157519: Error messages when compiling a malformed module-info.java confusing
sadayapalam
parents: 40313
diff changeset
   675
compiler.err.invalid.module.directive=\
8455b59aa04a 8157519: Error messages when compiling a malformed module-info.java confusing
sadayapalam
parents: 40313
diff changeset
   676
  module directive keyword or ''}'' expected
8455b59aa04a 8157519: Error messages when compiling a malformed module-info.java confusing
sadayapalam
parents: 40313
diff changeset
   677
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   678
#
06bc494ca11e Initial load
duke
parents:
diff changeset
   679
# limits.  We don't give the limits in the diagnostic because we expect
06bc494ca11e Initial load
duke
parents:
diff changeset
   680
# them to change, yet we want to use the same diagnostic.  These are all
06bc494ca11e Initial load
duke
parents:
diff changeset
   681
# detected during code generation.
06bc494ca11e Initial load
duke
parents:
diff changeset
   682
#
06bc494ca11e Initial load
duke
parents:
diff changeset
   683
compiler.err.limit.code=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   684
    code too large
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   685
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   686
compiler.err.limit.code.too.large.for.try.stmt=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   687
    code too large for try statement
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   688
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   689
compiler.err.limit.dimensions=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   690
    array type has too many dimensions
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   691
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   692
compiler.err.limit.locals=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   693
    too many local variables
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   694
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   695
compiler.err.limit.parameters=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   696
    too many parameters
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   697
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   698
compiler.err.limit.pool=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   699
    too many constants
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   700
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   701
compiler.err.limit.pool.in.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   702
    too many constants in class {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   703
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   704
compiler.err.limit.stack=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   705
    code requires too much stack
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   706
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   707
compiler.err.limit.string=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   708
    constant string too long
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   709
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   710
compiler.err.limit.string.overflow=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   711
    UTF8 representation for string \"{0}...\" is too long for the constant pool
06bc494ca11e Initial load
duke
parents:
diff changeset
   712
06bc494ca11e Initial load
duke
parents:
diff changeset
   713
compiler.err.malformed.fp.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   714
    malformed floating point literal
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   715
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   716
compiler.err.method.does.not.override.superclass=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   717
    method does not override or implement a method from a supertype
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   718
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   719
compiler.err.missing.meth.body.or.decl.abstract=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   720
    missing method body, or declare abstract
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   721
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   722
compiler.err.missing.ret.stmt=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   723
    missing return statement
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   724
17578
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
   725
# 0: unused
14058
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   726
compiler.misc.missing.ret.val=\
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   727
    missing return value
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   728
14547
86d8d242b0c4 8003280: Add lambda tests
mcimadamore
parents: 14541
diff changeset
   729
compiler.misc.unexpected.ret.val=\
86d8d242b0c4 8003280: Add lambda tests
mcimadamore
parents: 14541
diff changeset
   730
    unexpected return value
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   731
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   732
# 0: set of modifier
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   733
compiler.err.mod.not.allowed.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   734
    modifier {0} not allowed here
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   735
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   736
compiler.err.intf.not.allowed.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   737
    interface not allowed here
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   738
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   739
compiler.err.enums.must.be.static=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   740
    enum declarations allowed only in static contexts
06bc494ca11e Initial load
duke
parents:
diff changeset
   741
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   742
# 0: symbol, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   743
compiler.err.name.clash.same.erasure=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   744
    name clash: {0} and {1} have the same erasure
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   745
8242
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   746
# 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: unused, 5: unused
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   747
compiler.err.name.clash.same.erasure.no.override=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   748
    name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the other
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   749
8242
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   750
# 0: symbol, 1: symbol, 2: symbol, 3: symbol, 4: symbol, 5: symbol
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   751
compiler.err.name.clash.same.erasure.no.override.1=\
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   752
    name clash: {0} in {1} overrides a method whose erasure is the same as another method, yet neither overrides the other\n\
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   753
    first method:  {2} in {3}\n\
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   754
    second method: {4} in {5}
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   755
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   756
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   757
compiler.err.name.clash.same.erasure.no.hide=\
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   758
    name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither hides the other
3873b4aaf4a8 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123.
mcimadamore
parents: 8234
diff changeset
   759
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   760
compiler.err.name.reserved.for.internal.use=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   761
    {0} is reserved for internal use
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   762
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   763
compiler.err.native.meth.cant.have.body=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   764
    native methods cannot have a body
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   765
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   766
# 0: type, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   767
compiler.err.neither.conditional.subtype=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   768
    incompatible types for ?: neither is a subtype of the other\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   769
    second operand: {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   770
    third operand : {1}
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   771
25445
603f0c93d5c9 8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents: 25283
diff changeset
   772
14057
b4b0377b8dba 7177387: Add target-typing support in method context
mcimadamore
parents: 14054
diff changeset
   773
# 0: message segment
b4b0377b8dba 7177387: Add target-typing support in method context
mcimadamore
parents: 14054
diff changeset
   774
compiler.misc.incompatible.type.in.conditional=\
17582
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 17578
diff changeset
   775
    bad type in conditional expression\n\
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 17578
diff changeset
   776
    {0}
14057
b4b0377b8dba 7177387: Add target-typing support in method context
mcimadamore
parents: 14054
diff changeset
   777
14547
86d8d242b0c4 8003280: Add lambda tests
mcimadamore
parents: 14541
diff changeset
   778
compiler.misc.conditional.target.cant.be.void=\
86d8d242b0c4 8003280: Add lambda tests
mcimadamore
parents: 14541
diff changeset
   779
    target-type for conditional expression cannot be void
86d8d242b0c4 8003280: Add lambda tests
mcimadamore
parents: 14541
diff changeset
   780
14058
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   781
# 0: type
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   782
compiler.misc.incompatible.ret.type.in.lambda=\
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   783
    bad return type in lambda expression\n\
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   784
    {0}
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   785
38508
03c87ceca5fd 8153884: Expression lambda erroneously compatible with void-returning descriptor
mcimadamore
parents: 37854
diff changeset
   786
compiler.misc.stat.expr.expected=\
03c87ceca5fd 8153884: Expression lambda erroneously compatible with void-returning descriptor
mcimadamore
parents: 37854
diff changeset
   787
    lambda body is not compatible with a void functional interface\n\
03c87ceca5fd 8153884: Expression lambda erroneously compatible with void-returning descriptor
mcimadamore
parents: 37854
diff changeset
   788
    (consider using a block lambda body, or use a statement expression instead)
03c87ceca5fd 8153884: Expression lambda erroneously compatible with void-returning descriptor
mcimadamore
parents: 37854
diff changeset
   789
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   790
# 0: type
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   791
compiler.misc.incompatible.ret.type.in.mref=\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   792
    bad return type in method reference\n\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   793
    {0}
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   794
24066
1dfb66929538 8029718: Should always use lambda body structure to disambiguate overload resolution
vromero
parents: 23809
diff changeset
   795
compiler.err.lambda.body.neither.value.nor.void.compatible=\
1dfb66929538 8029718: Should always use lambda body structure to disambiguate overload resolution
vromero
parents: 23809
diff changeset
   796
    lambda body is neither value nor void compatible
1dfb66929538 8029718: Should always use lambda body structure to disambiguate overload resolution
vromero
parents: 23809
diff changeset
   797
14058
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   798
# 0: list of type
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   799
compiler.err.incompatible.thrown.types.in.mref=\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   800
    incompatible thrown types {0} in method reference
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   801
14058
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   802
compiler.misc.incompatible.arg.types.in.lambda=\
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   803
    incompatible parameter types in lambda expression
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
   804
16294
0c291a3cd60d 8007462: Fix provisional applicability for method references
mcimadamore
parents: 15385
diff changeset
   805
compiler.misc.incompatible.arg.types.in.mref=\
0c291a3cd60d 8007462: Fix provisional applicability for method references
mcimadamore
parents: 15385
diff changeset
   806
    incompatible parameter types in method reference
0c291a3cd60d 8007462: Fix provisional applicability for method references
mcimadamore
parents: 15385
diff changeset
   807
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   808
compiler.err.new.not.allowed.in.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   809
    ''new'' not allowed in an annotation
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   810
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   811
compiler.err.no.annotation.member=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   812
    no annotation member {0} in {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   813
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   814
compiler.err.no.encl.instance.of.type.in.scope=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   815
    no enclosing instance of type {0} is in scope
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   816
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   817
compiler.err.no.intf.expected.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   818
    no interface expected here
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   819
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   820
compiler.err.no.match.entry=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   821
    {0} has no match in entry in {1}; required {2}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   822
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   823
compiler.err.not.annotation.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   824
    {0} is not an annotation type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   825
41932
b23b4712933b 8169074: Build is failing after JDK-8166538
jlahoda
parents: 41931
diff changeset
   826
# 0: symbol, 1: symbol
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
   827
compiler.err.not.def.access.package.cant.access=\
41932
b23b4712933b 8169074: Build is failing after JDK-8166538
jlahoda
parents: 41931
diff changeset
   828
    {0} is not visible because package {1} is not visible
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
   829
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
   830
# 0: symbol, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   831
compiler.err.not.def.access.class.intf.cant.access=\
41932
b23b4712933b 8169074: Build is failing after JDK-8166538
jlahoda
parents: 41931
diff changeset
   832
    {0} in {1} is defined in an inaccessible class or interface
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   833
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   834
# 0: symbol, 1: symbol
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   835
compiler.misc.not.def.access.class.intf.cant.access=\
41932
b23b4712933b 8169074: Build is failing after JDK-8166538
jlahoda
parents: 41931
diff changeset
   836
    {0} in {1} is defined in an inaccessible class or interface
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   837
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   838
# 0: symbol, 1: list of type, 2: type
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   839
compiler.misc.cant.access.inner.cls.constr=\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   840
    cannot access constructor {0}({1})\n\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   841
    an enclosing instance of type {2} is not in scope
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   842
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   843
# 0: symbol, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   844
compiler.err.not.def.public.cant.access=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   845
    {0} is not public in {1}; cannot be accessed from outside package
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   846
16328
8b9eb42167f6 8009129: Illegal access error when calling method reference
mcimadamore
parents: 16323
diff changeset
   847
# 0: symbol, 1: symbol
8b9eb42167f6 8009129: Illegal access error when calling method reference
mcimadamore
parents: 16323
diff changeset
   848
compiler.misc.not.def.public.cant.access=\
8b9eb42167f6 8009129: Illegal access error when calling method reference
mcimadamore
parents: 16323
diff changeset
   849
    {0} is not public in {1}; cannot be accessed from outside package
8b9eb42167f6 8009129: Illegal access error when calling method reference
mcimadamore
parents: 16323
diff changeset
   850
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   851
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   852
compiler.err.not.loop.label=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   853
    not a loop label: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   854
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   855
compiler.err.not.stmt=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   856
    not a statement
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   857
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   858
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   859
compiler.err.not.encl.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   860
    not an enclosing class: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   861
29051
7244db2ab176 8071241: Investigate alternate strategy for type-checking operators
mcimadamore
parents: 28456
diff changeset
   862
# 0: name, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   863
compiler.err.operator.cant.be.applied=\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   864
    bad operand type {1} for unary operator ''{0}''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   865
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   866
# 0: name, 1: type, 2: type
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   867
compiler.err.operator.cant.be.applied.1=\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   868
    bad operand types for binary operator ''{0}''\n\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   869
    first type:  {1}\n\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
   870
    second type: {2}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   871
06bc494ca11e Initial load
duke
parents:
diff changeset
   872
compiler.err.pkg.annotations.sb.in.package-info.java=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   873
    package annotations should be in file package-info.java
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   874
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
   875
compiler.err.no.pkg.in.module-info.java=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
   876
    package clauses should not be in file module-info.java
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
   877
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   878
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   879
compiler.err.pkg.clashes.with.class.of.same.name=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   880
    package {0} clashes with class of same name
06bc494ca11e Initial load
duke
parents:
diff changeset
   881
1996
c855318a4b03 6595666: fix -Werror
jjg
parents: 1538
diff changeset
   882
compiler.err.warnings.and.werror=\
c855318a4b03 6595666: fix -Werror
jjg
parents: 1538
diff changeset
   883
    warnings found and -Werror specified
c855318a4b03 6595666: fix -Werror
jjg
parents: 1538
diff changeset
   884
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   885
# Errors related to annotation processing
06bc494ca11e Initial load
duke
parents:
diff changeset
   886
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
   887
# 0: symbol, 1: string, 2: string (stack-trace)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   888
compiler.err.proc.cant.access=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   889
    cannot access {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   890
    {1}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   891
    Consult the following stack trace for details.\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   892
    {2}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   893
9077
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
   894
# 0: symbol, 1: string
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
   895
compiler.err.proc.cant.access.1=\
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
   896
    cannot access {0}\n\
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
   897
    {1}
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
   898
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   899
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   900
compiler.err.proc.cant.find.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   901
    Could not find class file for ''{0}''.
06bc494ca11e Initial load
duke
parents:
diff changeset
   902
06bc494ca11e Initial load
duke
parents:
diff changeset
   903
# Print a client-generated error message; assumed to be localized, no translation required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   904
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   905
compiler.err.proc.messager=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   906
    {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   907
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   908
# 0: list of string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   909
compiler.err.proc.no.explicit.annotation.processing.requested=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   910
    Class names, ''{0}'', are only accepted if annotation processing is explicitly requested
06bc494ca11e Initial load
duke
parents:
diff changeset
   911
06bc494ca11e Initial load
duke
parents:
diff changeset
   912
compiler.err.proc.no.service=\
10186
31a86b7e18ca 6575445: Update annotation processor to only use java.util.ServiceLoader
darcy
parents: 9604
diff changeset
   913
    A ServiceLoader was not usable and is required for annotation processing.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   914
06bc494ca11e Initial load
duke
parents:
diff changeset
   915
compiler.err.proc.processor.bad.option.name=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   916
    Bad option name ''{0}'' provided by processor ''{1}''
06bc494ca11e Initial load
duke
parents:
diff changeset
   917
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   918
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   919
compiler.err.proc.processor.cant.instantiate=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   920
    Could not instantiate an instance of processor ''{0}''
06bc494ca11e Initial load
duke
parents:
diff changeset
   921
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   922
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   923
compiler.err.proc.processor.not.found=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   924
    Annotation processor ''{0}'' not found
06bc494ca11e Initial load
duke
parents:
diff changeset
   925
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   926
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   927
compiler.err.proc.processor.wrong.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   928
    Annotation processor ''{0}'' does not implement javax.annotation.processing.Processor
06bc494ca11e Initial load
duke
parents:
diff changeset
   929
06bc494ca11e Initial load
duke
parents:
diff changeset
   930
compiler.err.proc.service.problem=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   931
    Error creating a service loader to load Processors.
06bc494ca11e Initial load
duke
parents:
diff changeset
   932
06bc494ca11e Initial load
duke
parents:
diff changeset
   933
compiler.err.proc.bad.config.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   934
    Bad service configuration file, or exception thrown while constructing Processor object: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   935
06bc494ca11e Initial load
duke
parents:
diff changeset
   936
compiler.err.proc.cant.create.loader=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   937
    Could not create class loader for annotation processors: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   938
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   939
# 0: unused
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   940
compiler.err.qualified.new.of.static.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   941
    qualified new of static class
06bc494ca11e Initial load
duke
parents:
diff changeset
   942
06bc494ca11e Initial load
duke
parents:
diff changeset
   943
compiler.err.recursive.ctor.invocation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   944
    recursive constructor invocation
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   945
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   946
# 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   947
compiler.err.ref.ambiguous=\
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   948
    reference to {0} is ambiguous\n\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   949
    both {1} {2} in {3} and {4} {5} in {6} match
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   950
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   951
# 0: name, 1: symbol kind, 2: symbol, 3: symbol, 4: symbol kind, 5: symbol, 6: symbol
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   952
compiler.misc.ref.ambiguous=\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   953
    reference to {0} is ambiguous\n\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
   954
    both {1} {2} in {3} and {4} {5} in {6} match
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   955
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   956
compiler.err.repeated.annotation.target=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   957
    repeated annotation target
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   958
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   959
compiler.err.repeated.interface=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   960
    repeated interface
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   961
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   962
compiler.err.repeated.modifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   963
    repeated modifier
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   964
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   965
# 0: symbol, 1: set of modifier, 2: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   966
compiler.err.report.access=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   967
    {0} has {1} access in {2}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   968
19129
b1409ae675f8 8020843: javac crashes on accessibility check with method reference with typevar receiver
mcimadamore
parents: 19122
diff changeset
   969
# 0: symbol, 1: set of modifier, 2: symbol
b1409ae675f8 8020843: javac crashes on accessibility check with method reference with typevar receiver
mcimadamore
parents: 19122
diff changeset
   970
compiler.misc.report.access=\
b1409ae675f8 8020843: javac crashes on accessibility check with method reference with typevar receiver
mcimadamore
parents: 19122
diff changeset
   971
    {0} has {1} access in {2}
b1409ae675f8 8020843: javac crashes on accessibility check with method reference with typevar receiver
mcimadamore
parents: 19122
diff changeset
   972
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   973
compiler.err.ret.outside.meth=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   974
    return outside method
06bc494ca11e Initial load
duke
parents:
diff changeset
   975
06bc494ca11e Initial load
duke
parents:
diff changeset
   976
compiler.err.signature.doesnt.match.supertype=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   977
    signature does not match {0}; incompatible supertype
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   978
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   979
compiler.err.signature.doesnt.match.intf=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   980
    signature does not match {0}; incompatible interfaces
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   981
19133
aa085efaaa2e 8013179: assertion failure in javac when compiling with -source 1.6 -target 1.6
vromero
parents: 19129
diff changeset
   982
# 0: number, 1: number
aa085efaaa2e 8013179: assertion failure in javac when compiling with -source 1.6 -target 1.6
vromero
parents: 19129
diff changeset
   983
compiler.err.method.invoked.with.incorrect.number.arguments=\
aa085efaaa2e 8013179: assertion failure in javac when compiling with -source 1.6 -target 1.6
vromero
parents: 19129
diff changeset
   984
    method invoked with incorrect number of arguments; expected {0}, found {1}
aa085efaaa2e 8013179: assertion failure in javac when compiling with -source 1.6 -target 1.6
vromero
parents: 19129
diff changeset
   985
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   986
# 0: symbol, 1: symbol, 2: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   987
compiler.err.does.not.override.abstract=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   988
    {0} is not abstract and does not override abstract method {1} in {2}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   989
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   990
compiler.err.source.cant.overwrite.input.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   991
    error writing source; cannot overwrite input file {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   992
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   993
compiler.err.stack.sim.error=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   994
    Internal error: stack sim error on {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   995
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   996
compiler.err.static.imp.only.classes.and.interfaces=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   997
    static import only from classes and interfaces
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
   998
4142
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
   999
compiler.err.string.const.req=\
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
  1000
    constant string expression required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1001
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1002
# 0: symbol, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1003
compiler.err.synthetic.name.conflict=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1004
    the symbol {0} conflicts with a compiler-synthesized symbol in {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1005
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1006
compiler.err.throws.not.allowed.in.intf.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1007
    throws clause not allowed in @interface members
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1008
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1009
compiler.err.try.without.catch.or.finally=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1010
    ''try'' without ''catch'' or ''finally''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1011
6148
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
  1012
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
  1013
    ''try'' without ''catch'', ''finally'' or resource declarations
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1014
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1015
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1016
compiler.err.type.doesnt.take.params=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1017
    type {0} does not take parameters
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1018
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1019
compiler.err.type.var.cant.be.deref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1020
    cannot select from a type variable
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1021
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1022
compiler.err.type.var.may.not.be.followed.by.other.bounds=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1023
    a type variable may not be followed by other bounds
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1024
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1025
compiler.err.type.var.more.than.once=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1026
    type variable {0} occurs more than once in result type of {1}; cannot be left uninstantiated
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1027
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1028
compiler.err.type.var.more.than.once.in.result=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1029
    type variable {0} occurs more than once in type of {1}; cannot be left uninstantiated
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1030
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1031
# 0: type, 1: type, 2: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1032
compiler.err.types.incompatible.diff.ret=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1033
    types {0} and {1} are incompatible; both define {2}, but with unrelated return types
06bc494ca11e Initial load
duke
parents:
diff changeset
  1034
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
  1035
# 0: kind name, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol
14443
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1036
compiler.err.types.incompatible.unrelated.defaults=\
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1037
    {0} {1} inherits unrelated defaults for {2}({3}) from types {4} and {5}
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1038
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
  1039
# 0: kind name, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol
14443
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1040
compiler.err.types.incompatible.abstract.default=\
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1041
    {0} {1} inherits abstract and default for {2}({3}) from types {4} and {5}
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1042
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
  1043
# 0: name, 1: kind name, 2: symbol
14443
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1044
compiler.err.default.overrides.object.member=\
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1045
    default method {0} in {1} {2} overrides a member of java.lang.Object
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1046
15377
515846bb6637 8005166: Add support for static interface methods
mcimadamore
parents: 15367
diff changeset
  1047
# 0: type
515846bb6637 8005166: Add support for static interface methods
mcimadamore
parents: 15367
diff changeset
  1048
compiler.err.illegal.static.intf.meth.call=\
515846bb6637 8005166: Add support for static interface methods
mcimadamore
parents: 15367
diff changeset
  1049
    illegal static interface method call\n\
515846bb6637 8005166: Add support for static interface methods
mcimadamore
parents: 15367
diff changeset
  1050
    the receiver expression should be replaced with the type qualifier ''{0}''
515846bb6637 8005166: Add support for static interface methods
mcimadamore
parents: 15367
diff changeset
  1051
14443
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1052
# 0: type, 1: message segment
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1053
compiler.err.illegal.default.super.call=\
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1054
    bad type qualifier {0} in default super call\n\
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1055
    {1}
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1056
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1057
# 0: symbol, 1: type
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1058
compiler.misc.overridden.default=\
14547
86d8d242b0c4 8003280: Add lambda tests
mcimadamore
parents: 14541
diff changeset
  1059
    method {0} is overridden in {1}
14443
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1060
17578
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  1061
# 0: symbol, 1: type or symbol
14443
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1062
compiler.misc.redundant.supertype=\
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1063
    redundant interface {0} is extended by {1}
91c05eb19277 7192246: Add type-checking support for default methods
mcimadamore
parents: 14370
diff changeset
  1064
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1065
compiler.err.unclosed.char.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1066
    unclosed character literal
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1067
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1068
compiler.err.unclosed.comment=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1069
    unclosed comment
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1070
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1071
compiler.err.unclosed.str.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1072
    unclosed string literal
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1073
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1074
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1075
compiler.err.unsupported.encoding=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1076
    unsupported encoding: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1077
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1078
compiler.err.io.exception=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1079
    error reading source file: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1080
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1081
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1082
compiler.err.undef.label=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1083
    undefined label: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1084
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1085
# 0: message segment, 1: unused
5321
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1086
compiler.err.cant.apply.diamond=\
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1087
    cannot infer type arguments for {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1088
11053
48713f779b1d 7108669: cleanup Log methods for direct printing to streams
jjg
parents: 10816
diff changeset
  1089
# 0: message segment or type, 1: message segment
5321
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1090
compiler.err.cant.apply.diamond.1=\
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1091
    cannot infer type arguments for {0}\n\
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1092
    reason: {1}
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1093
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1094
# 0: message segment or type, 1: message segment
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1095
compiler.misc.cant.apply.diamond.1=\
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1096
    cannot infer type arguments for {0}\n\
5321
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  1097
    reason: {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1098
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1099
compiler.err.unreachable.stmt=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1100
    unreachable statement
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1101
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1102
compiler.err.initializer.must.be.able.to.complete.normally=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1103
    initializer must be able to complete normally
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1104
23133
a58476887b3d 8031383: Error recovery in JavacParser could be improved
jlahoda
parents: 23128
diff changeset
  1105
compiler.err.initializer.not.allowed=\
a58476887b3d 8031383: Error recovery in JavacParser could be improved
jlahoda
parents: 23128
diff changeset
  1106
    initializers not allowed in interfaces
a58476887b3d 8031383: Error recovery in JavacParser could be improved
jlahoda
parents: 23128
diff changeset
  1107
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1108
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1109
compiler.err.unreported.exception.need.to.catch.or.throw=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1110
    unreported exception {0}; must be caught or declared to be thrown
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1111
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1112
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1113
compiler.err.unreported.exception.default.constructor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1114
    unreported exception {0} in default constructor
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1115
8428
1e9935b883cd 7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents: 8242
diff changeset
  1116
# 0: type, 1: name
1e9935b883cd 7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents: 8242
diff changeset
  1117
compiler.err.unreported.exception.implicit.close=\
1e9935b883cd 7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents: 8242
diff changeset
  1118
    unreported exception {0}; must be caught or declared to be thrown\n\
1e9935b883cd 7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents: 8242
diff changeset
  1119
    exception thrown from implicit call to close() on resource variable ''{1}''
1e9935b883cd 7017104: improve error reporting for uncaught/undeclared exceptions from try-with-resources
mcimadamore
parents: 8242
diff changeset
  1120
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1121
compiler.err.unsupported.cross.fp.lit=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1122
    hexadecimal floating-point literals are not supported on this VM
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1123
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1124
compiler.err.void.not.allowed.here=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1125
    ''void'' type not allowed here
06bc494ca11e Initial load
duke
parents:
diff changeset
  1126
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1127
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1128
compiler.err.wrong.number.type.args=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1129
    wrong number of type arguments; required {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1130
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1131
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1132
compiler.err.var.might.already.be.assigned=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1133
    variable {0} might already have been assigned
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1134
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1135
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1136
compiler.err.var.might.not.have.been.initialized=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1137
    variable {0} might not have been initialized
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1138
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1139
# 0: symbol
19122
1841f2fa76de 8017216: javac doesn't fill in end position for some errors of type not found
ksrini
parents: 18387
diff changeset
  1140
compiler.err.var.not.initialized.in.default.constructor=\
1841f2fa76de 8017216: javac doesn't fill in end position for some errors of type not found
ksrini
parents: 18387
diff changeset
  1141
    variable {0} not initialized in the default constructor
1841f2fa76de 8017216: javac doesn't fill in end position for some errors of type not found
ksrini
parents: 18387
diff changeset
  1142
1841f2fa76de 8017216: javac doesn't fill in end position for some errors of type not found
ksrini
parents: 18387
diff changeset
  1143
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1144
compiler.err.var.might.be.assigned.in.loop=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1145
    variable {0} might be assigned in loop
06bc494ca11e Initial load
duke
parents:
diff changeset
  1146
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1147
# 0: symbol, 1: message segment
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1148
compiler.err.varargs.invalid.trustme.anno=\
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1149
    Invalid {0} annotation. {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1150
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1151
# 0: type
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1152
compiler.misc.varargs.trustme.on.reifiable.varargs=\
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1153
    Varargs element type {0} is reifiable.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1154
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1155
# 0: symbol
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1156
compiler.misc.varargs.trustme.on.non.varargs.meth=\
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1157
    Method {0} is not a varargs method.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1158
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1159
# 0: symbol
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1160
compiler.misc.varargs.trustme.on.virtual.varargs=\
25283
082d51b7010b 7196160: Project Coin: allow @SafeVarargs on private methods
darcy
parents: 24901
diff changeset
  1161
    Instance method {0} is neither final nor private.
082d51b7010b 7196160: Project Coin: allow @SafeVarargs on private methods
darcy
parents: 24901
diff changeset
  1162
082d51b7010b 7196160: Project Coin: allow @SafeVarargs on private methods
darcy
parents: 24901
diff changeset
  1163
# 0: symbol
082d51b7010b 7196160: Project Coin: allow @SafeVarargs on private methods
darcy
parents: 24901
diff changeset
  1164
compiler.misc.varargs.trustme.on.virtual.varargs.final.only=\
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1165
    Instance method {0} is not final.
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1166
11053
48713f779b1d 7108669: cleanup Log methods for direct printing to streams
jjg
parents: 10816
diff changeset
  1167
# 0: type, 1: symbol kind, 2: symbol
8229
39266c1b1b0e 6313164: javac generates code that fails byte code verification for the varargs feature
mcimadamore
parents: 8226
diff changeset
  1168
compiler.misc.inaccessible.varargs.type=\
39266c1b1b0e 6313164: javac generates code that fails byte code verification for the varargs feature
mcimadamore
parents: 8226
diff changeset
  1169
    formal varargs element type {0} is not accessible from {1} {2}
39266c1b1b0e 6313164: javac generates code that fails byte code verification for the varargs feature
mcimadamore
parents: 8226
diff changeset
  1170
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1171
# In the following string, {1} will always be the detail message from
06bc494ca11e Initial load
duke
parents:
diff changeset
  1172
# java.io.IOException.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1173
# 0: symbol, 1: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1174
compiler.err.class.cant.write=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1175
    error while writing {0}: {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1176
06bc494ca11e Initial load
duke
parents:
diff changeset
  1177
# In the following string, {0} is the name of the class in the Java source.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1178
# It really should be used two times..
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1179
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1180
compiler.err.class.public.should.be.in.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1181
    class {0} is public, should be declared in a file named {0}.java
06bc494ca11e Initial load
duke
parents:
diff changeset
  1182
06bc494ca11e Initial load
duke
parents:
diff changeset
  1183
## All errors which do not refer to a particular line in the source code are
06bc494ca11e Initial load
duke
parents:
diff changeset
  1184
## preceded by this string.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1185
compiler.err.error=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1186
    error:\u0020
06bc494ca11e Initial load
duke
parents:
diff changeset
  1187
06bc494ca11e Initial load
duke
parents:
diff changeset
  1188
# The following error messages do not refer to a line in the source code.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1189
compiler.err.cant.read.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1190
    cannot read: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1191
27387
54142fc27e8a 8063039: incorrect message reference or broken message file
jjg
parents: 25874
diff changeset
  1192
# 0: string
54142fc27e8a 8063039: incorrect message reference or broken message file
jjg
parents: 25874
diff changeset
  1193
compiler.err.plugin.not.found=\
54142fc27e8a 8063039: incorrect message reference or broken message file
jjg
parents: 25874
diff changeset
  1194
    plug-in not found: {0}
54142fc27e8a 8063039: incorrect message reference or broken message file
jjg
parents: 25874
diff changeset
  1195
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1196
# 0: path
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1197
compiler.warn.locn.unknown.file.on.module.path=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1198
    unknown file on module path: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1199
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1200
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1201
# 0: path
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1202
compiler.err.locn.bad.module-info=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1203
    problem reading module-info.class in {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1204
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1205
# 0: path
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1206
compiler.err.locn.cant.read.directory=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1207
    cannot read directory {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1208
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1209
# 0: path
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1210
compiler.err.locn.cant.read.file=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1211
    cannot read file {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1212
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1213
# 0: path
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1214
compiler.err.locn.cant.get.module.name.for.jar=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1215
    cannot determine module name for {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1216
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1217
# 0: path
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1218
compiler.err.multi-module.outdir.cannot.be.exploded.module=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1219
    in multi-module mode, the output directory cannot be an exploded module: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1220
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1221
# 0: path
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1222
compiler.warn.outdir.is.in.exploded.module=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1223
    the output directory is within an exploded module: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1224
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1225
# 0: path
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1226
compiler.err.locn.module-info.not.allowed.on.patch.path=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1227
    module-info.class not allowed on patch path: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1228
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1229
# 0: string
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1230
compiler.err.locn.invalid.arg.for.xpatch=\
40308
274367a99f98 8136930: Simplify use of module-system options by custom launchers
jjg
parents: 39361
diff changeset
  1231
    invalid argument for --patch-module option: {0}
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1232
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1233
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1234
06bc494ca11e Initial load
duke
parents:
diff changeset
  1235
# Fatal Errors
06bc494ca11e Initial load
duke
parents:
diff changeset
  1236
06bc494ca11e Initial load
duke
parents:
diff changeset
  1237
compiler.misc.fatal.err.no.java.lang=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1238
    Fatal Error: Unable to find package java.lang in classpath or bootclasspath
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1239
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1240
compiler.misc.fatal.err.cant.locate.meth=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1241
    Fatal Error: Unable to find method {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1242
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1243
compiler.misc.fatal.err.cant.locate.field=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1244
    Fatal Error: Unable to find field {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1245
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1246
compiler.misc.fatal.err.cant.locate.ctor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1247
    Fatal Error: Unable to find constructor for {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1248
10637
2ea5fbb913ac 7092965: javac should not close processorClassLoader before end of compilation
jjg
parents: 10628
diff changeset
  1249
compiler.misc.fatal.err.cant.close=\
2ea5fbb913ac 7092965: javac should not close processorClassLoader before end of compilation
jjg
parents: 10628
diff changeset
  1250
    Fatal Error: Cannot close compiler resources
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1251
06bc494ca11e Initial load
duke
parents:
diff changeset
  1252
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1253
06bc494ca11e Initial load
duke
parents:
diff changeset
  1254
##
06bc494ca11e Initial load
duke
parents:
diff changeset
  1255
## miscellaneous strings
06bc494ca11e Initial load
duke
parents:
diff changeset
  1256
##
06bc494ca11e Initial load
duke
parents:
diff changeset
  1257
36272
950bd442a822 8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents: 36153
diff changeset
  1258
compiler.misc.diamond.anonymous.methods.implicitly.override=\
950bd442a822 8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents: 36153
diff changeset
  1259
    (due to <>, every non-private method declared in this anonymous class must override or implement a method from a supertype)
950bd442a822 8151018: javac should emit a clearer diagnostic when a <> inferred anonymous type's non-private methods don't override super's
sadayapalam
parents: 36153
diff changeset
  1260
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1261
compiler.misc.source.unavailable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1262
    (source unavailable)
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1263
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1264
compiler.misc.base.membership=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1265
    all your base class are belong to us
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1266
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1267
# 0: string, 1: string, 2: boolean
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1268
compiler.misc.x.print.processor.info=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1269
    Processor {0} matches {1} and returns {2}.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1270
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1271
# 0: number, 1: string, 2: set of symbol, 3: boolean
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1272
compiler.misc.x.print.rounds=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1273
    Round {0}:\n\tinput files: {1}\n\tannotations: {2}\n\tlast round: {3}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1274
23128
c91951cf65f0 6533516: Warning needed for file with future time stamps
jjg
parents: 22701
diff changeset
  1275
# 0: file name
c91951cf65f0 6533516: Warning needed for file with future time stamps
jjg
parents: 22701
diff changeset
  1276
compiler.warn.file.from.future=\
c91951cf65f0 6533516: Warning needed for file with future time stamps
jjg
parents: 22701
diff changeset
  1277
    Modification date is in the future for file {0}
c91951cf65f0 6533516: Warning needed for file with future time stamps
jjg
parents: 22701
diff changeset
  1278
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1279
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1280
06bc494ca11e Initial load
duke
parents:
diff changeset
  1281
## The following string will appear before all messages keyed as:
06bc494ca11e Initial load
duke
parents:
diff changeset
  1282
## "compiler.note".
14058
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
  1283
17582
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 17578
diff changeset
  1284
compiler.note.compressed.diags=\
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 17578
diff changeset
  1285
    Some messages have been simplified; recompile with -Xdiags:verbose to get full output
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 17578
diff changeset
  1286
18386
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1287
# 0: boolean, 1: symbol
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1288
compiler.note.lambda.stat=\
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1289
    Translating lambda expression\n\
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1290
    alternate metafactory = {0}\n\
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1291
    synthetic method = {1}
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1292
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1293
# 0: boolean, 1: unused
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1294
compiler.note.mref.stat=\
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1295
    Translating method reference\n\
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1296
    alternate metafactory = {0}\n\
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1297
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1298
# 0: boolean, 1: symbol
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1299
compiler.note.mref.stat.1=\
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1300
    Translating method reference\n\
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1301
    alternate metafactory = {0}\n\
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1302
    bridge method = {1}
174879d5b5d0 8013576: Add stat support to LambdaToMethod
mcimadamore
parents: 17582
diff changeset
  1303
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1304
compiler.note.note=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1305
    Note:\u0020
06bc494ca11e Initial load
duke
parents:
diff changeset
  1306
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1307
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1308
compiler.note.deprecated.filename=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1309
    {0} uses or overrides a deprecated API.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1310
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1311
compiler.note.deprecated.plural=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1312
    Some input files use or override a deprecated API.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1313
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1314
# The following string may appear after one of the above deprecation
06bc494ca11e Initial load
duke
parents:
diff changeset
  1315
# messages.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1316
compiler.note.deprecated.recompile=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1317
    Recompile with -Xlint:deprecation for details.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1318
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1319
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1320
compiler.note.deprecated.filename.additional=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1321
    {0} has additional uses or overrides of a deprecated API.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1322
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1323
compiler.note.deprecated.plural.additional=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1324
    Some input files additionally use or override a deprecated API.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1325
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1326
# 0: file name
41637
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1327
compiler.note.removal.filename=\
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1328
    {0} uses or overrides a deprecated API that is marked for removal.
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1329
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1330
compiler.note.removal.plural=\
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1331
    Some input files use or override a deprecated API that is marked for removal.
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1332
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1333
# The following string may appear after one of the above removal messages.
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1334
compiler.note.removal.recompile=\
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1335
    Recompile with -Xlint:removal for details.
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1336
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1337
# 0: file name
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1338
compiler.note.removal.filename.additional=\
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1339
    {0} has additional uses or overrides of a deprecated API that is marked for removal.
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1340
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1341
compiler.note.removal.plural.additional=\
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1342
    Some input files additionally use or override a deprecated API that is marked for removal.
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1343
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1344
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1345
compiler.note.unchecked.filename=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1346
    {0} uses unchecked or unsafe operations.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1347
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1348
compiler.note.unchecked.plural=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1349
    Some input files use unchecked or unsafe operations.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1350
41637
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1351
# The following string may appear after one of the above unchecked messages.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1352
compiler.note.unchecked.recompile=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1353
    Recompile with -Xlint:unchecked for details.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1354
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1355
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1356
compiler.note.unchecked.filename.additional=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1357
    {0} has additional unchecked or unsafe operations.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1358
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1359
compiler.note.unchecked.plural.additional=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1360
    Some input files additionally use unchecked or unsafe operations.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1361
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
  1362
# Notes related to annotation processing
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
  1363
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
  1364
# Print a client-generated note; assumed to be localized, no translation required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1365
# 0: string
3661
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
  1366
compiler.note.proc.messager=\
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
  1367
    {0}
104c425e96aa 6873845: refine access to symbol file
jjg
parents: 3560
diff changeset
  1368
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1369
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1370
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1371
# 0: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1372
compiler.misc.count.error=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1373
    {0} error
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1374
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1375
# 0: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1376
compiler.misc.count.error.plural=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1377
    {0} errors
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1378
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1379
# 0: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1380
compiler.misc.count.warn=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1381
    {0} warning
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1382
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1383
# 0: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1384
compiler.misc.count.warn.plural=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1385
    {0} warnings
06bc494ca11e Initial load
duke
parents:
diff changeset
  1386
6031
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1387
compiler.misc.version.not.available=\
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1388
    (version info not available)
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  1389
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1390
## extra output when using -verbose (JavaCompiler)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1391
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1392
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1393
compiler.misc.verbose.checking.attribution=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1394
    [checking {0}]
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1395
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1396
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1397
compiler.misc.verbose.parsing.done=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1398
    [parsing completed {0}ms]
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1399
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1400
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1401
compiler.misc.verbose.parsing.started=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1402
    [parsing started {0}]
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1403
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1404
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1405
compiler.misc.verbose.total=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1406
    [total {0}ms]
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1407
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1408
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1409
compiler.misc.verbose.wrote.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1410
    [wrote {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
  1411
06bc494ca11e Initial load
duke
parents:
diff changeset
  1412
## extra output when using -verbose (code/ClassReader)
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1413
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1414
compiler.misc.verbose.loading=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1415
    [loading {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
  1416
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1417
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1418
compiler.misc.verbose.sourcepath=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1419
    [search path for source files: {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
  1420
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1421
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1422
compiler.misc.verbose.classpath=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1423
    [search path for class files: {0}]
06bc494ca11e Initial load
duke
parents:
diff changeset
  1424
06bc494ca11e Initial load
duke
parents:
diff changeset
  1425
## extra output when using -prompt (util/Log)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1426
compiler.misc.resume.abort=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1427
    R)esume, A)bort>
06bc494ca11e Initial load
duke
parents:
diff changeset
  1428
06bc494ca11e Initial load
duke
parents:
diff changeset
  1429
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1430
06bc494ca11e Initial load
duke
parents:
diff changeset
  1431
##
06bc494ca11e Initial load
duke
parents:
diff changeset
  1432
## warnings
06bc494ca11e Initial load
duke
parents:
diff changeset
  1433
##
06bc494ca11e Initial load
duke
parents:
diff changeset
  1434
06bc494ca11e Initial load
duke
parents:
diff changeset
  1435
## All warning messages are preceded by the following string.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1436
compiler.warn.warning=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1437
    warning:\u0020
06bc494ca11e Initial load
duke
parents:
diff changeset
  1438
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1439
## 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
  1440
## lint option
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1441
# 0: option name
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1442
compiler.warn.lintOption=\
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1443
    [{0}]\u0020
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1444
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1445
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1446
compiler.warn.constant.SVUID=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1447
    serialVersionUID must be constant in class {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1448
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1449
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1450
compiler.warn.dir.path.element.not.found=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1451
    bad path element "{0}": no such directory
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1452
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1453
# 0: file name
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1454
compiler.warn.dir.path.element.not.directory=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1455
    bad path element "{0}": not a directory
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1456
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1457
compiler.warn.finally.cannot.complete=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1458
    finally clause cannot complete normally
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1459
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1460
# 0: symbol, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1461
compiler.warn.has.been.deprecated=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1462
    {0} in {1} has been deprecated
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1463
41637
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1464
# 0: symbol, 1: symbol
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1465
compiler.warn.has.been.deprecated.for.removal=\
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1466
    {0} in {1} has been deprecated and marked for removal
7b24b4c32ee6 8145471: javac changes for enhanced deprecation
jjg
parents: 41629
diff changeset
  1467
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1468
# 0: symbol
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  1469
compiler.warn.has.been.deprecated.module=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  1470
    module {0} has been deprecated
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  1471
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  1472
# 0: symbol
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  1473
compiler.warn.has.been.deprecated.for.removal.module=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  1474
    module {0} has been deprecated and marked for removal
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  1475
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  1476
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1477
compiler.warn.sun.proprietary=\
5848
c5a4ce47e780 6960407: Potential rebranding issues in openjdk/langtools repository sources
jjg
parents: 5846
diff changeset
  1478
    {0} is internal proprietary API and may be removed in a future release
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1479
06bc494ca11e Initial load
duke
parents:
diff changeset
  1480
compiler.warn.illegal.char.for.encoding=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1481
    unmappable character for encoding {0}
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1482
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1483
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1484
compiler.warn.improper.SVUID=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1485
    serialVersionUID must be declared static final in class {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1486
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1487
# 0: type, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1488
compiler.warn.inexact.non-varargs.call=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1489
    non-varargs call of varargs method with inexact argument type for last parameter;\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1490
    cast to {0} for a varargs call\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1491
    cast to {1} for a non-varargs call and to suppress this warning
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1492
8849
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1493
# 0: list of type
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1494
compiler.warn.unreachable.catch=\
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1495
    unreachable catch clause\n\
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1496
    thrown type {0} has already been caught
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1497
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1498
# 0: list of type
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1499
compiler.warn.unreachable.catch.1=\
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1500
    unreachable catch clause\n\
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1501
    thrown types {0} have already been caught
4189ac38ddc9 6558548: The compiler needs to be aligned with clarified specification of throws
mcimadamore
parents: 8635
diff changeset
  1502
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1503
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1504
compiler.warn.long.SVUID=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1505
    serialVersionUID must be of type long in class {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1506
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1507
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1508
compiler.warn.missing.SVUID=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1509
    serializable class {0} has no definition of serialVersionUID
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1510
19914
d86271bd430a 8016177: structural most specific and stuckness
vromero
parents: 19651
diff changeset
  1511
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
d86271bd430a 8016177: structural most specific and stuckness
vromero
parents: 19651
diff changeset
  1512
compiler.warn.potentially.ambiguous.overload=\
d86271bd430a 8016177: structural most specific and stuckness
vromero
parents: 19651
diff changeset
  1513
    {0} in {1} is potentially ambiguous with {2} in {3}
d86271bd430a 8016177: structural most specific and stuckness
vromero
parents: 19651
diff changeset
  1514
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1515
# 0: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1516
compiler.warn.override.varargs.missing=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1517
    {0}; overridden method has no ''...''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1518
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1519
# 0: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1520
compiler.warn.override.varargs.extra=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1521
    {0}; overriding method is missing ''...''
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1522
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1523
compiler.warn.override.bridge=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1524
    {0}; overridden method is a bridge method
06bc494ca11e Initial load
duke
parents:
diff changeset
  1525
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1526
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1527
compiler.warn.pkg-info.already.seen=\
4692
4df6242d3940 6307206: missing lint control for pkg-info
jjg
parents: 4142
diff changeset
  1528
    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
  1529
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1530
# 0: file name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1531
compiler.warn.path.element.not.found=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1532
    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
  1533
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1534
compiler.warn.possible.fall-through.into.case=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1535
    possible fall-through into case
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1536
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1537
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1538
compiler.warn.redundant.cast=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1539
    redundant cast to {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1540
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1541
# 0: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1542
compiler.warn.position.overflow=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1543
    Position encoding overflows at line {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1544
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1545
# 0: file name, 1: number, 2: number
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1546
compiler.warn.big.major.version=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1547
    {0}: major version {1} is newer than {2}, the highest major version supported by this compiler.\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1548
    It is recommended that the compiler be upgraded.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1549
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1550
# 0: symbol kind, 1: symbol
5002
12a9e8562200 4880220: Add a warning when accessing a static method via an reference
jjg
parents: 4692
diff changeset
  1551
compiler.warn.static.not.qualified.by.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1552
    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
  1553
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1554
# 0: string
7335
8b390fd27190 6900037: javac should warn if earlier -source is used and bootclasspath not set
jjg
parents: 7330
diff changeset
  1555
compiler.warn.source.no.bootclasspath=\
8b390fd27190 6900037: javac should warn if earlier -source is used and bootclasspath not set
jjg
parents: 7330
diff changeset
  1556
    bootstrap class path not set in conjunction with -source {0}
8b390fd27190 6900037: javac should warn if earlier -source is used and bootclasspath not set
jjg
parents: 7330
diff changeset
  1557
19508
e2cd0ed6c9b0 8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents: 19502
diff changeset
  1558
# 0: string
e2cd0ed6c9b0 8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents: 19502
diff changeset
  1559
compiler.warn.option.obsolete.source=\
e2cd0ed6c9b0 8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents: 19502
diff changeset
  1560
    source value {0} is obsolete and will be removed in a future release
e2cd0ed6c9b0 8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents: 19502
diff changeset
  1561
e2cd0ed6c9b0 8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents: 19502
diff changeset
  1562
# 0: string
e2cd0ed6c9b0 8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents: 19502
diff changeset
  1563
compiler.warn.option.obsolete.target=\
e2cd0ed6c9b0 8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents: 19502
diff changeset
  1564
    target value {0} is obsolete and will be removed in a future release
e2cd0ed6c9b0 8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents: 19502
diff changeset
  1565
25445
603f0c93d5c9 8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents: 25283
diff changeset
  1566
# 0: string, 1: string
603f0c93d5c9 8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents: 25283
diff changeset
  1567
compiler.err.option.removed.source=\
603f0c93d5c9 8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents: 25283
diff changeset
  1568
    Source option {0} is no longer supported. Use {1} or later.
603f0c93d5c9 8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents: 25283
diff changeset
  1569
603f0c93d5c9 8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents: 25283
diff changeset
  1570
# 0: string, 1: string
603f0c93d5c9 8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents: 25283
diff changeset
  1571
compiler.err.option.removed.target=\
603f0c93d5c9 8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents: 25283
diff changeset
  1572
    Target option {0} is no longer supported. Use {1} or later.
603f0c93d5c9 8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents: 25283
diff changeset
  1573
19508
e2cd0ed6c9b0 8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents: 19502
diff changeset
  1574
compiler.warn.option.obsolete.suppression=\
e2cd0ed6c9b0 8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents: 19502
diff changeset
  1575
    To suppress warnings about obsolete options, use -Xlint:-options.
e2cd0ed6c9b0 8011043: Warn about use of 1.5 and earlier source and target values
darcy
parents: 19502
diff changeset
  1576
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1577
# 0: name, 1: number, 2: number, 3: number, 4: number
7624
c31b0ea95b37 6999210: javac should be able to warn of anomalous conditions in classfiles
jjg
parents: 7335
diff changeset
  1578
compiler.warn.future.attr=\
c31b0ea95b37 6999210: javac should be able to warn of anomalous conditions in classfiles
jjg
parents: 7335
diff changeset
  1579
    {0} attribute introduced in version {1}.{2} class files is ignored in version {3}.{4} class files
c31b0ea95b37 6999210: javac should be able to warn of anomalous conditions in classfiles
jjg
parents: 7335
diff changeset
  1580
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1581
# Warnings related to annotation processing
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1582
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1583
compiler.warn.proc.package.does.not.exist=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1584
    package {0} does not exist
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1585
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1586
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1587
compiler.warn.proc.file.reopening=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1588
    Attempt to create a file for ''{0}'' multiple times
06bc494ca11e Initial load
duke
parents:
diff changeset
  1589
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1590
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1591
compiler.warn.proc.type.already.exists=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1592
    A file for type ''{0}'' already exists on the sourcepath or classpath
06bc494ca11e Initial load
duke
parents:
diff changeset
  1593
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1594
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1595
compiler.warn.proc.type.recreate=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1596
    Attempt to create a file for type ''{0}'' multiple times
06bc494ca11e Initial load
duke
parents:
diff changeset
  1597
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1598
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1599
compiler.warn.proc.illegal.file.name=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1600
    Cannot create file for illegal name ''{0}''.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1601
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1602
# 0: string, 1: string
6157
218670cd9b1c 6972556: warning for using a file name instead of a binary name for Filer.createSourceFile
jjg
parents: 6151
diff changeset
  1603
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
  1604
    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
  1605
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1606
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1607
compiler.warn.proc.file.create.last.round=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1608
    File for type ''{0}'' created in the last round will not be subject to annotation processing.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1609
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1610
# 0: string, 1: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1611
compiler.warn.proc.malformed.supported.string=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1612
    Malformed string ''{0}'' for a supported annotation type returned by processor ''{1}''
06bc494ca11e Initial load
duke
parents:
diff changeset
  1613
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1614
# 0: set of string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1615
compiler.warn.proc.annotations.without.processors=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1616
    No processor claimed any of these annotations: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1617
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1618
# 0: source version, 1: string, 2: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1619
compiler.warn.proc.processor.incompatible.source.version=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1620
    Supported source version ''{0}'' from annotation processor ''{1}'' less than -source ''{2}''
06bc494ca11e Initial load
duke
parents:
diff changeset
  1621
06bc494ca11e Initial load
duke
parents:
diff changeset
  1622
compiler.warn.proc.proc-only.requested.no.procs=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1623
    Annotation processing without compilation requested but no processors were found.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1624
06bc494ca11e Initial load
duke
parents:
diff changeset
  1625
compiler.warn.proc.use.implicit=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1626
    Implicitly compiled files were not subject to annotation processing.\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1627
    Use -implicit to specify a policy for implicit compilation.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1628
06bc494ca11e Initial load
duke
parents:
diff changeset
  1629
compiler.warn.proc.use.proc.or.implicit=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1630
    Implicitly compiled files were not subject to annotation processing.\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1631
    Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1632
06bc494ca11e Initial load
duke
parents:
diff changeset
  1633
# Print a client-generated warning; assumed to be localized, no translation required
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1634
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1635
compiler.warn.proc.messager=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1636
    {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1637
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1638
# 0: set of name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1639
compiler.warn.proc.unclosed.type.files=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1640
    Unclosed files for the types ''{0}''; these types will not undergo annotation processing
06bc494ca11e Initial load
duke
parents:
diff changeset
  1641
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1642
# 0: string
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1643
compiler.warn.proc.unmatched.processor.options=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1644
    The following options were not recognized by any processor: ''{0}''
06bc494ca11e Initial load
duke
parents:
diff changeset
  1645
7211
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  1646
compiler.warn.try.explicit.close.call=\
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  1647
    explicit call to close() on an auto-closeable resource
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1648
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1649
# 0: symbol
7211
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  1650
compiler.warn.try.resource.not.referenced=\
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  1651
    auto-closeable resource {0} is never referenced in body of corresponding try statement
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1652
9076
45c73da050e9 7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents: 9074
diff changeset
  1653
# 0: type
45c73da050e9 7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents: 9074
diff changeset
  1654
compiler.warn.try.resource.throws.interrupted.exc=\
45c73da050e9 7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents: 9074
diff changeset
  1655
    auto-closeable resource {0} has a member method close() that could throw InterruptedException
45c73da050e9 7027157: Project Coin: javac warnings for AutoCloseable.close throwing InterruptedException
mcimadamore
parents: 9074
diff changeset
  1656
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1657
compiler.warn.unchecked.assign=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1658
    unchecked assignment: {0} to {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1659
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1660
# 0: symbol, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1661
compiler.warn.unchecked.assign.to.var=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1662
    unchecked assignment to variable {0} as member of raw type {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1663
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1664
# 0: symbol, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1665
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
  1666
    unchecked call to {0} as a member of the raw type {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1667
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1668
compiler.warn.unchecked.cast.to.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1669
    unchecked cast to type {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1670
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1671
# 0: symbol kind, 1: name, 2: list of type, 3: list of type, 4: symbol kind, 5: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1672
compiler.warn.unchecked.meth.invocation.applied=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1673
    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
  1674
    required: {2}\n\
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  1675
    found: {3}
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  1676
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1677
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1678
compiler.warn.unchecked.generic.array.creation=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1679
    unchecked generic array creation for varargs parameter of type {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1680
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1681
# 0: type
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1682
compiler.warn.unchecked.varargs.non.reifiable.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1683
    Possible heap pollution from parameterized vararg type {0}
5846
6df0e6bcb388 6945418: Project Coin: Simplified Varargs Method Invocation
mcimadamore
parents: 5520
diff changeset
  1684
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1685
# 0: symbol
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1686
compiler.warn.varargs.unsafe.use.varargs.param=\
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1687
    Varargs method could cause heap pollution from non-reifiable varargs parameter {0}
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1688
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1689
compiler.warn.missing.deprecated.annotation=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1690
    deprecated item is not annotated with @Deprecated
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1691
40313
a85f92c9a8ab 8068626: Add javac lint warning when the @Deprecated annotation is used where it is a no-op
sadayapalam
parents: 40308
diff changeset
  1692
# 0: symbol kind
a85f92c9a8ab 8068626: Add javac lint warning when the @Deprecated annotation is used where it is a no-op
sadayapalam
parents: 40308
diff changeset
  1693
compiler.warn.deprecated.annotation.has.no.effect=\
a85f92c9a8ab 8068626: Add javac lint warning when the @Deprecated annotation is used where it is a no-op
sadayapalam
parents: 40308
diff changeset
  1694
    @Deprecated annotation has no effect on this {0} declaration
a85f92c9a8ab 8068626: Add javac lint warning when the @Deprecated annotation is used where it is a no-op
sadayapalam
parents: 40308
diff changeset
  1695
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1696
compiler.warn.invalid.archive.file=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1697
    Unexpected file on path: {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1698
06bc494ca11e Initial load
duke
parents:
diff changeset
  1699
compiler.warn.unexpected.archive.file=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1700
    Unexpected extension for archive file: {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1701
40513
39b67170b045 8153391: an image created for \"jdk.compiler\" fails to run javac
jlahoda
parents: 40502
diff changeset
  1702
# 0: path
39b67170b045 8153391: an image created for \"jdk.compiler\" fails to run javac
jlahoda
parents: 40502
diff changeset
  1703
compiler.err.no.zipfs.for.archive=\
39b67170b045 8153391: an image created for \"jdk.compiler\" fails to run javac
jlahoda
parents: 40502
diff changeset
  1704
    No file system provider is available to handle this file: {0}
39b67170b045 8153391: an image created for \"jdk.compiler\" fails to run javac
jlahoda
parents: 40502
diff changeset
  1705
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1706
compiler.warn.div.zero=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1707
    division by zero
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1708
06bc494ca11e Initial load
duke
parents:
diff changeset
  1709
compiler.warn.empty.if=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1710
    empty statement after if
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1711
06bc494ca11e Initial load
duke
parents:
diff changeset
  1712
compiler.warn.annotation.method.not.found=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1713
    Cannot find annotation method ''{1}()'' in type ''{0}''
06bc494ca11e Initial load
duke
parents:
diff changeset
  1714
06bc494ca11e Initial load
duke
parents:
diff changeset
  1715
compiler.warn.annotation.method.not.found.reason=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1716
    Cannot find annotation method ''{1}()'' in type ''{0}'': {2}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1717
9603
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1718
# 0: symbol, 1: name
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1719
compiler.warn.unknown.enum.constant=\
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1720
    unknown enum constant {1}.{2}
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1721
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1722
# 0: symbol, 1: name, 2: message segment
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1723
compiler.warn.unknown.enum.constant.reason=\
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1724
    unknown enum constant {1}.{2}\n\
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1725
    reason: {3}
fa337b87574b 6550655: com.sun.tools.javac.code.Symbol$CompletionFailure
mcimadamore
parents: 9077
diff changeset
  1726
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1727
# 0: type, 1: type
1358
a51c5f89f8af 6747671: -Xlint:rawtypes
mcimadamore
parents: 1357
diff changeset
  1728
compiler.warn.raw.class.use=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1729
    found raw type: {0}\n\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1730
    missing type arguments for generic class {1}
1358
a51c5f89f8af 6747671: -Xlint:rawtypes
mcimadamore
parents: 1357
diff changeset
  1731
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1732
# 0: unused, 1: unused
7081
94cfc5b65bed 6939780: add a warning to detect diamond sites
mcimadamore
parents: 7072
diff changeset
  1733
compiler.warn.diamond.redundant.args=\
28142
32a6b1af81b1 8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents: 27991
diff changeset
  1734
    Redundant type arguments in new expression (use diamond operator instead).
32a6b1af81b1 8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents: 27991
diff changeset
  1735
32a6b1af81b1 8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents: 27991
diff changeset
  1736
compiler.warn.potential.lambda.found=\
32a6b1af81b1 8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents: 27991
diff changeset
  1737
    This anonymous inner class creation can be turned into a lambda expression.
32a6b1af81b1 8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents: 27991
diff changeset
  1738
32a6b1af81b1 8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents: 27991
diff changeset
  1739
compiler.warn.method.redundant.typeargs=\
32a6b1af81b1 8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents: 27991
diff changeset
  1740
    Redundant type arguments in method call.
32a6b1af81b1 8064365: Better support for finder capabilities in target-typing context
mcimadamore
parents: 27991
diff changeset
  1741
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1742
# 0: symbol, 1: message segment
7643
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1743
compiler.warn.varargs.redundant.trustme.anno=\
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1744
    Redundant {0} annotation. {1}
a067a0cda531 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
mcimadamore
parents: 7624
diff changeset
  1745
24219
e7dc661cafae 8029102: Enhance compiler warnings for Lambda
vromero
parents: 24068
diff changeset
  1746
# 0: symbol
41629
9d203cde7d84 8026721: Enhance Lambda serialization
vromero
parents: 41444
diff changeset
  1747
compiler.warn.access.to.member.from.serializable.element=\
9d203cde7d84 8026721: Enhance Lambda serialization
vromero
parents: 41444
diff changeset
  1748
    access to member {0} from serializable element can be publicly accessible to untrusted code
9d203cde7d84 8026721: Enhance Lambda serialization
vromero
parents: 41444
diff changeset
  1749
9d203cde7d84 8026721: Enhance Lambda serialization
vromero
parents: 41444
diff changeset
  1750
# 0: symbol
9d203cde7d84 8026721: Enhance Lambda serialization
vromero
parents: 41444
diff changeset
  1751
compiler.warn.access.to.member.from.serializable.lambda=\
9d203cde7d84 8026721: Enhance Lambda serialization
vromero
parents: 41444
diff changeset
  1752
    access to member {0} from serializable lambda can be publicly accessible to untrusted code
24219
e7dc661cafae 8029102: Enhance compiler warnings for Lambda
vromero
parents: 24068
diff changeset
  1753
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1754
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1755
06bc494ca11e Initial load
duke
parents:
diff changeset
  1756
## The following are tokens which are non-terminals in the language. They should
06bc494ca11e Initial load
duke
parents:
diff changeset
  1757
## be named as JLS3 calls them when translated to the appropriate language.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1758
compiler.misc.token.identifier=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1759
    <identifier>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1760
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1761
compiler.misc.token.character=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1762
    <character>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1763
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1764
compiler.misc.token.string=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1765
    <string>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1766
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1767
compiler.misc.token.integer=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1768
    <integer>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1769
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1770
compiler.misc.token.long-integer=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1771
    <long integer>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1772
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1773
compiler.misc.token.float=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1774
    <float>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1775
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1776
compiler.misc.token.double=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1777
    <double>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1778
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1779
compiler.misc.token.bad-symbol=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1780
    <bad symbol>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1781
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1782
compiler.misc.token.end-of-input=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1783
    <end of input>
06bc494ca11e Initial load
duke
parents:
diff changeset
  1784
06bc494ca11e Initial load
duke
parents:
diff changeset
  1785
## The argument to the following string will always be one of the following:
06bc494ca11e Initial load
duke
parents:
diff changeset
  1786
## 1. one of the above non-terminals
06bc494ca11e Initial load
duke
parents:
diff changeset
  1787
## 2. a keyword (JLS1.8)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1788
## 3. a boolean literal (JLS3.10.3)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1789
## 4. the null literal (JLS3.10.7)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1790
## 5. a Java separator (JLS3.11)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1791
## 6. an operator (JLS3.12)
06bc494ca11e Initial load
duke
parents:
diff changeset
  1792
##
06bc494ca11e Initial load
duke
parents:
diff changeset
  1793
## This is the only place these tokens will be used.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1794
# 0: token
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1795
compiler.err.expected=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1796
    {0} expected
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1797
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1798
# 0: token, 1: token
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1799
compiler.err.expected2=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1800
    {0} or {1} expected
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1801
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1802
# 0: token, 1: token, 2: token
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1803
compiler.err.expected3=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1804
    {0}, {1}, or {2} expected
06bc494ca11e Initial load
duke
parents:
diff changeset
  1805
06bc494ca11e Initial load
duke
parents:
diff changeset
  1806
compiler.err.premature.eof=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1807
    reached end of file while parsing
06bc494ca11e Initial load
duke
parents:
diff changeset
  1808
06bc494ca11e Initial load
duke
parents:
diff changeset
  1809
## The following are related in form, but do not easily fit the above paradigm.
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  1810
compiler.err.expected.module=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  1811
    ''module'' expected
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  1812
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1813
compiler.err.dot.class.expected=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1814
    ''.class'' expected
06bc494ca11e Initial load
duke
parents:
diff changeset
  1815
06bc494ca11e Initial load
duke
parents:
diff changeset
  1816
## The argument to this string will always be either 'case' or 'default'.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1817
# 0: token
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1818
compiler.err.orphaned=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1819
    orphaned {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1820
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1821
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1822
compiler.misc.anonymous.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1823
    <anonymous {0}>
06bc494ca11e Initial load
duke
parents:
diff changeset
  1824
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1825
# 0: name, 1: type
1357
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
  1826
compiler.misc.type.captureof=\
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
  1827
    capture#{0} of {1}
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
  1828
2221
cd6557bcaa0a 6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents: 2085
diff changeset
  1829
compiler.misc.type.captureof.1=\
cd6557bcaa0a 6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents: 2085
diff changeset
  1830
    capture#{0}
cd6557bcaa0a 6799605: Basic/Raw formatters should use type/symbol printer instead of toString()
mcimadamore
parents: 2085
diff changeset
  1831
1357
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
  1832
compiler.misc.type.none=\
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
  1833
    <none>
e2d4f3e1f805 6735840: Need a type/symbol visitor printer
mcimadamore
parents: 1045
diff changeset
  1834
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1835
compiler.misc.unnamed.package=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1836
    unnamed package
06bc494ca11e Initial load
duke
parents:
diff changeset
  1837
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1838
compiler.misc.unnamed.module=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1839
    unnamed module
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1840
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1841
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1842
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1843
# 0: symbol, 1: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1844
compiler.err.cant.access=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1845
    cannot access {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1846
    {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1847
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
  1848
# 0: name
23790
0697e38017ec 6898851: Compiling against this corrupt class file causes a stacktrace from javac
pgovereau
parents: 23133
diff changeset
  1849
compiler.misc.bad.class.file=\
0697e38017ec 6898851: Compiling against this corrupt class file causes a stacktrace from javac
pgovereau
parents: 23133
diff changeset
  1850
    class file is invalid for class {0}
0697e38017ec 6898851: Compiling against this corrupt class file causes a stacktrace from javac
pgovereau
parents: 23133
diff changeset
  1851
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
  1852
# 0: file name, 1: string (expected constant pool entry type), 2: number (constant pool index)
24068
d8a1180faaa9 8038023: Compiler crash ClassCastException
pgovereau
parents: 24066
diff changeset
  1853
compiler.misc.bad.const.pool.entry=\
d8a1180faaa9 8038023: Compiler crash ClassCastException
pgovereau
parents: 24066
diff changeset
  1854
    bad constant pool entry in {0}\n\
d8a1180faaa9 8038023: Compiler crash ClassCastException
pgovereau
parents: 24066
diff changeset
  1855
    expected {1} at index {2}
d8a1180faaa9 8038023: Compiler crash ClassCastException
pgovereau
parents: 24066
diff changeset
  1856
21006
534673718919 8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents: 20609
diff changeset
  1857
# 0: file name, 1: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1858
compiler.misc.bad.class.file.header=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1859
    bad class file: {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1860
    {1}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1861
    Please remove or make sure it appears in the correct subdirectory of the classpath.
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1862
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1863
# 0: file name, 1: message segment
169
ff76730e430e 6668794: javac puts localized text in raw diagnostics
jjg
parents: 10
diff changeset
  1864
compiler.misc.bad.source.file.header=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1865
    bad source file: {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1866
    {1}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1867
    Please remove or make sure it appears in the correct subdirectory of the sourcepath.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1868
06bc494ca11e Initial load
duke
parents:
diff changeset
  1869
## The following are all possible strings for the second argument ({1}) of the
06bc494ca11e Initial load
duke
parents:
diff changeset
  1870
## above strings.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1871
compiler.misc.bad.class.signature=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1872
    bad class signature: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1873
9077
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
  1874
#0: symbol, 1: symbol
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
  1875
compiler.misc.bad.enclosing.class=\
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
  1876
    bad enclosing class for {0}: {1}
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
  1877
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
  1878
# 0: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1879
compiler.misc.bad.enclosing.method=\
9077
6ee59e40b258 7031108: NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
jjg
parents: 9076
diff changeset
  1880
    bad enclosing method attribute for class {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1881
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1882
compiler.misc.bad.runtime.invisible.param.annotations=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1883
    bad RuntimeInvisibleParameterAnnotations attribute: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1884
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1885
compiler.misc.bad.const.pool.tag=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1886
    bad constant pool tag: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1887
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1888
compiler.misc.bad.const.pool.tag.at=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1889
    bad constant pool tag: {0} at {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1890
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1891
compiler.misc.bad.signature=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1892
    bad signature: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1893
15385
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  1894
compiler.misc.bad.type.annotation.value=\
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  1895
    bad type annotation target type value: {0}
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  1896
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1897
compiler.misc.bad.module-info.name=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1898
    bad class name
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1899
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1900
compiler.misc.class.file.wrong.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1901
    class file contains wrong class: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1902
39361
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents: 38827
diff changeset
  1903
compiler.misc.module.info.invalid.super.class=\
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents: 38827
diff changeset
  1904
    module-info with invalid super class
cd0aca7db174 8159439: javac throws NPE with Module attribute and super_class != 0
vromero
parents: 38827
diff changeset
  1905
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1906
compiler.misc.class.file.not.found=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1907
    class file for {0} not found
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1908
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
  1909
# 0: string (classfile major version), 1: string (classfile minor version)
21006
534673718919 8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents: 20609
diff changeset
  1910
compiler.misc.invalid.default.interface=\
534673718919 8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents: 20609
diff changeset
  1911
    default method found in version {0}.{1} classfile
534673718919 8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents: 20609
diff changeset
  1912
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
  1913
# 0: string (classfile major version), 1: string (classfile minor version)
21006
534673718919 8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents: 20609
diff changeset
  1914
compiler.misc.invalid.static.interface=\
534673718919 8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents: 20609
diff changeset
  1915
    static method found in version {0}.{1} classfile
534673718919 8025087: Annotation processing api returns default modifier for interface static method
jlahoda
parents: 20609
diff changeset
  1916
40502
59dadf1bedbe 8157512: AssertionError in javac when module-info < v53.0
sadayapalam
parents: 40501
diff changeset
  1917
# 0: string (classfile major version), 1: string (classfile minor version)
59dadf1bedbe 8157512: AssertionError in javac when module-info < v53.0
sadayapalam
parents: 40501
diff changeset
  1918
compiler.misc.anachronistic.module.info=\
59dadf1bedbe 8157512: AssertionError in javac when module-info < v53.0
sadayapalam
parents: 40501
diff changeset
  1919
    module declaration found in version {0}.{1} classfile
59dadf1bedbe 8157512: AssertionError in javac when module-info < v53.0
sadayapalam
parents: 40501
diff changeset
  1920
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1921
# 0: name
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1922
compiler.misc.file.doesnt.contain.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1923
    file does not contain class {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1924
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1925
compiler.misc.file.does.not.contain.package=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1926
    file does not contain package {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1927
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1928
compiler.misc.file.does.not.contain.module=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1929
    file does not contain module declaration
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  1930
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1931
compiler.misc.illegal.start.of.class.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1932
    illegal start of class file
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1933
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1934
compiler.misc.unable.to.access.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1935
    unable to access file: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1936
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1937
compiler.misc.unicode.str.not.supported=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1938
    unicode string in class file not supported
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1939
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1940
compiler.misc.undecl.type.var=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1941
    undeclared type variable: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1942
29551
cad66be66e2e 8071847: java.lang.NullPointerException at com.sun.tools.javac.code.Types.elemtype(Types.java:1870)
sadayapalam
parents: 29293
diff changeset
  1943
compiler.misc.malformed.vararg.method=\
cad66be66e2e 8071847: java.lang.NullPointerException at com.sun.tools.javac.code.Types.elemtype(Types.java:1870)
sadayapalam
parents: 29293
diff changeset
  1944
    class file contains malformed variable arity method: {0}
cad66be66e2e 8071847: java.lang.NullPointerException at com.sun.tools.javac.code.Types.elemtype(Types.java:1870)
sadayapalam
parents: 29293
diff changeset
  1945
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1946
compiler.misc.wrong.version=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1947
    class file has wrong version {0}.{1}, should be {2}.{3}
06bc494ca11e Initial load
duke
parents:
diff changeset
  1948
06bc494ca11e Initial load
duke
parents:
diff changeset
  1949
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1950
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1951
# 0: type, 1: type or symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1952
compiler.err.not.within.bounds=\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  1953
    type argument {0} is not within bounds of type-variable {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1954
06bc494ca11e Initial load
duke
parents:
diff changeset
  1955
## The following are all possible strings for the second argument ({1}) of the
06bc494ca11e Initial load
duke
parents:
diff changeset
  1956
## above string.
06bc494ca11e Initial load
duke
parents:
diff changeset
  1957
06bc494ca11e Initial load
duke
parents:
diff changeset
  1958
## none yet...
06bc494ca11e Initial load
duke
parents:
diff changeset
  1959
06bc494ca11e Initial load
duke
parents:
diff changeset
  1960
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  1961
13438
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  1962
# 0: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1963
compiler.err.prob.found.req=\
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1964
    incompatible types: {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1965
17582
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 17578
diff changeset
  1966
# 0: message segment
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 17578
diff changeset
  1967
compiler.misc.prob.found.req=\
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 17578
diff changeset
  1968
    incompatible types: {0}
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 17578
diff changeset
  1969
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1970
# 0: message segment, 1: type, 2: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1971
compiler.warn.prob.found.req=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1972
    {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1973
    required: {2}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1974
    found:    {1}
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1975
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1976
# 0: type, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1977
compiler.misc.inconvertible.types=\
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1978
    {0} cannot be converted to {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1979
13438
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  1980
# 0: type, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1981
compiler.misc.possible.loss.of.precision=\
13438
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  1982
    possible lossy conversion from {0} to {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1983
06bc494ca11e Initial load
duke
parents:
diff changeset
  1984
compiler.misc.unchecked.assign=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1985
    unchecked conversion
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  1986
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1987
# compiler.misc.storecheck=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1988
#     assignment might cause later store checks to fail
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1989
# compiler.misc.unchecked=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1990
#     assigned array cannot dynamically check its stores
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1991
compiler.misc.unchecked.cast.to.type=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  1992
    unchecked cast
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  1993
06bc494ca11e Initial load
duke
parents:
diff changeset
  1994
# compiler.err.star.expected=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1995
#     ''*'' expected
06bc494ca11e Initial load
duke
parents:
diff changeset
  1996
# compiler.err.no.elem.type=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  1997
#     \[\*\] cannot have a type
06bc494ca11e Initial load
duke
parents:
diff changeset
  1998
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  1999
# 0: type
7211
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  2000
compiler.misc.try.not.applicable.to.type=\
13438
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2001
    try-with-resources not applicable to variable type\n\
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2002
    ({0})
7211
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  2003
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2004
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  2005
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2006
# 0: message segment or type, 1: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2007
compiler.err.type.found.req=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2008
    unexpected type\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2009
    required: {1}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2010
    found:    {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2011
06bc494ca11e Initial load
duke
parents:
diff changeset
  2012
## The following are all possible strings for the first argument ({0}) of the
06bc494ca11e Initial load
duke
parents:
diff changeset
  2013
## above string.
06bc494ca11e Initial load
duke
parents:
diff changeset
  2014
compiler.misc.type.req.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2015
    class
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2016
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2017
compiler.misc.type.req.class.array=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2018
    class or array
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2019
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2020
compiler.misc.type.req.array.or.iterable=\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2021
    array or java.lang.Iterable
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2022
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2023
compiler.misc.type.req.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2024
    reference
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2025
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2026
compiler.misc.type.req.exact=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2027
    class or interface without bounds
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2028
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2029
# 0: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2030
compiler.misc.type.parameter=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2031
    type parameter {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2032
06bc494ca11e Initial load
duke
parents:
diff changeset
  2033
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  2034
06bc494ca11e Initial load
duke
parents:
diff changeset
  2035
## The following are all possible strings for the last argument of all those
06bc494ca11e Initial load
duke
parents:
diff changeset
  2036
## diagnostics whose key ends in ".1"
12334
29e1bfdcba4e 7151492: Encapsulate check logic into Attr.ResultInfo
mcimadamore
parents: 11707
diff changeset
  2037
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2038
# 0: type, 1: list of type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2039
compiler.misc.no.unique.maximal.instance.exists=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2040
    no unique maximal instance exists for type variable {0} with upper bounds {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2041
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2042
compiler.misc.no.unique.minimal.instance.exists=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2043
    no unique minimal instance exists for type variable {0} with lower bounds {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2044
10628
dca7012223bc 7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents: 10626
diff changeset
  2045
# 0: type, 1: list of type
dca7012223bc 7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents: 10626
diff changeset
  2046
compiler.misc.incompatible.upper.bounds=\
dca7012223bc 7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents: 10626
diff changeset
  2047
    inference variable {0} has incompatible upper bounds {1}
dca7012223bc 7086601: Error message bug: cause for method mismatch is 'null'
mcimadamore
parents: 10626
diff changeset
  2048
30014
fc1f2b200c1f 8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents: 29960
diff changeset
  2049
# 0: type, 1: list of type
fc1f2b200c1f 8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents: 29960
diff changeset
  2050
compiler.misc.incompatible.eq.bounds=\
fc1f2b200c1f 8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents: 29960
diff changeset
  2051
    inference variable {0} has incompatible equality constraints {1}
fc1f2b200c1f 8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents: 29960
diff changeset
  2052
14048
308d1cf8fe46 7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents: 13689
diff changeset
  2053
# 0: type, 1: list of type, 2: list of type
308d1cf8fe46 7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents: 13689
diff changeset
  2054
compiler.misc.incompatible.eq.upper.bounds=\
308d1cf8fe46 7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents: 13689
diff changeset
  2055
    inference variable {0} has incompatible bounds\n\
308d1cf8fe46 7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents: 13689
diff changeset
  2056
    equality constraints: {1}\n\
308d1cf8fe46 7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents: 13689
diff changeset
  2057
    upper bounds: {2}
308d1cf8fe46 7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents: 13689
diff changeset
  2058
308d1cf8fe46 7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents: 13689
diff changeset
  2059
# 0: type, 1: list of type, 2: list of type
30014
fc1f2b200c1f 8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents: 29960
diff changeset
  2060
compiler.misc.incompatible.upper.lower.bounds=\
fc1f2b200c1f 8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents: 29960
diff changeset
  2061
    inference variable {0} has incompatible bounds\n\
fc1f2b200c1f 8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents: 29960
diff changeset
  2062
    upper bounds: {1}\n\
fc1f2b200c1f 8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents: 29960
diff changeset
  2063
    lower bounds: {2}
fc1f2b200c1f 8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents: 29960
diff changeset
  2064
fc1f2b200c1f 8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents: 29960
diff changeset
  2065
# 0: type, 1: list of type, 2: list of type
14048
308d1cf8fe46 7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents: 13689
diff changeset
  2066
compiler.misc.incompatible.eq.lower.bounds=\
308d1cf8fe46 7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents: 13689
diff changeset
  2067
    inference variable {0} has incompatible bounds\n\
308d1cf8fe46 7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents: 13689
diff changeset
  2068
    equality constraints: {1}\n\
308d1cf8fe46 7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents: 13689
diff changeset
  2069
    lower bounds: {2}
308d1cf8fe46 7177306: Regression: unchecked method call does not erase return type
mcimadamore
parents: 13689
diff changeset
  2070
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2071
# 0: list of type, 1: type, 2: type
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2072
compiler.misc.infer.no.conforming.instance.exists=\
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2073
    no instance(s) of type variable(s) {0} exist so that {1} conforms to {2}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2074
13438
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2075
# 0: list of type, 1: message segment
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2076
compiler.misc.infer.no.conforming.assignment.exists=\
13438
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2077
    cannot infer type-variable(s) {0}\n\
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2078
    (argument mismatch; {1})
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2079
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2080
# 0: list of type
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2081
compiler.misc.infer.arg.length.mismatch=\
13438
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2082
    cannot infer type-variable(s) {0}\n\
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2083
    (actual and formal argument lists differ in length)
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2084
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2085
# 0: list of type, 1: message segment
11707
532f41763bc9 7129801: Merge the two method applicability routines
mcimadamore
parents: 11383
diff changeset
  2086
compiler.misc.infer.varargs.argument.mismatch=\
13438
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2087
    cannot infer type-variable(s) {0}\n\
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2088
    (varargs mismatch; {1})
11707
532f41763bc9 7129801: Merge the two method applicability routines
mcimadamore
parents: 11383
diff changeset
  2089
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2090
# 0: type, 1: list of type
12468
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2091
compiler.misc.inferred.do.not.conform.to.upper.bounds=\
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2092
    inferred type does not conform to upper bound(s)\n\
3140
15a274b13051 6638712: Inference with wildcard types causes selection of inapplicable method
mcimadamore
parents: 2984
diff changeset
  2093
    inferred: {0}\n\
12468
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2094
    upper bound(s): {1}
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2095
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2096
# 0: type, 1: list of type
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2097
compiler.misc.inferred.do.not.conform.to.lower.bounds=\
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2098
    inferred type does not conform to lower bound(s)\n\
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2099
    inferred: {0}\n\
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2100
    lower bound(s): {1}
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2101
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2102
# 0: type, 1: list of type
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2103
compiler.misc.inferred.do.not.conform.to.eq.bounds=\
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2104
    inferred type does not conform to equality constraint(s)\n\
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2105
    inferred: {0}\n\
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2106
    equality constraints(s): {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2107
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2108
# 0: symbol
5321
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  2109
compiler.misc.diamond=\
c8efe769cb3b 6939620: Switch to 'complex' diamond inference scheme
mcimadamore
parents: 5320
diff changeset
  2110
    {0}<>
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2111
8431
21758b2bba40 7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents: 8428
diff changeset
  2112
# 0: type
21758b2bba40 7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents: 8428
diff changeset
  2113
compiler.misc.diamond.non.generic=\
21758b2bba40 7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents: 8428
diff changeset
  2114
    cannot use ''<>'' with non-generic class {0}
21758b2bba40 7020043: Project Coin: diamond allowed on non-generic type
mcimadamore
parents: 8428
diff changeset
  2115
29776
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2116
# 0: list of type, 1: message segment
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2117
compiler.misc.diamond.invalid.arg=\
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2118
    type argument {0} inferred for {1} is not allowed in this context\n\
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2119
    inferred argument is not expressible in the Signature attribute
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2120
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2121
# 0: list of type, 1: message segment
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2122
compiler.misc.diamond.invalid.args=\
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2123
    type arguments {0} inferred for {1} are not allowed in this context\n\
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2124
    inferred arguments are not expressible in the Signature attribute
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2125
11053
48713f779b1d 7108669: cleanup Log methods for direct printing to streams
jjg
parents: 10816
diff changeset
  2126
# 0: unused
9604
d7152128d22f 7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
mcimadamore
parents: 9603
diff changeset
  2127
compiler.misc.diamond.and.explicit.params=\
d7152128d22f 7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
mcimadamore
parents: 9603
diff changeset
  2128
    cannot use ''<>'' with explicit type parameters for constructor
d7152128d22f 7039931: Project Coin: diamond inference fail with generic constructor explicit type-arguments
mcimadamore
parents: 9603
diff changeset
  2129
19918
3bdf0c6b869c 8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
vromero
parents: 19914
diff changeset
  2130
# 0: unused
3bdf0c6b869c 8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
vromero
parents: 19914
diff changeset
  2131
compiler.misc.mref.infer.and.explicit.params=\
3bdf0c6b869c 8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
vromero
parents: 19914
diff changeset
  2132
    cannot use raw constructor reference with explicit type parameters for constructor
3bdf0c6b869c 8023549: Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied
vromero
parents: 19914
diff changeset
  2133
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2134
# 0: type, 1: list of type
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2135
compiler.misc.explicit.param.do.not.conform.to.bounds=\
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2136
    explicit type argument {0} does not conform to declared bound(s) {1}
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2137
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2138
compiler.misc.arg.length.mismatch=\
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2139
    actual and formal argument lists differ in length
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2140
41943
a4ee110842fb 8169093: Generics, javac not matching actual and formal arguments.
mcimadamore
parents: 41942
diff changeset
  2141
# 0: string
a4ee110842fb 8169093: Generics, javac not matching actual and formal arguments.
mcimadamore
parents: 41942
diff changeset
  2142
compiler.misc.wrong.number.type.args=\
a4ee110842fb 8169093: Generics, javac not matching actual and formal arguments.
mcimadamore
parents: 41942
diff changeset
  2143
    wrong number of type arguments; required {0}
a4ee110842fb 8169093: Generics, javac not matching actual and formal arguments.
mcimadamore
parents: 41942
diff changeset
  2144
13438
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2145
# 0: message segment
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2146
compiler.misc.no.conforming.assignment.exists=\
13438
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2147
    argument mismatch; {0}
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2148
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2149
# 0: message segment
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2150
compiler.misc.varargs.argument.mismatch=\
13438
83729994273a 7175911: Simplify error reporting API in Check.CheckContext interface
mcimadamore
parents: 12915
diff changeset
  2151
    varargs mismatch; {0}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2152
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2153
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  2154
17578
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2155
# 0: symbol or type, 1: file name
14369
3d660d08d1f7 7153951: Add new lint option -Xlint:auxiliaryclass
ohrstrom
parents: 14267
diff changeset
  2156
compiler.warn.auxiliary.class.accessed.from.outside.of.its.source.file=\
3d660d08d1f7 7153951: Add new lint option -Xlint:auxiliaryclass
ohrstrom
parents: 14267
diff changeset
  2157
    auxiliary class {0} in {1} should not be accessed from outside its own source file
3d660d08d1f7 7153951: Add new lint option -Xlint:auxiliaryclass
ohrstrom
parents: 14267
diff changeset
  2158
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2159
## The first argument ({0}) is a "kindname".
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2160
# 0: symbol kind, 1: symbol, 2: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2161
compiler.err.abstract.cant.be.accessed.directly=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2162
    abstract {0} {1} in {2} cannot be accessed directly
06bc494ca11e Initial load
duke
parents:
diff changeset
  2163
06bc494ca11e Initial load
duke
parents:
diff changeset
  2164
## The first argument ({0}) is a "kindname".
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2165
# 0: symbol kind, 1: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2166
compiler.err.non-static.cant.be.ref=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2167
    non-static {0} {1} cannot be referenced from a static context
06bc494ca11e Initial load
duke
parents:
diff changeset
  2168
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2169
# 0: symbol kind, 1: symbol
28456
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 28334
diff changeset
  2170
compiler.misc.bad.static.method.in.unbound.lookup=\
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 28334
diff changeset
  2171
    unexpected static {0} {1} found in unbound lookup
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2172
16323
c4409c235642 8008537: Missing method reference lookup error when unbound search finds a static method
mcimadamore
parents: 16320
diff changeset
  2173
# 0: symbol kind, 1: symbol
28456
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 28334
diff changeset
  2174
compiler.misc.bad.instance.method.in.unbound.lookup=\
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 28334
diff changeset
  2175
    unexpected instance {0} {1} found in unbound lookup
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 28334
diff changeset
  2176
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 28334
diff changeset
  2177
# 0: symbol kind, 1: symbol
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 28334
diff changeset
  2178
compiler.misc.bad.static.method.in.bound.lookup=\
b87fdde1404d 8068995: Cleanup method reference lookup code
mcimadamore
parents: 28334
diff changeset
  2179
    unexpected static {0} {1} found in bound lookup
16323
c4409c235642 8008537: Missing method reference lookup error when unbound search finds a static method
mcimadamore
parents: 16320
diff changeset
  2180
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2181
## Both arguments ({0}, {1}) are "kindname"s.  {0} is a comma-separated list
06bc494ca11e Initial load
duke
parents:
diff changeset
  2182
## of kindnames (the list should be identical to that provided in source.
06bc494ca11e Initial load
duke
parents:
diff changeset
  2183
compiler.err.unexpected.type=\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2184
    unexpected type\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2185
    required: {0}\n\
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2186
    found:    {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2187
14058
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
  2188
compiler.err.unexpected.lambda=\
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
  2189
   lambda expression not expected here
c7ec7facdd20 7177385: Add attribution support for lambda expressions
mcimadamore
parents: 14057
diff changeset
  2190
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2191
compiler.err.unexpected.mref=\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2192
   method reference not expected here
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2193
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2194
## 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
  2195
## 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
  2196
## 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
  2197
## The fourth argument {3} is a list of argument types (non-empty if {1} is a method)
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2198
# 0: symbol kind, 1: name, 2: unused, 3: unused
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2199
compiler.err.cant.resolve=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2200
    cannot find symbol\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2201
    symbol: {0} {1}
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2202
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2203
# 0: symbol kind, 1: name, 2: unused, 3: list of type
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2204
compiler.err.cant.resolve.args=\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2205
    cannot find symbol\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2206
    symbol: {0} {1}({3})
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2207
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2208
# 0: symbol kind, 1: name, 2: list of type, 3: list of type
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2209
compiler.err.cant.resolve.args.params=\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2210
    cannot find symbol\n\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2211
    symbol: {0} <{2}>{1}({3})
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2212
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2213
## arguments from {0} to {3} have the same meaning as above
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2214
## The fifth argument {4} is a location subdiagnostic (see below)
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2215
# 0: symbol kind, 1: name, 2: unused, 3: unused, 4: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2216
compiler.err.cant.resolve.location=\
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2217
    cannot find symbol\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  2218
    symbol:   {0} {1}\n\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2219
    location: {4}
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2220
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2221
# 0: symbol kind, 1: name, 2: unused, 3: list of type, 4: message segment
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2222
compiler.err.cant.resolve.location.args=\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2223
    cannot find symbol\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  2224
    symbol:   {0} {1}({3})\n\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2225
    location: {4}
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2226
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2227
# 0: symbol kind, 1: name, 2: list of type, 3: list, 4: message segment
939
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2228
compiler.err.cant.resolve.location.args.params=\
38e24969c7e9 6717241: some diagnostic argument is prematurely converted into a String object
mcimadamore
parents: 735
diff changeset
  2229
    cannot find symbol\n\
2085
4792e12a8ca2 6769027: Source line should be displayed immediately after the first diagnostic line
mcimadamore
parents: 1996
diff changeset
  2230
    symbol:   {0} <{2}>{1}({3})\n\
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2231
    location: {4}
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2232
14062
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2233
### Following are replicated/used for method reference diagnostics
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2234
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2235
# 0: symbol kind, 1: name, 2: unused, 3: list of type, 4: message segment
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2236
compiler.misc.cant.resolve.location.args=\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2237
    cannot find symbol\n\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2238
    symbol:   {0} {1}({3})\n\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2239
    location: {4}
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2240
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2241
# 0: symbol kind, 1: name, 2: list of type, 3: list, 4: message segment
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2242
compiler.misc.cant.resolve.location.args.params=\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2243
    cannot find symbol\n\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2244
    symbol:   {0} <{2}>{1}({3})\n\
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2245
    location: {4}
b7439971a094 7177386: Add attribution support for method references
mcimadamore
parents: 14058
diff changeset
  2246
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2247
##a location subdiagnostic is composed as follows:
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2248
## The first argument {0} is the location "kindname" (e.g. 'constructor', 'field', etc.)
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2249
## The second argument {1} is the location name
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2250
## The third argument {2} is the location type (only when {1} is a variable name)
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2251
11053
48713f779b1d 7108669: cleanup Log methods for direct printing to streams
jjg
parents: 10816
diff changeset
  2252
# 0: symbol kind, 1: type or symbol, 2: unused
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2253
compiler.misc.location=\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2254
    {0} {1}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2255
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2256
# 0: symbol kind, 1: symbol, 2: type
8045
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2257
compiler.misc.location.1=\
df2ca0edfbaa 6968793: issues with diagnostics
mcimadamore
parents: 8038
diff changeset
  2258
    {0} {1} of type {2}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2259
06bc494ca11e Initial load
duke
parents:
diff changeset
  2260
## The following are all possible string for "kindname".
06bc494ca11e Initial load
duke
parents:
diff changeset
  2261
## They should be called whatever the JLS calls them after it been translated
06bc494ca11e Initial load
duke
parents:
diff changeset
  2262
## to the appropriate language.
06bc494ca11e Initial load
duke
parents:
diff changeset
  2263
# compiler.misc.kindname.constructor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2264
#     static member
06bc494ca11e Initial load
duke
parents:
diff changeset
  2265
compiler.misc.kindname.annotation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2266
    @interface
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2267
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2268
compiler.misc.kindname.constructor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2269
    constructor
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2270
6031
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  2271
compiler.misc.kindname.enum=\
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  2272
    enum
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2273
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2274
compiler.misc.kindname.interface=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2275
    interface
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2276
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2277
compiler.misc.kindname.static=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2278
    static
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2279
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2280
compiler.misc.kindname.type.variable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2281
    type variable
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2282
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2283
compiler.misc.kindname.type.variable.bound=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2284
    bound of type variable
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2285
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2286
compiler.misc.kindname.variable=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2287
    variable
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2288
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2289
compiler.misc.kindname.value=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2290
    value
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2291
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2292
compiler.misc.kindname.method=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2293
    method
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2294
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2295
compiler.misc.kindname.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2296
    class
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2297
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2298
compiler.misc.kindname.package=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2299
    package
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2300
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2301
compiler.misc.kindname.module=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2302
    module
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2303
10626
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
  2304
compiler.misc.kindname.static.init=\
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
  2305
    static initializer
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
  2306
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
  2307
compiler.misc.kindname.instance.init=\
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
  2308
    instance initializer
83f0c2860f5b 7086595: Error message bug: name of initializer is 'null'
mcimadamore
parents: 10199
diff changeset
  2309
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2310
#####
06bc494ca11e Initial load
duke
parents:
diff changeset
  2311
1534
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  2312
compiler.misc.no.args=\
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  2313
    no arguments
e923a41e84cc 6758789: Some method resolution diagnostic should be improved
mcimadamore
parents: 1358
diff changeset
  2314
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2315
# 0: message segment
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2316
compiler.err.override.static=\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2317
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2318
    overriding method is static
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2319
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2320
# 0: message segment, 1: set of modifier
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2321
compiler.err.override.meth=\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2322
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2323
    overridden method is {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2324
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2325
# 0: message segment, 1: type
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2326
compiler.err.override.meth.doesnt.throw=\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2327
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2328
    overridden method does not throw {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2329
06bc494ca11e Initial load
duke
parents:
diff changeset
  2330
# In the following string {1} is a space separated list of Java Keywords, as
06bc494ca11e Initial load
duke
parents:
diff changeset
  2331
# they would have been declared in the source code
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2332
# 0: message segment, 1: set of modifier
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2333
compiler.err.override.weaker.access=\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2334
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2335
    attempting to assign weaker access privileges; was {1}
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2336
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2337
# 0: message segment, 1: type, 2: type
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2338
compiler.err.override.incompatible.ret=\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2339
    {0}\n\
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2340
    return type {1} is not compatible with {2}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2341
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2342
# 0: message segment, 1: type, 2: type
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2343
compiler.warn.override.unchecked.ret=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  2344
    {0}\n\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2345
    return type requires unchecked conversion from {1} to {2}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2346
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2347
# 0: message segment, 1: type
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2348
compiler.warn.override.unchecked.thrown=\
6151
dd513881e71d 6957438: improve code for generating warning messages containing option names
jjg
parents: 6148
diff changeset
  2349
    {0}\n\
3560
bbfccbd92afe 6199153: Generic throws and overriding
mcimadamore
parents: 3557
diff changeset
  2350
    overridden method does not throw {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2351
16333
a6e1ded87200 8009138: javac, equals-hashCode warning tuning
vromero
parents: 16328
diff changeset
  2352
# 0: symbol
16301
b6fd735ea78e 6563143: javac should issue a warning for overriding equals without hashCode
vromero
parents: 16294
diff changeset
  2353
compiler.warn.override.equals.but.not.hashcode=\
16320
92ba27b7aaf3 8008436: javac should not issue a warning for overriding equals without hasCode if hashCode has been overriden by a superclass
vromero
parents: 16316
diff changeset
  2354
    Class {0} overrides equals, but neither it nor any superclass overrides hashCode method
16301
b6fd735ea78e 6563143: javac should issue a warning for overriding equals without hashCode
vromero
parents: 16294
diff changeset
  2355
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2356
## The following are all possible strings for the first argument ({0}) of the
06bc494ca11e Initial load
duke
parents:
diff changeset
  2357
## above strings.
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2358
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2359
compiler.misc.cant.override=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2360
    {0} in {1} cannot override {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2361
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2362
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
33713
dc1d2632935c 8139255: javac reports "cannot override" messages instead of "cannot hide" messages for static methods
sadayapalam
parents: 30069
diff changeset
  2363
compiler.misc.cant.hide=\
dc1d2632935c 8139255: javac reports "cannot override" messages instead of "cannot hide" messages for static methods
sadayapalam
parents: 30069
diff changeset
  2364
    {0} in {1} cannot hide {2} in {3}
dc1d2632935c 8139255: javac reports "cannot override" messages instead of "cannot hide" messages for static methods
sadayapalam
parents: 30069
diff changeset
  2365
dc1d2632935c 8139255: javac reports "cannot override" messages instead of "cannot hide" messages for static methods
sadayapalam
parents: 30069
diff changeset
  2366
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2367
compiler.misc.cant.implement=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2368
    {0} in {1} cannot implement {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2369
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2370
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2371
compiler.misc.clashes.with=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2372
    {0} in {1} clashes with {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2373
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2374
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2375
compiler.misc.unchecked.override=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2376
    {0} in {1} overrides {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2377
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2378
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2379
compiler.misc.unchecked.implement=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2380
    {0} in {1} implements {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2381
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2382
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2383
compiler.misc.unchecked.clash.with=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2384
    {0} in {1} overrides {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2385
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2386
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2387
compiler.misc.varargs.override=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2388
    {0} in {1} overrides {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2389
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2390
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2391
compiler.misc.varargs.implement=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2392
    {0} in {1} implements {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2393
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2394
# 0: symbol, 1: symbol, 2: symbol, 3: symbol
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2395
compiler.misc.varargs.clash.with=\
06bc494ca11e Initial load
duke
parents:
diff changeset
  2396
    {0} in {1} overrides {2} in {3}
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2397
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2398
# 0: symbol kind, 1: symbol, 2: symbol, 3: message segment
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2399
compiler.misc.inapplicable.method=\
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2400
    {0} {1}.{2} is not applicable\n\
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2401
    ({3})
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
  2402
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2403
########################################
06bc494ca11e Initial load
duke
parents:
diff changeset
  2404
# Diagnostics for language feature changes
06bc494ca11e Initial load
duke
parents:
diff changeset
  2405
########################################
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2406
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2407
# 0: string
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2408
compiler.err.modules.not.supported.in.source=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2409
   modules are not supported in -source {0}\n\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2410
    (use -source 9 or higher to enable modules)
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2411
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2412
# 0: string
29776
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2413
compiler.misc.diamond.and.anon.class.not.supported.in.source=\
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2414
    cannot use ''<>'' with anonymous inner classes in -source {0}\n\
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2415
    (use -source 9 or higher to enable ''<>'' with anonymous inner classes)
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2416
984a79b71cfe 8062373: Project Coin: diamond and anonymous classes
sadayapalam
parents: 29551
diff changeset
  2417
# 0: string
3895
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  2418
compiler.err.unsupported.binary.lit=\
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  2419
    binary literals are not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2420
    (use -source 7 or higher to enable binary literals)
3895
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  2421
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2422
# 0: string
3895
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  2423
compiler.err.unsupported.underscore.lit=\
3b3c2a1e5e8a 6860965: Project Coin: binary literals
jjg
parents: 3765
diff changeset
  2424
    underscores in literals are not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2425
    (use -source 7 or higher to enable underscores in literals)
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2426
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2427
# 0: string
7211
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  2428
compiler.err.try.with.resources.not.supported.in.source=\
163fe60f63de 6970016: Clean up ARM/try-with-resources implementation
mcimadamore
parents: 7203
diff changeset
  2429
    try-with-resources is not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2430
    (use -source 7 or higher to enable try-with-resources)
6148
3a8158299c51 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
darcy
parents: 6145
diff changeset
  2431
27844
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents: 27387
diff changeset
  2432
# 0: string
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents: 27387
diff changeset
  2433
compiler.err.var.in.try.with.resources.not.supported.in.source=\
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents: 27387
diff changeset
  2434
    variables in try-with-resources not supported in -source {0}\n\
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents: 27387
diff changeset
  2435
    (use -source 9 or higher to enable variables in try-with-resources)
8b5d79870a2f 7196163: Project Coin: Allow effectively final variables to be used as resources in try-with-resources
jlahoda
parents: 27387
diff changeset
  2436
15367
31b57f2b8d0b 8005852: Treatment of '_' as identifier
mcimadamore
parents: 15361
diff changeset
  2437
compiler.warn.underscore.as.identifier=\
27991
8f4b68523da3 8061549: Disallow _ as a one-character identifier
jlahoda
parents: 27844
diff changeset
  2438
    as of release 9, ''_'' is a keyword, and may not be used as an identifier
8f4b68523da3 8061549: Disallow _ as a one-character identifier
jlahoda
parents: 27844
diff changeset
  2439
8f4b68523da3 8061549: Disallow _ as a one-character identifier
jlahoda
parents: 27844
diff changeset
  2440
compiler.err.underscore.as.identifier=\
8f4b68523da3 8061549: Disallow _ as a one-character identifier
jlahoda
parents: 27844
diff changeset
  2441
    as of release 9, ''_'' is a keyword, and may not be used as an identifier
15367
31b57f2b8d0b 8005852: Treatment of '_' as identifier
mcimadamore
parents: 15361
diff changeset
  2442
20609
dce669916b62 8023679: Improve error message for '_' used as a lambda parameter name
vromero
parents: 19918
diff changeset
  2443
compiler.err.underscore.as.identifier.in.lambda=\
dce669916b62 8023679: Improve error message for '_' used as a lambda parameter name
vromero
parents: 19918
diff changeset
  2444
    ''_'' used as an identifier\n\
dce669916b62 8023679: Improve error message for '_' used as a lambda parameter name
vromero
parents: 19918
diff changeset
  2445
    (use of ''_'' as an identifier is forbidden for lambda parameters)
dce669916b62 8023679: Improve error message for '_' used as a lambda parameter name
vromero
parents: 19918
diff changeset
  2446
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2447
compiler.err.enum.as.identifier=\
25445
603f0c93d5c9 8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents: 25283
diff changeset
  2448
    as of release 5, ''enum'' is a keyword, and may not be used as an identifier
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2449
06bc494ca11e Initial load
duke
parents:
diff changeset
  2450
compiler.err.assert.as.identifier=\
25445
603f0c93d5c9 8011044: Remove support for 1.5 and earlier source and target options
ntoda
parents: 25283
diff changeset
  2451
    as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier
10
06bc494ca11e Initial load
duke
parents:
diff changeset
  2452
15385
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2453
# TODO 308: make a better error message
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2454
compiler.err.this.as.identifier=\
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2455
    as of release 8, ''this'' is allowed as the parameter name for the receiver type only, which has to be the first parameter
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2456
17578
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2457
# 0: symbol
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2458
compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2459
    receiver parameter not applicable for constructor of top-level class
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2460
15385
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2461
# TODO 308: make a better error message
21041
99f5e5e97425 8026564: import changes from type-annotations forest
jjg
parents: 21009
diff changeset
  2462
# 0: symbol
99f5e5e97425 8026564: import changes from type-annotations forest
jjg
parents: 21009
diff changeset
  2463
compiler.err.cant.type.annotate.scoping.1=\
99f5e5e97425 8026564: import changes from type-annotations forest
jjg
parents: 21009
diff changeset
  2464
    scoping construct cannot be annotated with type-use annotation: {0}
17578
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2465
15385
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2466
# TODO 308: make a better error message
21041
99f5e5e97425 8026564: import changes from type-annotations forest
jjg
parents: 21009
diff changeset
  2467
# 0: list of symbol
99f5e5e97425 8026564: import changes from type-annotations forest
jjg
parents: 21009
diff changeset
  2468
compiler.err.cant.type.annotate.scoping=\
99f5e5e97425 8026564: import changes from type-annotations forest
jjg
parents: 21009
diff changeset
  2469
    scoping construct cannot be annotated with type-use annotations: {0}
15385
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2470
17578
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2471
# 0: type, 1: type
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2472
compiler.err.incorrect.receiver.name=\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2473
    the receiver name does not match the enclosing class type\n\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2474
    required: {0}\n\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2475
    found: {1}
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2476
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2477
# 0: type, 1: type
15385
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2478
compiler.err.incorrect.receiver.type=\
17578
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2479
    the receiver type does not match the enclosing class type\n\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2480
    required: {0}\n\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2481
    found: {1}
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2482
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2483
# 0: type, 1: type
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2484
compiler.err.incorrect.constructor.receiver.type=\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2485
    the receiver type does not match the enclosing outer class type\n\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2486
    required: {0}\n\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2487
    found: {1}
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2488
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2489
# 0: type, 1: type
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2490
compiler.err.incorrect.constructor.receiver.name=\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2491
    the receiver name does not match the enclosing outer class type\n\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2492
    required: {0}\n\
46ac954e4a84 8013852: update reference impl for type-annotations
jjg
parents: 16809
diff changeset
  2493
    found: {1}
15385
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2494
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2495
compiler.err.no.annotations.on.dot.class=\
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2496
    no annotations are allowed in the type of a class literal
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2497
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2498
# 0: string
15385
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2499
compiler.err.type.annotations.not.supported.in.source=\
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2500
    type annotations are not supported in -source {0}\n\
ee1eebe7e210 8006775: JSR 308: Compiler changes in JDK8
jjg
parents: 15377
diff changeset
  2501
(use -source 8 or higher to enable type annotations)
3149
0cd06d598d6f 6843077: JSR 308: Annotations on types
jjg
parents: 3140
diff changeset
  2502
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2503
# 0: string
23800
f7ffcfe938f2 8035890: jdk8 javac -source 7 compiles test case it should not
jlahoda
parents: 23790
diff changeset
  2504
compiler.err.annotations.after.type.params.not.supported.in.source=\
f7ffcfe938f2 8035890: jdk8 javac -source 7 compiles test case it should not
jlahoda
parents: 23790
diff changeset
  2505
    annotations after method type parameters are not supported in -source {0}\n\
f7ffcfe938f2 8035890: jdk8 javac -source 7 compiles test case it should not
jlahoda
parents: 23790
diff changeset
  2506
(use -source 8 or higher to enable annotations after method type parameters)
f7ffcfe938f2 8035890: jdk8 javac -source 7 compiles test case it should not
jlahoda
parents: 23790
diff changeset
  2507
f7ffcfe938f2 8035890: jdk8 javac -source 7 compiles test case it should not
jlahoda
parents: 23790
diff changeset
  2508
# 0: string
21009
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
  2509
compiler.err.repeatable.annotations.not.supported.in.source=\
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
  2510
    repeated annotations are not supported in -source {0}\n\
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
  2511
(use -source 8 or higher to enable repeated annotations)
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
  2512
b35973e2d42e 8019461: Clean up javac diagnostics
emc
parents: 21006
diff changeset
  2513
# 0: string
6031
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  2514
compiler.err.diamond.not.supported.in.source=\
50004868a787 6964768: need test program to validate javac resource bundles
jjg
parents: 5848
diff changeset
  2515
    diamond operator is not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2516
    (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
  2517
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2518
# 0: string
5492
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
  2519
compiler.err.multicatch.not.supported.in.source=\
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
  2520
    multi-catch statement is not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2521
    (use -source 7 or higher to enable multi-catch statement)
5492
515e4b33b335 6943289: Project Coin: Improved Exception Handling for Java (aka 'multicatch')
mcimadamore
parents: 5321
diff changeset
  2522
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2523
# 0: string
4142
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
  2524
compiler.err.string.switch.not.supported.in.source=\
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
  2525
    strings in switch are not supported in -source {0}\n\
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2526
    (use -source 7 or higher to enable strings in switch)
4142
bd950c8f4fb3 6827009: Project Coin: Strings in Switch
darcy
parents: 4072
diff changeset
  2527
11143
9dbe313bfb74 7115050: Add parser support for lambda expressions
mcimadamore
parents: 11053
diff changeset
  2528
# 0: string
9dbe313bfb74 7115050: Add parser support for lambda expressions
mcimadamore
parents: 11053
diff changeset
  2529
compiler.err.lambda.not.supported.in.source=\
9dbe313bfb74 7115050: Add parser support for lambda expressions
mcimadamore
parents: 11053
diff changeset
  2530
    lambda expressions are not supported in -source {0}\n\
9dbe313bfb74 7115050: Add parser support for lambda expressions
mcimadamore
parents: 11053
diff changeset
  2531
    (use -source 8 or higher to enable lambda expressions)
9dbe313bfb74 7115050: Add parser support for lambda expressions
mcimadamore
parents: 11053
diff changeset
  2532
11144
8a4ae514eedf 7115052: Add parser support for method references
mcimadamore
parents: 11143
diff changeset
  2533
# 0: string
8a4ae514eedf 7115052: Add parser support for method references
mcimadamore
parents: 11143
diff changeset
  2534
compiler.err.method.references.not.supported.in.source=\
8a4ae514eedf 7115052: Add parser support for method references
mcimadamore
parents: 11143
diff changeset
  2535
    method references are not supported in -source {0}\n\
8a4ae514eedf 7115052: Add parser support for method references
mcimadamore
parents: 11143
diff changeset
  2536
    (use -source 8 or higher to enable method references)
8a4ae514eedf 7115052: Add parser support for method references
mcimadamore
parents: 11143
diff changeset
  2537
14267
6321fbe0cf50 7192245: Add parser support for default methods
mcimadamore
parents: 14062
diff changeset
  2538
# 0: string
6321fbe0cf50 7192245: Add parser support for default methods
mcimadamore
parents: 14062
diff changeset
  2539
compiler.err.default.methods.not.supported.in.source=\
6321fbe0cf50 7192245: Add parser support for default methods
mcimadamore
parents: 14062
diff changeset
  2540
    default methods are not supported in -source {0}\n\
6321fbe0cf50 7192245: Add parser support for default methods
mcimadamore
parents: 14062
diff changeset
  2541
    (use -source 8 or higher to enable default methods)
6321fbe0cf50 7192245: Add parser support for default methods
mcimadamore
parents: 14062
diff changeset
  2542
14725
65836e833f59 8002099: Add support for intersection types in cast expression
mcimadamore
parents: 14724
diff changeset
  2543
# 0: string
65836e833f59 8002099: Add support for intersection types in cast expression
mcimadamore
parents: 14724
diff changeset
  2544
compiler.err.intersection.types.in.cast.not.supported.in.source=\
65836e833f59 8002099: Add support for intersection types in cast expression
mcimadamore
parents: 14724
diff changeset
  2545
    intersection types in cast are not supported in -source {0}\n\
65836e833f59 8002099: Add support for intersection types in cast expression
mcimadamore
parents: 14724
diff changeset
  2546
    (use -source 8 or higher to enable default methods)
65836e833f59 8002099: Add support for intersection types in cast expression
mcimadamore
parents: 14724
diff changeset
  2547
15377
515846bb6637 8005166: Add support for static interface methods
mcimadamore
parents: 15367
diff changeset
  2548
# 0: string
515846bb6637 8005166: Add support for static interface methods
mcimadamore
parents: 15367
diff changeset
  2549
compiler.err.static.intf.methods.not.supported.in.source=\
515846bb6637 8005166: Add support for static interface methods
mcimadamore
parents: 15367
diff changeset
  2550
    static interface methods are not supported in -source {0}\n\
515846bb6637 8005166: Add support for static interface methods
mcimadamore
parents: 15367
diff changeset
  2551
    (use -source 8 or higher to enable static interface methods)
515846bb6637 8005166: Add support for static interface methods
mcimadamore
parents: 15367
diff changeset
  2552
24901
73bacb7d064e 8037385: constant pool errors with -target 1.7 and static default methods
dlsmith
parents: 24219
diff changeset
  2553
# 0: string
73bacb7d064e 8037385: constant pool errors with -target 1.7 and static default methods
dlsmith
parents: 24219
diff changeset
  2554
compiler.err.static.intf.method.invoke.not.supported.in.source=\
73bacb7d064e 8037385: constant pool errors with -target 1.7 and static default methods
dlsmith
parents: 24219
diff changeset
  2555
    static interface method invocations are not supported in -source {0}\n\
73bacb7d064e 8037385: constant pool errors with -target 1.7 and static default methods
dlsmith
parents: 24219
diff changeset
  2556
    (use -source 8 or higher to enable static interface method invocations)
73bacb7d064e 8037385: constant pool errors with -target 1.7 and static default methods
dlsmith
parents: 24219
diff changeset
  2557
29293
1583c6dd6df7 8071453: Allow interface methods to be private
sadayapalam
parents: 29051
diff changeset
  2558
# 0: string
1583c6dd6df7 8071453: Allow interface methods to be private
sadayapalam
parents: 29051
diff changeset
  2559
compiler.err.private.intf.methods.not.supported.in.source=\
1583c6dd6df7 8071453: Allow interface methods to be private
sadayapalam
parents: 29051
diff changeset
  2560
    private interface methods are not supported in -source {0}\n\
1583c6dd6df7 8071453: Allow interface methods to be private
sadayapalam
parents: 29051
diff changeset
  2561
    (use -source 9 or higher to enable private interface methods)
1583c6dd6df7 8071453: Allow interface methods to be private
sadayapalam
parents: 29051
diff changeset
  2562
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2563
########################################
10816
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2564
# Diagnostics for verbose resolution
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2565
# used by Resolve (debug only)
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2566
########################################
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2567
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2568
# 0: number, 1: symbol, 2: unused
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2569
compiler.misc.applicable.method.found=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2570
    #{0} applicable method found: {1}
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2571
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2572
# 0: number, 1: symbol, 2: message segment
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2573
compiler.misc.applicable.method.found.1=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2574
    #{0} applicable method found: {1}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2575
    ({2})
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2576
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2577
# 0: number, 1: symbol, 2: message segment
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2578
compiler.misc.not.applicable.method.found=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2579
    #{0} not applicable method found: {1}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2580
    ({2})
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2581
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2582
# 0: type
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2583
compiler.misc.partial.inst.sig=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2584
    partially instantiated to: {0}
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2585
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
  2586
# 0: name, 1: symbol, 2: number, 3: string (method resolution phase), 4: list of type or message segment, 5: list of type or message segment
10816
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2587
compiler.note.verbose.resolve.multi=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2588
    resolving method {0} in type {1} to candidate {2}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2589
    phase: {3}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2590
    with actuals: {4}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2591
    with type-args: {5}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2592
    candidates:
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2593
28334
1633de6070ae 8058542: Devise scheme for better diagnostic creation
mcimadamore
parents: 28142
diff changeset
  2594
# 0: name, 1: symbol, 2: unused, 3: string (method resolution phase), 4: list of type or message segment, 5: list of type or message segment
10816
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2595
compiler.note.verbose.resolve.multi.1=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2596
    erroneous resolution for method {0} in type {1}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2597
    phase: {3}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2598
    with actuals: {4}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2599
    with type-args: {5}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2600
    candidates:
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2601
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2602
# 0: symbol, 1: type, 2: type
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2603
compiler.note.deferred.method.inst=\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2604
    Deferred instantiation of method {0}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2605
    instantiated signature: {1}\n\
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2606
    target-type: {2}
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2607
ce8a7e9d8882 7098660: Write better overload resolution/inference tests
mcimadamore
parents: 10637
diff changeset
  2608
########################################
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2609
# Diagnostics for where clause implementation
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2610
# used by the RichDiagnosticFormatter.
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2611
########################################
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2612
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2613
compiler.misc.type.null=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2614
    <null>
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2615
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2616
# X#n (where n is an int id) is disambiguated tvar name
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2617
# 0: name, 1: number
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2618
compiler.misc.type.var=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2619
    {0}#{1}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2620
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2621
# CAP#n (where n is an int id) is an abbreviation for 'captured type'
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2622
# 0: number
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2623
compiler.misc.captured.type=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2624
    CAP#{0}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2625
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2626
# <INT#n> (where n is an int id) is an abbreviation for 'intersection type'
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2627
# 0: number
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2628
compiler.misc.intersection.type=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2629
    INT#{0}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2630
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2631
# 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
  2632
# ('super {2}') bound along with the wildcard that generated this captured type ({3})
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2633
# 0: type, 1: type, 2: type, 3: type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2634
compiler.misc.where.captured=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2635
    {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
  2636
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2637
# 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
  2638
# with the wildcard that generated this captured type ({3})
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2639
# 0: type, 1: type, 2: unused, 3: type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2640
compiler.misc.where.captured.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2641
    {0} extends {1} from capture of {3}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2642
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2643
# 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
  2644
# the kindname ({2}) and location ({3}) in which the typevar has been declared
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2645
# 0: type, 1: list of type, 2: symbol kind, 3: symbol
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2646
compiler.misc.where.typevar=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2647
    {0} extends {1} declared in {2} {3}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2648
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2649
# 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
  2650
# in which the typevar has been declared
12468
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2651
# 0: type, 1: list of type, 2: symbol kind, 3: symbol
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2652
compiler.misc.where.typevar.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2653
    {0} declared in {2} {3}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2654
12468
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2655
# where clause for fresh type variable: contains upper bound(s) ('extends {1}').
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2656
# Since a fresh type-variable is synthetic - there's no location/kindname here.
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2657
# 0: type, 1: list of type
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2658
compiler.misc.where.fresh.typevar=\
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2659
    {0} extends {1}
1100643c0209 7154127: Inference cleanup: remove bound check analysis from visitors in Types.java
mcimadamore
parents: 12466
diff changeset
  2660
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2661
# 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
  2662
# of this intersection type
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2663
# 0: type, 1: list of type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2664
compiler.misc.where.intersection=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2665
    {0} extends {1}
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2666
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2667
### Where clause headers ###
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2668
compiler.misc.where.description.captured=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2669
    where {0} is a fresh type-variable:
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2670
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2671
# 0: set of type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2672
compiler.misc.where.description.typevar=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2673
    where {0} is a type-variable:
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2674
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2675
# 0: set of type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2676
compiler.misc.where.description.intersection=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2677
    where {0} is an intersection type:
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2678
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2679
# 0: set of type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2680
compiler.misc.where.description.captured.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2681
    where {0} are fresh type-variables:
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2682
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2683
# 0: set of type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2684
compiler.misc.where.description.typevar.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2685
    where {0} are type-variables:
8226
8c2fd7e7bcf3 7013272: Automatically generate info about how compiler resource keys are used
jjg
parents: 8224
diff changeset
  2686
30014
fc1f2b200c1f 8078024: javac, several incorporation steps are silently failing when an error should be reported
vromero
parents: 29960
diff changeset
  2687
# 0: set of type
2984
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2688
compiler.misc.where.description.intersection.1=\
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2689
    where {0} are intersection types:
e15ff3a34054 6722234: javac diagnostics need better integration with the type-system
mcimadamore
parents: 2723
diff changeset
  2690
14541
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2691
###
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2692
# errors related to doc comments
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2693
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2694
compiler.err.dc.bad.entity=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2695
    bad HTML entity
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2696
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2697
compiler.err.dc.bad.gt=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2698
    bad use of ''>''
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2699
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2700
compiler.err.dc.bad.inline.tag=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2701
    incorrect use of inline tag
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2702
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2703
compiler.err.dc.identifier.expected=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2704
    identifier expected
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2705
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2706
compiler.err.dc.malformed.html=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2707
    malformed HTML
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2708
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2709
compiler.err.dc.missing.semicolon=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2710
    semicolon missing
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2711
14952
d0022ae20516 8004832: Add new doclint package
jjg
parents: 14804
diff changeset
  2712
compiler.err.dc.no.content=\
d0022ae20516 8004832: Add new doclint package
jjg
parents: 14804
diff changeset
  2713
    no content
d0022ae20516 8004832: Add new doclint package
jjg
parents: 14804
diff changeset
  2714
14541
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2715
compiler.err.dc.no.tag.name=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2716
    no tag name after '@'
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2717
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2718
compiler.err.dc.gt.expected=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2719
    ''>'' expected
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2720
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2721
compiler.err.dc.ref.bad.parens=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2722
    '')'' missing in reference
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2723
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2724
compiler.err.dc.ref.syntax.error=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2725
    syntax error in reference
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2726
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2727
compiler.err.dc.ref.unexpected.input=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2728
    unexpected text
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2729
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2730
compiler.err.dc.unexpected.content=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2731
    unexpected content
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2732
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2733
compiler.err.dc.unterminated.inline.tag=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2734
    unterminated inline tag
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2735
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2736
compiler.err.dc.unterminated.signature=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2737
    unterminated signature
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2738
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2739
compiler.err.dc.unterminated.string=\
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2740
    unterminated string
36f9d11fc9aa 7021614: extend com.sun.source API to support parsing javadoc comments
jjg
parents: 14443
diff changeset
  2741
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2742
###
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2743
# errors related to modules
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2744
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2745
compiler.err.expected.module=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2746
    expected ''module''
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2747
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2748
# 0: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2749
compiler.err.module.not.found=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2750
    module not found: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2751
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2752
compiler.err.too.many.modules=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2753
    too many module declarations found
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2754
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2755
# 0: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2756
compiler.err.duplicate.module=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2757
    duplicate module: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2758
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2759
# 0: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2760
compiler.err.duplicate.requires=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2761
    duplicate requires: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2762
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2763
# 0: symbol
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2764
compiler.err.conflicting.exports=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2765
    duplicate or conflicting exports: {0}
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2766
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2767
# 0: symbol
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2768
compiler.err.conflicting.opens=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2769
    duplicate or conflicting opens: {0}
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2770
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2771
# 0: symbol
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2772
compiler.err.conflicting.exports.to.module=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2773
    duplicate or conflicting exports to module: {0}
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2774
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2775
# 0: symbol
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2776
compiler.err.conflicting.opens.to.module=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2777
    duplicate or conflicting opens to module: {0}
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2778
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2779
compiler.err.no.opens.unless.strong=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2780
    ''opens'' only allowed in strong modules
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2781
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2782
# 0: symbol, 1: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2783
compiler.err.duplicate.provides=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2784
    duplicate provides: service {0}, implementation {1}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2785
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2786
# 0: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2787
compiler.err.duplicate.uses=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2788
    duplicate uses: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2789
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2790
# 0: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2791
compiler.err.service.implementation.is.abstract=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2792
    the service implementation is an abstract class: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2793
38827
884d32899770 8152062: obscure error message for bad 'provides'
vromero
parents: 38519
diff changeset
  2794
compiler.err.service.implementation.must.be.subtype.of.service.interface=\
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2795
    the service implementation type must be a subtype of the service interface type, or \
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2796
    have a public static no-args method named "provider" returning the service implementation
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2797
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2798
compiler.err.service.implementation.provider.return.must.be.subtype.of.service.interface=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2799
    the "provider" method return type must be a subtype of the service interface type
38827
884d32899770 8152062: obscure error message for bad 'provides'
vromero
parents: 38519
diff changeset
  2800
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2801
# 0: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2802
compiler.err.service.implementation.is.inner=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2803
    the service implementation is an inner class: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2804
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2805
# 0: symbol
37854
a76a06106d02 8153268: javac accepts enums being referenced by 'uses' statement
vromero
parents: 36713
diff changeset
  2806
compiler.err.service.definition.is.enum=\
a76a06106d02 8153268: javac accepts enums being referenced by 'uses' statement
vromero
parents: 36713
diff changeset
  2807
    the service definition is an enum: {0}
a76a06106d02 8153268: javac accepts enums being referenced by 'uses' statement
vromero
parents: 36713
diff changeset
  2808
a76a06106d02 8153268: javac accepts enums being referenced by 'uses' statement
vromero
parents: 36713
diff changeset
  2809
# 0: symbol
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2810
compiler.err.service.implementation.doesnt.have.a.no.args.constructor=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2811
    the service implementation does not have a default constructor: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2812
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2813
# 0: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2814
compiler.err.service.implementation.no.args.constructor.not.public=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2815
    the no arguments constructor of the service implementation is not public: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2816
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2817
# 0: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2818
compiler.err.package.empty.or.not.found=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2819
    package is empty or does not exist: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2820
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2821
compiler.err.no.output.dir=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2822
    no class output directory specified
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2823
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2824
compiler.err.unnamed.pkg.not.allowed.named.modules=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2825
    unnamed package is not allowed in named modules
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2826
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2827
# 0: name, 1: name
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2828
compiler.err.module.name.mismatch=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2829
    module name {0} does not match expected name {1}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2830
41254
08f8dbf7741e 8152911: javac assertion error when compiling overlay sources
jlahoda
parents: 40762
diff changeset
  2831
# 0: name, 1: name
08f8dbf7741e 8152911: javac assertion error when compiling overlay sources
jlahoda
parents: 40762
diff changeset
  2832
compiler.misc.module.name.mismatch=\
08f8dbf7741e 8152911: javac assertion error when compiling overlay sources
jlahoda
parents: 40762
diff changeset
  2833
    module name {0} does not match expected name {1}
08f8dbf7741e 8152911: javac assertion error when compiling overlay sources
jlahoda
parents: 40762
diff changeset
  2834
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2835
# 0: name
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2836
compiler.err.module.non.zero.opens=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2837
    open module {0} has non-zero opens_count
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2838
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2839
# 0: name
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2840
compiler.misc.module.non.zero.opens=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2841
    open module {0} has non-zero opens_count
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2842
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2843
compiler.err.module.decl.sb.in.module-info.java=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2844
    module declarations should be in a file named module-info.java
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2845
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2846
compiler.err.module-info.with.xmodule.sourcepath=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2847
    illegal combination of -Xmodule and module-info on sourcepath
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2848
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2849
compiler.err.module-info.with.xmodule.classpath=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2850
    illegal combination of -Xmodule and module-info on classpath
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2851
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2852
compiler.err.xmodule.no.module.sourcepath=\
40762
f8883aa0053c 8160851: Remove old launcher module-related options
mchung
parents: 40513
diff changeset
  2853
    illegal combination of -Xmodule and --module-source-path
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2854
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2855
compiler.err.processorpath.no.processormodulepath=\
40762
f8883aa0053c 8160851: Remove old launcher module-related options
mchung
parents: 40513
diff changeset
  2856
    illegal combination of -processorpath and --processor-module-path
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2857
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2858
# 0: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2859
compiler.err.package.in.other.module=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2860
    package exists in another module: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2861
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2862
# 0: symbol, 1: name, 2: symbol, 3: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2863
compiler.err.package.clash.from.requires=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2864
    module {0} reads package {1} from both {2} and {3}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2865
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2866
# 0: string
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2867
compiler.err.module.not.found.in.module.source.path=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2868
    module {0} not found in module source path
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2869
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2870
compiler.err.output.dir.must.be.specified.with.dash.m.option=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2871
    class output directory must be specified if -m option is used
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2872
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2873
compiler.err.modulesourcepath.must.be.specified.with.dash.m.option=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2874
    module source path must be specified if -m option is used
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2875
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2876
# 0: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2877
compiler.err.service.implementation.not.in.right.module=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2878
    service implementation must be defined in the same module as the provides directive
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2879
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2880
# 0: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2881
compiler.err.cyclic.requires=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2882
    cyclic dependence involving {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2883
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2884
# 0: fragment, 1: name
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2885
compiler.err.duplicate.module.on.path=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2886
    duplicate module on {0}\nmodule in {1}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2887
41938
8e66bf10fcec 8167975: align javac --add-* modules options with launcher
jjg
parents: 41932
diff changeset
  2888
# 0: option name, 1: string
8e66bf10fcec 8167975: align javac --add-* modules options with launcher
jjg
parents: 41932
diff changeset
  2889
compiler.warn.bad.name.for.option=\
8e66bf10fcec 8167975: align javac --add-* modules options with launcher
jjg
parents: 41932
diff changeset
  2890
    bad name in value for {0} option: ''{1}''
8e66bf10fcec 8167975: align javac --add-* modules options with launcher
jjg
parents: 41932
diff changeset
  2891
42269
24a766b7c106 8164590: javac --inherit-runtime-environment fails with "cannot find modules: ALL-DEFAULT"
jjg
parents: 41943
diff changeset
  2892
# 0: option name, 1: string
24a766b7c106 8164590: javac --inherit-runtime-environment fails with "cannot find modules: ALL-DEFAULT"
jjg
parents: 41943
diff changeset
  2893
compiler.err.bad.name.for.option=\
24a766b7c106 8164590: javac --inherit-runtime-environment fails with "cannot find modules: ALL-DEFAULT"
jjg
parents: 41943
diff changeset
  2894
    bad name in value for {0} option: ''{1}''
24a766b7c106 8164590: javac --inherit-runtime-environment fails with "cannot find modules: ALL-DEFAULT"
jjg
parents: 41943
diff changeset
  2895
41938
8e66bf10fcec 8167975: align javac --add-* modules options with launcher
jjg
parents: 41932
diff changeset
  2896
# 0: option name, 1: symbol
8e66bf10fcec 8167975: align javac --add-* modules options with launcher
jjg
parents: 41932
diff changeset
  2897
compiler.warn.module.for.option.not.found=\
8e66bf10fcec 8167975: align javac --add-* modules options with launcher
jjg
parents: 41932
diff changeset
  2898
    module name in {0} option not found: {1}
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2899
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2900
compiler.err.addmods.all.module.path.invalid=\
40762
f8883aa0053c 8160851: Remove old launcher module-related options
mchung
parents: 40513
diff changeset
  2901
    --add-modules ALL-MODULE-PATH can only be used when compiling the unnamed module
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2902
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2903
compiler.warn.addopens.ignored=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2904
    --add-opens has no effect at compile time
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2905
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2906
compiler.misc.locn.module_source_path=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2907
    module source path
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2908
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2909
compiler.misc.locn.upgrade_module_path=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2910
    upgrade module path
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2911
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2912
compiler.misc.locn.system_modules=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2913
    system modules
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2914
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2915
compiler.misc.locn.module_path=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2916
    application module path
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2917
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2918
compiler.misc.cant.resolve.modules=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2919
    cannot resolve modules
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2920
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2921
# 0: string
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2922
compiler.err.invalid.module.specifier=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2923
    module specifier not allowed: {0}
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2924
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2925
# 0: symbol
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2926
compiler.warn.service.provided.but.not.exported.or.used=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2927
    service interface provided but not exported or used
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2928
41444
b61c805c6173 8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents: 41254
diff changeset
  2929
# 0: kind name, 1: symbol, 2: symbol
b61c805c6173 8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents: 41254
diff changeset
  2930
compiler.warn.leaks.not.accessible=\
b61c805c6173 8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents: 41254
diff changeset
  2931
    {0} {1} in module {2} is not accessible to clients that require this module
b61c805c6173 8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents: 41254
diff changeset
  2932
# 0: kind name, 1: symbol, 2: symbol
b61c805c6173 8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents: 41254
diff changeset
  2933
compiler.warn.leaks.not.accessible.unexported=\
b61c805c6173 8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents: 41254
diff changeset
  2934
    {0} {1} in module {2} is not exported
b61c805c6173 8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents: 41254
diff changeset
  2935
# 0: kind name, 1: symbol, 2: symbol
42407
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2936
compiler.warn.leaks.not.accessible.not.required.transitive=\
f3702cff2933 8169069: Module system implementation refresh (11/2016)
alanb
parents: 41943
diff changeset
  2937
    {0} {1} in module {2} is not indirectly exported using 'requires transitive'
41444
b61c805c6173 8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents: 41254
diff changeset
  2938
# 0: kind name, 1: symbol, 2: symbol
b61c805c6173 8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents: 41254
diff changeset
  2939
compiler.warn.leaks.not.accessible.unexported.qualified=\
b61c805c6173 8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents: 41254
diff changeset
  2940
    {0} {1} in module {2} may not be visible to all clients that require this module
b61c805c6173 8153362: Add javac -Xlint warning to list exposed types which are not accessible
jlahoda
parents: 41254
diff changeset
  2941
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2942
###
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2943
# errors related to options
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2944
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2945
# 0: string, 1: string
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2946
compiler.err.illegal.argument.for.option=\
3b41f1c69604 8142968: Module System implementation
alanb
parents: 36272
diff changeset
  2947
    illegal argument for {0}: {1}