1 #
   2 # Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 ## standard options
  27 
  28 javac.opt.g=\
  29     Generate all debugging info
  30 javac.opt.g.none=\
  31     Generate no debugging info
  32 javac.opt.g.lines.vars.source=\
  33     Generate only some debugging info
  34 javac.opt.nowarn=\
  35     Generate no warnings
  36 javac.opt.verbose=\
  37     Output messages about what the compiler is doing
  38 javac.opt.deprecation=\
  39     Output source locations where deprecated APIs are used
  40 javac.opt.classpath=\
  41     Specify where to find user class files and annotation processors
  42 javac.opt.sourcepath=\
  43     Specify where to find input source files
  44 javac.opt.bootclasspath=\
  45     Override location of bootstrap class files
  46 javac.opt.Xbootclasspath.p=\
  47     Prepend to the bootstrap class path
  48 javac.opt.Xbootclasspath.a=\
  49     Append to the bootstrap class path
  50 javac.opt.endorseddirs=\
  51     Override location of endorsed standards path
  52 javac.opt.extdirs=\
  53     Override location of installed extensions
  54 javac.opt.processorpath=\
  55     Specify where to find annotation processors
  56 javac.opt.processor=\
  57     Names of the annotation processors to run; bypasses default discovery process
  58 javac.opt.parameters=\
  59     Generate metadata for reflection on method parameters
  60 javac.opt.proc.none.only=\
  61     Control whether annotation processing and/or compilation is done.
  62 javac.opt.d=\
  63     Specify where to place generated class files
  64 javac.opt.sourceDest=\
  65     Specify where to place generated source files
  66 javac.opt.headerDest=\
  67     Specify where to place generated native header files
  68 javac.opt.J=\
  69     Pass <flag> directly to the runtime system
  70 javac.opt.encoding=\
  71     Specify character encoding used by source files
  72 javac.opt.profile=\
  73     Check that API used is available in the specified profile
  74 javac.opt.target=\
  75     Generate class files for specific VM version
  76 javac.opt.platform=\
  77     Compile for a specific VM version. Supported targets: {0}
  78 javac.opt.source=\
  79     Provide source compatibility with specified release
  80 javac.opt.Werror=\
  81     Terminate compilation if warnings occur
  82 javac.opt.A=\
  83     Options to pass to annotation processors
  84 javac.opt.implicit=\
  85     Specify whether or not to generate class files for implicitly referenced files
  86 javac.opt.pkginfo=\
  87     Specify handling of package-info files
  88 javac.opt.arg.class=\
  89     <class>
  90 javac.opt.arg.class.list=\
  91     <class1>[,<class2>,<class3>...]
  92 javac.opt.arg.flag=\
  93     <flag>
  94 javac.opt.arg.key.equals.value=\
  95     key[=value]
  96 javac.opt.arg.path=\
  97     <path>
  98 javac.opt.arg.dirs=\
  99     <dirs>
 100 javac.opt.arg.directory=\
 101     <directory>
 102 javac.opt.arg.encoding=\
 103     <encoding>
 104 javac.opt.arg.profile=\
 105     <profile>
 106 javac.opt.arg.release=\
 107     <release>
 108 javac.opt.arg.platform=\
 109     <platform>
 110 javac.opt.arg.number=\
 111     <number>
 112 javac.opt.plugin=\
 113     Name and optional arguments for a plug-in to be run
 114 javac.opt.arg.plugin=\
 115     "name args"
 116 
 117 ## extended options
 118 
 119 javac.opt.maxerrs=\
 120     Set the maximum number of errors to print
 121 javac.opt.maxwarns=\
 122     Set the maximum number of warnings to print
 123 javac.opt.nogj=\
 124     Don't accept generics in the language
 125 javac.opt.moreinfo=\
 126     Print extended information for type variables
 127 javac.opt.printflat=\
 128     Print abstract syntax tree after inner class conversion
 129 javac.opt.printsearch=\
 130     Print information where classfiles are searched
 131 javac.opt.prompt=\
 132     Stop after each error
 133 javac.opt.retrofit=\
 134     Retrofit existing classfiles with generic types
 135 javac.opt.s=\
 136     Emit java sources instead of classfiles
 137 javac.opt.scramble=\
 138     Scramble private identifiers in bytecode
 139 javac.opt.scrambleall=\
 140     Scramble package visible identifiers in bytecode
 141 javac.opt.version=\
 142     Version information
 143 javac.opt.arg.pathname=\
 144     <pathname>
 145 javac.opt.arg.file=\
 146     <filename>
 147 javac.opt.Xlint=\
 148     Enable recommended warnings
 149 javac.opt.Xlint.all=\
 150     Enable all warnings
 151 javac.opt.Xlint.none=\
 152     Disable all warnings
 153 #L10N: do not localize: -Xlint
 154 javac.opt.Xlint.subopts=\
 155     -Xlint:key,...
 156 javac.opt.Xlint.suboptlist=\n\
 157 \        Warnings to enable or disable, separated by comma.\n\
 158 \        Precede a key by '-' to disable the specified warning.\n\
 159 \        Supported keys are:
 160 javac.opt.Xlint.desc.auxiliaryclass=\
 161     Warn about an auxiliary class that is hidden in a source file, and is used from other files.
 162 
 163 javac.opt.Xlint.desc.cast=\
 164     Warn about use of unnecessary casts.
 165 
 166 javac.opt.Xlint.desc.classfile=\
 167     Warn about issues related to classfile contents.
 168 
 169 javac.opt.Xlint.desc.deprecation=\
 170     Warn about use of deprecated items.
 171 
 172 javac.opt.Xlint.desc.dep-ann=\
 173     Warn about items marked as deprecated in JavaDoc but not using the @Deprecated annotation.
 174 
 175 javac.opt.Xlint.desc.divzero=\
 176     Warn about division by constant integer 0.
 177 
 178 javac.opt.Xlint.desc.empty=\
 179     Warn about empty statement after if.
 180 
 181 javac.opt.Xlint.desc.fallthrough=\
 182     Warn about falling through from one case of a switch statement to the next.
 183 
 184 javac.opt.Xlint.desc.finally=\
 185     Warn about finally clauses that do not terminate normally.
 186 
 187 javac.opt.Xlint.desc.options=\
 188     Warn about issues relating to use of command line options.
 189 
 190 javac.opt.Xlint.desc.overloads=\
 191     Warn about issues regarding method overloads.
 192 
 193 javac.opt.Xlint.desc.overrides=\
 194     Warn about issues regarding method overrides.
 195 
 196 javac.opt.Xlint.desc.path=\
 197     Warn about invalid path elements on the command line.
 198 
 199 javac.opt.Xlint.desc.processing=\
 200     Warn about issues regarding annotation processing.
 201 
 202 javac.opt.Xlint.desc.rawtypes=\
 203     Warn about use of raw types.
 204 
 205 javac.opt.Xlint.desc.serial=\
 206     Warn about Serializable classes that do not provide a serial version ID.
 207 
 208 javac.opt.Xlint.desc.static=\
 209     Warn about accessing a static member using an instance.
 210 
 211 javac.opt.Xlint.desc.sunapi=\
 212     Warn about proprietary API that may be removed in a future release.
 213 
 214 javac.opt.Xlint.desc.try=\
 215     Warn about issues relating to use of try blocks (i.e. try-with-resources).
 216 
 217 javac.opt.Xlint.desc.unchecked=\
 218     Warn about unchecked operations.
 219 
 220 javac.opt.Xlint.desc.varargs=\
 221     Warn about potentially unsafe vararg methods
 222 
 223 javac.opt.Xdoclint=\
 224     Enable recommended checks for problems in javadoc comments
 225 # L10N: do not localize: all none
 226 javac.opt.Xdoclint.subopts = \
 227     (all|none|[-]<group>)[/<access>]
 228 
 229 # L10N: do not localize: accessibility html missing reference syntax
 230 # L10N: do not localize: public protected package private
 231 javac.opt.Xdoclint.custom=\n\
 232 \        Enable or disable specific checks for problems in javadoc comments,\n\
 233 \        where <group> is one of accessibility, html, missing, reference, or syntax,\n\
 234 \        and <access> is one of public, protected, package, or private.
 235 
 236 javac.opt.Xdoclint.package.args = \
 237     ([-]<packages>)
 238 
 239 javac.opt.Xdoclint.package.desc=\n\
 240 \        Enable or disable checks in specific packages. <packages> is a comma separated\n\
 241 \        list of package specifiers. Package specifier is either a qualified name of a package\n\
 242 \        or a package name prefix followed by '.*', which expands to all sub-packages of\n\
 243 \        the given package. Prefix the package specifier with '-' to disable checks for\n\
 244 \        the specified packages.
 245 
 246 javac.opt.Xstdout=\
 247     Redirect standard output
 248 javac.opt.X=\
 249     Print a synopsis of nonstandard options
 250 javac.opt.help=\
 251     Print a synopsis of standard options
 252 javac.opt.print=\
 253     Print out a textual representation of specified types
 254 javac.opt.printRounds=\
 255     Print information about rounds of annotation processing
 256 javac.opt.printProcessorInfo=\
 257     Print information about which annotations a processor is asked to process
 258 javac.opt.userpathsfirst=\
 259     Search classpath and sourcepath for classes before the bootclasspath instead of after
 260 javac.opt.prefer=\
 261     Specify which file to read when both a source file and class file are found for an implicitly compiled class
 262 javac.opt.AT=\
 263     Read options and filenames from file
 264 javac.opt.diags=\
 265     Select a diagnostic mode
 266 
 267 ## errors
 268 
 269 javac.err.empty.A.argument=\
 270     -A requires an argument; use ''-Akey'' or ''-Akey=value''
 271 javac.err.invalid.arg=\
 272     invalid argument: {0}
 273 javac.err.invalid.A.key=\
 274      key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers
 275 javac.err.invalid.flag=\
 276     invalid flag: {0}
 277 javac.err.profile.bootclasspath.conflict=\
 278     profile and bootclasspath options cannot be used together
 279 javac.err.invalid.profile=\
 280     invalid profile: {0}
 281 javac.err.invalid.target=\
 282     invalid target release: {0}
 283 javac.err.no.source.files=\
 284     no source files
 285 javac.err.no.source.files.classes=\
 286     no source files or class names
 287 javac.err.req.arg=\
 288     {0} requires an argument
 289 javac.err.invalid.source=\
 290     invalid source release: {0}
 291 javac.err.error.writing.file=\
 292     error writing {0}; {1}
 293 javac.warn.source.target.conflict=\
 294     source release {0} requires target release {1}
 295 javac.warn.target.default.source.conflict=\
 296     target release {0} conflicts with default source release {1}
 297 javac.warn.profile.target.conflict=\
 298     profile {0} is not valid for target release {1}
 299 javac.err.dir.not.found=\
 300     directory not found: {0}
 301 javac.err.file.not.found=\
 302     file not found: {0}
 303 javac.err.file.not.directory=\
 304     not a directory: {0}
 305 javac.err.file.not.file=\
 306     not a file: {0}
 307 
 308 ## messages
 309 
 310 javac.msg.usage.header=\
 311 Usage: {0} <options> <source files>\n\
 312 where possible options include:
 313 
 314 javac.msg.usage=\
 315     Usage: {0} <options> <source files>\n\
 316     use -help for a list of possible options
 317 
 318 javac.msg.usage.nonstandard.footer=\
 319 These options are non-standard and subject to change without notice.
 320 
 321 javac.msg.bug=\
 322 An exception has occurred in the compiler ({0}). \
 323 Please file a bug at the Java Bug Database (http://bugreport.java.com/bugreport/) \
 324 after checking the database for duplicates. \
 325 Include your program and the following diagnostic in your report.  Thank you.
 326 
 327 javac.msg.io=\
 328 \n\nAn input/output error occurred.\n\
 329 Consult the following stack trace for details.\n
 330 
 331 javac.msg.proc.annotation.uncaught.exception=\
 332 \n\nAn annotation processor threw an uncaught exception.\n\
 333 Consult the following stack trace for details.\n
 334 
 335 javac.msg.plugin.uncaught.exception=\
 336 \n\nA plugin threw an uncaught exception.\n\
 337 Consult the following stack trace for details.\n
 338 
 339 javac.msg.resource=\
 340 \n\nThe system is out of resources.\n\
 341 Consult the following stack trace for details.\n
 342 
 343 javac.version={0} {1}
 344 javac.fullVersion={0} full version "{1}"
 345 
 346 javac.err.platform.bootclasspath.conflict=\
 347     option {0} cannot be used together with -platform
 348 
 349 javac.err.unsupported.platform.version=\
 350     platform version {0} not supported
 351 
 352 javac.err.platform.not.standard.file.manager=\
 353     -platform option specified, but the provided JavaFileManager is not a StandardJavaFileManager.