langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties
author vromero
Mon, 22 Feb 2016 16:17:25 -0800
changeset 36153 ed5063b304be
parent 35810 9ee6e90d679c
child 36526 3b41f1c69604
permissions -rw-r--r--
8149600: javac, remove unused options, step 2 Reviewed-by: jjg, mcimadamore
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: 34480
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: 2212
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: 2212
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: 2212
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 2212
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
86e4b9a9da40 6943119: Rebrand source copyright notices
ohair
parents: 2212
diff changeset
    23
# questions.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
#
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
06bc494ca11e Initial load
duke
parents:
diff changeset
    26
## standard options
06bc494ca11e Initial load
duke
parents:
diff changeset
    27
06bc494ca11e Initial load
duke
parents:
diff changeset
    28
javac.opt.g=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    29
    Generate all debugging info
06bc494ca11e Initial load
duke
parents:
diff changeset
    30
javac.opt.g.none=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    31
    Generate no debugging info
06bc494ca11e Initial load
duke
parents:
diff changeset
    32
javac.opt.g.lines.vars.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    33
    Generate only some debugging info
06bc494ca11e Initial load
duke
parents:
diff changeset
    34
javac.opt.nowarn=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    35
    Generate no warnings
06bc494ca11e Initial load
duke
parents:
diff changeset
    36
javac.opt.verbose=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    37
    Output messages about what the compiler is doing
06bc494ca11e Initial load
duke
parents:
diff changeset
    38
javac.opt.deprecation=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    39
    Output source locations where deprecated APIs are used
06bc494ca11e Initial load
duke
parents:
diff changeset
    40
javac.opt.classpath=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    41
    Specify where to find user class files and annotation processors
06bc494ca11e Initial load
duke
parents:
diff changeset
    42
javac.opt.sourcepath=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    43
    Specify where to find input source files
06bc494ca11e Initial load
duke
parents:
diff changeset
    44
javac.opt.bootclasspath=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    45
    Override location of bootstrap class files
06bc494ca11e Initial load
duke
parents:
diff changeset
    46
javac.opt.Xbootclasspath.p=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    47
    Prepend to the bootstrap class path
06bc494ca11e Initial load
duke
parents:
diff changeset
    48
javac.opt.Xbootclasspath.a=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    49
    Append to the bootstrap class path
06bc494ca11e Initial load
duke
parents:
diff changeset
    50
javac.opt.endorseddirs=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    51
    Override location of endorsed standards path
06bc494ca11e Initial load
duke
parents:
diff changeset
    52
javac.opt.extdirs=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    53
    Override location of installed extensions
06bc494ca11e Initial load
duke
parents:
diff changeset
    54
javac.opt.processorpath=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    55
    Specify where to find annotation processors
06bc494ca11e Initial load
duke
parents:
diff changeset
    56
javac.opt.processor=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    57
    Names of the annotation processors to run; bypasses default discovery process
15031
c4fad55a5681 8004727: Add compiler support for parameter reflection
jjg
parents: 14960
diff changeset
    58
javac.opt.parameters=\
c4fad55a5681 8004727: Add compiler support for parameter reflection
jjg
parents: 14960
diff changeset
    59
    Generate metadata for reflection on method parameters
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    60
javac.opt.proc.none.only=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    61
    Control whether annotation processing and/or compilation is done.
06bc494ca11e Initial load
duke
parents:
diff changeset
    62
javac.opt.d=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    63
    Specify where to place generated class files
06bc494ca11e Initial load
duke
parents:
diff changeset
    64
javac.opt.sourceDest=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    65
    Specify where to place generated source files
12213
516b112d6c68 7150368: javac should include basic ability to generate native headers
jjg
parents: 8637
diff changeset
    66
javac.opt.headerDest=\
516b112d6c68 7150368: javac should include basic ability to generate native headers
jjg
parents: 8637
diff changeset
    67
    Specify where to place generated native header files
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    68
javac.opt.J=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    69
    Pass <flag> directly to the runtime system
06bc494ca11e Initial load
duke
parents:
diff changeset
    70
javac.opt.encoding=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    71
    Specify character encoding used by source files
15724
3063fb01c8a1 8004182: Add support for profiles in javac
jjg
parents: 15031
diff changeset
    72
javac.opt.profile=\
3063fb01c8a1 8004182: Add support for profiles in javac
jjg
parents: 15031
diff changeset
    73
    Check that API used is available in the specified profile
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    74
javac.opt.target=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    75
    Generate class files for specific VM version
31506
4e07f827a794 8072480: javac should support compilation for a specific platform version
jlahoda
parents: 30017
diff changeset
    76
javac.opt.release=\
4e07f827a794 8072480: javac should support compilation for a specific platform version
jlahoda
parents: 30017
diff changeset
    77
    Compile for a specific VM version. Supported targets: {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    78
javac.opt.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    79
    Provide source compatibility with specified release
1996
c855318a4b03 6595666: fix -Werror
jjg
parents: 10
diff changeset
    80
javac.opt.Werror=\
c855318a4b03 6595666: fix -Werror
jjg
parents: 10
diff changeset
    81
    Terminate compilation if warnings occur
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    82
javac.opt.A=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    83
    Options to pass to annotation processors
06bc494ca11e Initial load
duke
parents:
diff changeset
    84
javac.opt.implicit=\
6575
ae1798028008 6960424: new option -Xpkginfo for better control of when package-info.class is generated
jjg
parents: 5520
diff changeset
    85
    Specify whether or not to generate class files for implicitly referenced files
ae1798028008 6960424: new option -Xpkginfo for better control of when package-info.class is generated
jjg
parents: 5520
diff changeset
    86
javac.opt.pkginfo=\
ae1798028008 6960424: new option -Xpkginfo for better control of when package-info.class is generated
jjg
parents: 5520
diff changeset
    87
    Specify handling of package-info files
10
06bc494ca11e Initial load
duke
parents:
diff changeset
    88
javac.opt.arg.class=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    89
    <class>
06bc494ca11e Initial load
duke
parents:
diff changeset
    90
javac.opt.arg.class.list=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    91
    <class1>[,<class2>,<class3>...]
06bc494ca11e Initial load
duke
parents:
diff changeset
    92
javac.opt.arg.flag=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    93
    <flag>
06bc494ca11e Initial load
duke
parents:
diff changeset
    94
javac.opt.arg.key.equals.value=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    95
    key[=value]
06bc494ca11e Initial load
duke
parents:
diff changeset
    96
javac.opt.arg.path=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    97
    <path>
06bc494ca11e Initial load
duke
parents:
diff changeset
    98
javac.opt.arg.dirs=\
06bc494ca11e Initial load
duke
parents:
diff changeset
    99
    <dirs>
06bc494ca11e Initial load
duke
parents:
diff changeset
   100
javac.opt.arg.directory=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   101
    <directory>
06bc494ca11e Initial load
duke
parents:
diff changeset
   102
javac.opt.arg.encoding=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   103
    <encoding>
15724
3063fb01c8a1 8004182: Add support for profiles in javac
jjg
parents: 15031
diff changeset
   104
javac.opt.arg.profile=\
3063fb01c8a1 8004182: Add support for profiles in javac
jjg
parents: 15031
diff changeset
   105
    <profile>
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   106
javac.opt.arg.release=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   107
    <release>
31506
4e07f827a794 8072480: javac should support compilation for a specific platform version
jlahoda
parents: 30017
diff changeset
   108
javac.opt.arg.release=\
4e07f827a794 8072480: javac should support compilation for a specific platform version
jlahoda
parents: 30017
diff changeset
   109
    <release>
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   110
javac.opt.arg.number=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   111
    <number>
14548
aa687b312c97 8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents: 12213
diff changeset
   112
javac.opt.plugin=\
aa687b312c97 8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents: 12213
diff changeset
   113
    Name and optional arguments for a plug-in to be run
aa687b312c97 8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents: 12213
diff changeset
   114
javac.opt.arg.plugin=\
aa687b312c97 8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents: 12213
diff changeset
   115
    "name args"
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   116
06bc494ca11e Initial load
duke
parents:
diff changeset
   117
## extended options
06bc494ca11e Initial load
duke
parents:
diff changeset
   118
06bc494ca11e Initial load
duke
parents:
diff changeset
   119
javac.opt.maxerrs=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   120
    Set the maximum number of errors to print
06bc494ca11e Initial load
duke
parents:
diff changeset
   121
javac.opt.maxwarns=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   122
    Set the maximum number of warnings to print
06bc494ca11e Initial load
duke
parents:
diff changeset
   123
javac.opt.nogj=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   124
    Don't accept generics in the language
06bc494ca11e Initial load
duke
parents:
diff changeset
   125
javac.opt.moreinfo=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   126
    Print extended information for type variables
06bc494ca11e Initial load
duke
parents:
diff changeset
   127
javac.opt.printsearch=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   128
    Print information where classfiles are searched
06bc494ca11e Initial load
duke
parents:
diff changeset
   129
javac.opt.prompt=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   130
    Stop after each error
06bc494ca11e Initial load
duke
parents:
diff changeset
   131
javac.opt.s=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   132
    Emit java sources instead of classfiles
06bc494ca11e Initial load
duke
parents:
diff changeset
   133
javac.opt.version=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   134
    Version information
06bc494ca11e Initial load
duke
parents:
diff changeset
   135
javac.opt.arg.pathname=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   136
    <pathname>
06bc494ca11e Initial load
duke
parents:
diff changeset
   137
javac.opt.arg.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   138
    <filename>
06bc494ca11e Initial load
duke
parents:
diff changeset
   139
javac.opt.Xlint=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   140
    Enable recommended warnings
23114
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   141
javac.opt.Xlint.all=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   142
    Enable all warnings
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   143
javac.opt.Xlint.none=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   144
    Disable all warnings
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   145
#L10N: do not localize: -Xlint
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   146
javac.opt.Xlint.subopts=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   147
    -Xlint:key,...
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   148
javac.opt.Xlint.suboptlist=\n\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   149
\        Warnings to enable or disable, separated by comma.\n\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   150
\        Precede a key by '-' to disable the specified warning.\n\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   151
\        Supported keys are:
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   152
javac.opt.Xlint.desc.auxiliaryclass=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   153
    Warn about an auxiliary class that is hidden in a source file, and is used from other files.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   154
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   155
javac.opt.Xlint.desc.cast=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   156
    Warn about use of unnecessary casts.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   157
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   158
javac.opt.Xlint.desc.classfile=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   159
    Warn about issues related to classfile contents.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   160
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   161
javac.opt.Xlint.desc.deprecation=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   162
    Warn about use of deprecated items.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   163
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   164
javac.opt.Xlint.desc.dep-ann=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   165
    Warn about items marked as deprecated in JavaDoc but not using the @Deprecated annotation.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   166
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   167
javac.opt.Xlint.desc.divzero=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   168
    Warn about division by constant integer 0.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   169
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   170
javac.opt.Xlint.desc.empty=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   171
    Warn about empty statement after if.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   172
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   173
javac.opt.Xlint.desc.fallthrough=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   174
    Warn about falling through from one case of a switch statement to the next.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   175
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   176
javac.opt.Xlint.desc.finally=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   177
    Warn about finally clauses that do not terminate normally.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   178
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   179
javac.opt.Xlint.desc.options=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   180
    Warn about issues relating to use of command line options.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   181
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   182
javac.opt.Xlint.desc.overloads=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   183
    Warn about issues regarding method overloads.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   184
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   185
javac.opt.Xlint.desc.overrides=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   186
    Warn about issues regarding method overrides.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   187
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   188
javac.opt.Xlint.desc.path=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   189
    Warn about invalid path elements on the command line.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   190
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   191
javac.opt.Xlint.desc.processing=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   192
    Warn about issues regarding annotation processing.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   193
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   194
javac.opt.Xlint.desc.rawtypes=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   195
    Warn about use of raw types.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   196
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   197
javac.opt.Xlint.desc.serial=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   198
    Warn about Serializable classes that do not provide a serial version ID.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   199
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   200
javac.opt.Xlint.desc.static=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   201
    Warn about accessing a static member using an instance.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   202
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   203
javac.opt.Xlint.desc.try=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   204
    Warn about issues relating to use of try blocks (i.e. try-with-resources).
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   205
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   206
javac.opt.Xlint.desc.unchecked=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   207
    Warn about unchecked operations.
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   208
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   209
javac.opt.Xlint.desc.varargs=\
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   210
    Warn about potentially unsafe vararg methods
7fe55d6324d5 8033961: Formatting of -Xlint: command line help
jlahoda
parents: 19489
diff changeset
   211
14960
ea7606a9683e 8004833: Integrate doclint support into javac
jjg
parents: 14548
diff changeset
   212
javac.opt.Xdoclint=\
ea7606a9683e 8004833: Integrate doclint support into javac
jjg
parents: 14548
diff changeset
   213
    Enable recommended checks for problems in javadoc comments
18005
598e2e068668 8007687: javadoc -X does not include -Xdoclint
jjg
parents: 17582
diff changeset
   214
# L10N: do not localize: all none
14960
ea7606a9683e 8004833: Integrate doclint support into javac
jjg
parents: 14548
diff changeset
   215
javac.opt.Xdoclint.subopts = \
18005
598e2e068668 8007687: javadoc -X does not include -Xdoclint
jjg
parents: 17582
diff changeset
   216
    (all|none|[-]<group>)[/<access>]
598e2e068668 8007687: javadoc -X does not include -Xdoclint
jjg
parents: 17582
diff changeset
   217
598e2e068668 8007687: javadoc -X does not include -Xdoclint
jjg
parents: 17582
diff changeset
   218
# L10N: do not localize: accessibility html missing reference syntax
598e2e068668 8007687: javadoc -X does not include -Xdoclint
jjg
parents: 17582
diff changeset
   219
# L10N: do not localize: public protected package private
14960
ea7606a9683e 8004833: Integrate doclint support into javac
jjg
parents: 14548
diff changeset
   220
javac.opt.Xdoclint.custom=\n\
ea7606a9683e 8004833: Integrate doclint support into javac
jjg
parents: 14548
diff changeset
   221
\        Enable or disable specific checks for problems in javadoc comments,\n\
18005
598e2e068668 8007687: javadoc -X does not include -Xdoclint
jjg
parents: 17582
diff changeset
   222
\        where <group> is one of accessibility, html, missing, reference, or syntax,\n\
14960
ea7606a9683e 8004833: Integrate doclint support into javac
jjg
parents: 14548
diff changeset
   223
\        and <access> is one of public, protected, package, or private.
29427
44f4e6905b67 8071851: Provide filtering of doclint checking based on packages
jlahoda
parents: 27387
diff changeset
   224
44f4e6905b67 8071851: Provide filtering of doclint checking based on packages
jlahoda
parents: 27387
diff changeset
   225
javac.opt.Xdoclint.package.args = \
44f4e6905b67 8071851: Provide filtering of doclint checking based on packages
jlahoda
parents: 27387
diff changeset
   226
    ([-]<packages>)
44f4e6905b67 8071851: Provide filtering of doclint checking based on packages
jlahoda
parents: 27387
diff changeset
   227
44f4e6905b67 8071851: Provide filtering of doclint checking based on packages
jlahoda
parents: 27387
diff changeset
   228
javac.opt.Xdoclint.package.desc=\n\
44f4e6905b67 8071851: Provide filtering of doclint checking based on packages
jlahoda
parents: 27387
diff changeset
   229
\        Enable or disable checks in specific packages. <packages> is a comma separated\n\
44f4e6905b67 8071851: Provide filtering of doclint checking based on packages
jlahoda
parents: 27387
diff changeset
   230
\        list of package specifiers. Package specifier is either a qualified name of a package\n\
44f4e6905b67 8071851: Provide filtering of doclint checking based on packages
jlahoda
parents: 27387
diff changeset
   231
\        or a package name prefix followed by '.*', which expands to all sub-packages of\n\
44f4e6905b67 8071851: Provide filtering of doclint checking based on packages
jlahoda
parents: 27387
diff changeset
   232
\        the given package. Prefix the package specifier with '-' to disable checks for\n\
44f4e6905b67 8071851: Provide filtering of doclint checking based on packages
jlahoda
parents: 27387
diff changeset
   233
\        the specified packages.
44f4e6905b67 8071851: Provide filtering of doclint checking based on packages
jlahoda
parents: 27387
diff changeset
   234
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   235
javac.opt.Xstdout=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   236
    Redirect standard output
06bc494ca11e Initial load
duke
parents:
diff changeset
   237
javac.opt.X=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   238
    Print a synopsis of nonstandard options
06bc494ca11e Initial load
duke
parents:
diff changeset
   239
javac.opt.help=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   240
    Print a synopsis of standard options
06bc494ca11e Initial load
duke
parents:
diff changeset
   241
javac.opt.print=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   242
    Print out a textual representation of specified types
06bc494ca11e Initial load
duke
parents:
diff changeset
   243
javac.opt.printRounds=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   244
    Print information about rounds of annotation processing
06bc494ca11e Initial load
duke
parents:
diff changeset
   245
javac.opt.printProcessorInfo=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   246
    Print information about which annotations a processor is asked to process
24298
cc4f0f71a505 8028196: Javac allows timestamps inside rt.jar to affect compilation when using -sourcepath.
alundblad
parents: 23114
diff changeset
   247
javac.opt.userpathsfirst=\
cc4f0f71a505 8028196: Javac allows timestamps inside rt.jar to affect compilation when using -sourcepath.
alundblad
parents: 23114
diff changeset
   248
    Search classpath and sourcepath for classes before the bootclasspath instead of after
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   249
javac.opt.prefer=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   250
    Specify which file to read when both a source file and class file are found for an implicitly compiled class
8637
be1b564b50aa 6980021: javac should document @file command line option
jjg
parents: 8623
diff changeset
   251
javac.opt.AT=\
be1b564b50aa 6980021: javac should document @file command line option
jjg
parents: 8623
diff changeset
   252
    Read options and filenames from file
17582
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 15724
diff changeset
   253
javac.opt.diags=\
4079713129dd 8012003: Method diagnostics resolution need to be simplified in some cases
mcimadamore
parents: 15724
diff changeset
   254
    Select a diagnostic mode
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   255
06bc494ca11e Initial load
duke
parents:
diff changeset
   256
## errors
06bc494ca11e Initial load
duke
parents:
diff changeset
   257
06bc494ca11e Initial load
duke
parents:
diff changeset
   258
javac.err.empty.A.argument=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   259
    -A requires an argument; use ''-Akey'' or ''-Akey=value''
06bc494ca11e Initial load
duke
parents:
diff changeset
   260
javac.err.invalid.arg=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   261
    invalid argument: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   262
javac.err.invalid.A.key=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   263
     key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers
06bc494ca11e Initial load
duke
parents:
diff changeset
   264
javac.err.invalid.flag=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   265
    invalid flag: {0}
19489
387a4dd51adf 8009640: -profile <compact> does not work when -bootclasspath specified
vromero
parents: 18005
diff changeset
   266
javac.err.profile.bootclasspath.conflict=\
387a4dd51adf 8009640: -profile <compact> does not work when -bootclasspath specified
vromero
parents: 18005
diff changeset
   267
    profile and bootclasspath options cannot be used together
15724
3063fb01c8a1 8004182: Add support for profiles in javac
jjg
parents: 15031
diff changeset
   268
javac.err.invalid.profile=\
3063fb01c8a1 8004182: Add support for profiles in javac
jjg
parents: 15031
diff changeset
   269
    invalid profile: {0}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   270
javac.err.invalid.target=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   271
    invalid target release: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   272
javac.err.no.source.files=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   273
    no source files
8623
cc57bd7697a2 6986895: compiler gives misleading message for no input files
jjg
parents: 7681
diff changeset
   274
javac.err.no.source.files.classes=\
cc57bd7697a2 6986895: compiler gives misleading message for no input files
jjg
parents: 7681
diff changeset
   275
    no source files or class names
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   276
javac.err.req.arg=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   277
    {0} requires an argument
06bc494ca11e Initial load
duke
parents:
diff changeset
   278
javac.err.invalid.source=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   279
    invalid source release: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   280
javac.err.error.writing.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   281
    error writing {0}; {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   282
javac.warn.source.target.conflict=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   283
    source release {0} requires target release {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   284
javac.warn.target.default.source.conflict=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   285
    target release {0} conflicts with default source release {1}
15724
3063fb01c8a1 8004182: Add support for profiles in javac
jjg
parents: 15031
diff changeset
   286
javac.warn.profile.target.conflict=\
3063fb01c8a1 8004182: Add support for profiles in javac
jjg
parents: 15031
diff changeset
   287
    profile {0} is not valid for target release {1}
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   288
javac.err.file.not.found=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   289
    file not found: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   290
javac.err.file.not.directory=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   291
    not a directory: {0}
06bc494ca11e Initial load
duke
parents:
diff changeset
   292
javac.err.file.not.file=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   293
    not a file: {0}
27387
54142fc27e8a 8063039: incorrect message reference or broken message file
jjg
parents: 25874
diff changeset
   294
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   295
## messages
06bc494ca11e Initial load
duke
parents:
diff changeset
   296
06bc494ca11e Initial load
duke
parents:
diff changeset
   297
javac.msg.usage.header=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   298
Usage: {0} <options> <source files>\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   299
where possible options include:
06bc494ca11e Initial load
duke
parents:
diff changeset
   300
06bc494ca11e Initial load
duke
parents:
diff changeset
   301
javac.msg.usage=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   302
    Usage: {0} <options> <source files>\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   303
    use -help for a list of possible options
06bc494ca11e Initial load
duke
parents:
diff changeset
   304
06bc494ca11e Initial load
duke
parents:
diff changeset
   305
javac.msg.usage.nonstandard.footer=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   306
These options are non-standard and subject to change without notice.
6575
ae1798028008 6960424: new option -Xpkginfo for better control of when package-info.class is generated
jjg
parents: 5520
diff changeset
   307
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   308
javac.msg.bug=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   309
An exception has occurred in the compiler ({0}). \
32909
989fef2663d2 8133454: Update Java Compiler Error Message
jlahoda
parents: 31506
diff changeset
   310
Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) \
989fef2663d2 8133454: Update Java Compiler Error Message
jlahoda
parents: 31506
diff changeset
   311
after checking the Bug Database (http://bugs.java.com) for duplicates. \
989fef2663d2 8133454: Update Java Compiler Error Message
jlahoda
parents: 31506
diff changeset
   312
Include your program and the following diagnostic in your report. Thank you.
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   313
06bc494ca11e Initial load
duke
parents:
diff changeset
   314
javac.msg.io=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   315
\n\nAn input/output error occurred.\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   316
Consult the following stack trace for details.\n
06bc494ca11e Initial load
duke
parents:
diff changeset
   317
06bc494ca11e Initial load
duke
parents:
diff changeset
   318
javac.msg.proc.annotation.uncaught.exception=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   319
\n\nAn annotation processor threw an uncaught exception.\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   320
Consult the following stack trace for details.\n
06bc494ca11e Initial load
duke
parents:
diff changeset
   321
14548
aa687b312c97 8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents: 12213
diff changeset
   322
javac.msg.plugin.uncaught.exception=\
aa687b312c97 8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents: 12213
diff changeset
   323
\n\nA plugin threw an uncaught exception.\n\
aa687b312c97 8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents: 12213
diff changeset
   324
Consult the following stack trace for details.\n
aa687b312c97 8001098: Provide a simple light-weight "plug-in" mechanism for javac
jjg
parents: 12213
diff changeset
   325
10
06bc494ca11e Initial load
duke
parents:
diff changeset
   326
javac.msg.resource=\
06bc494ca11e Initial load
duke
parents:
diff changeset
   327
\n\nThe system is out of resources.\n\
06bc494ca11e Initial load
duke
parents:
diff changeset
   328
Consult the following stack trace for details.\n
06bc494ca11e Initial load
duke
parents:
diff changeset
   329
06bc494ca11e Initial load
duke
parents:
diff changeset
   330
javac.version={0} {1}
06bc494ca11e Initial load
duke
parents:
diff changeset
   331
javac.fullVersion={0} full version "{1}"
31506
4e07f827a794 8072480: javac should support compilation for a specific platform version
jlahoda
parents: 30017
diff changeset
   332
4e07f827a794 8072480: javac should support compilation for a specific platform version
jlahoda
parents: 30017
diff changeset
   333
javac.err.release.bootclasspath.conflict=\
4e07f827a794 8072480: javac should support compilation for a specific platform version
jlahoda
parents: 30017
diff changeset
   334
    option {0} cannot be used together with -release
4e07f827a794 8072480: javac should support compilation for a specific platform version
jlahoda
parents: 30017
diff changeset
   335
4e07f827a794 8072480: javac should support compilation for a specific platform version
jlahoda
parents: 30017
diff changeset
   336
javac.err.unsupported.release.version=\
4e07f827a794 8072480: javac should support compilation for a specific platform version
jlahoda
parents: 30017
diff changeset
   337
    release version {0} not supported
4e07f827a794 8072480: javac should support compilation for a specific platform version
jlahoda
parents: 30017
diff changeset
   338
4e07f827a794 8072480: javac should support compilation for a specific platform version
jlahoda
parents: 30017
diff changeset
   339
javac.err.release.not.standard.file.manager=\
4e07f827a794 8072480: javac should support compilation for a specific platform version
jlahoda
parents: 30017
diff changeset
   340
    -release option specified, but the provided JavaFileManager is not a StandardJavaFileManager.