1 #
   2 # Copyright (c) 1999, 2012, 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.target=\
  73     Generate class files for specific VM version
  74 javac.opt.source=\
  75     Provide source compatibility with specified release
  76 javac.opt.Werror=\
  77     Terminate compilation if warnings occur
  78 javac.opt.A=\
  79     Options to pass to annotation processors
  80 javac.opt.implicit=\
  81     Specify whether or not to generate class files for implicitly referenced files
  82 javac.opt.pkginfo=\
  83     Specify handling of package-info files
  84 javac.opt.arg.class=\
  85     <class>
  86 javac.opt.arg.class.list=\
  87     <class1>[,<class2>,<class3>...]
  88 javac.opt.arg.flag=\
  89     <flag>
  90 javac.opt.arg.key.equals.value=\
  91     key[=value]
  92 javac.opt.arg.path=\
  93     <path>
  94 javac.opt.arg.dirs=\
  95     <dirs>
  96 javac.opt.arg.directory=\
  97     <directory>
  98 javac.opt.arg.encoding=\
  99     <encoding>
 100 javac.opt.arg.release=\
 101     <release>
 102 javac.opt.arg.number=\
 103     <number>
 104 javac.opt.plugin=\
 105     Name and optional arguments for a plug-in to be run
 106 javac.opt.arg.plugin=\
 107     "name args"
 108 
 109 ## extended options
 110 
 111 javac.opt.maxerrs=\
 112     Set the maximum number of errors to print
 113 javac.opt.maxwarns=\
 114     Set the maximum number of warnings to print
 115 javac.opt.nogj=\
 116     Don't accept generics in the language
 117 javac.opt.moreinfo=\
 118     Print extended information for type variables
 119 javac.opt.printflat=\
 120     Print abstract syntax tree after inner class conversion
 121 javac.opt.printsearch=\
 122     Print information where classfiles are searched
 123 javac.opt.prompt=\
 124     Stop after each error
 125 javac.opt.retrofit=\
 126     Retrofit existing classfiles with generic types
 127 javac.opt.s=\
 128     Emit java sources instead of classfiles
 129 javac.opt.scramble=\
 130     Scramble private identifiers in bytecode
 131 javac.opt.scrambleall=\
 132     Scramble package visible identifiers in bytecode
 133 javac.opt.version=\
 134     Version information
 135 javac.opt.arg.pathname=\
 136     <pathname>
 137 javac.opt.arg.file=\
 138     <filename>
 139 javac.opt.Xlint=\
 140     Enable recommended warnings
 141 javac.opt.Xlint.suboptlist=\
 142     Enable or disable specific warnings
 143 javac.opt.Xdoclint=\
 144     Enable recommended checks for problems in javadoc comments
 145 javac.opt.Xdoclint.subopts = \
 146     (all|[-]<group>)[/<access>]
 147 javac.opt.Xdoclint.custom=\n\
 148 \        Enable or disable specific checks for problems in javadoc comments,\n\
 149 \        where <group> is one of accessibility, html, reference, or syntax,\n\
 150 \        and <access> is one of public, protected, package, or private.
 151 javac.opt.Xstdout=\
 152     Redirect standard output
 153 javac.opt.X=\
 154     Print a synopsis of nonstandard options
 155 javac.opt.help=\
 156     Print a synopsis of standard options
 157 javac.opt.print=\
 158     Print out a textual representation of specified types
 159 javac.opt.printRounds=\
 160     Print information about rounds of annotation processing
 161 javac.opt.printProcessorInfo=\
 162     Print information about which annotations a processor is asked to process
 163 javac.opt.prefer=\
 164     Specify which file to read when both a source file and class file are found for an implicitly compiled class
 165 javac.opt.AT=\
 166     Read options and filenames from file
 167 
 168 ## errors
 169 
 170 javac.err.empty.A.argument=\
 171     -A requires an argument; use ''-Akey'' or ''-Akey=value''
 172 javac.err.invalid.arg=\
 173     invalid argument: {0}
 174 javac.err.invalid.A.key=\
 175      key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers
 176 javac.err.invalid.flag=\
 177     invalid flag: {0}
 178 javac.err.invalid.target=\
 179     invalid target release: {0}
 180 javac.err.no.source.files=\
 181     no source files
 182 javac.err.no.source.files.classes=\
 183     no source files or class names
 184 javac.err.req.arg=\
 185     {0} requires an argument
 186 javac.err.invalid.source=\
 187     invalid source release: {0}
 188 javac.err.error.writing.file=\
 189     error writing {0}; {1}
 190 javac.warn.source.target.conflict=\
 191     source release {0} requires target release {1}
 192 javac.warn.target.default.source.conflict=\
 193     target release {0} conflicts with default source release {1}
 194 javac.err.dir.not.found=\
 195     directory not found: {0}
 196 javac.err.file.not.found=\
 197     file not found: {0}
 198 javac.err.file.not.directory=\
 199     not a directory: {0}
 200 javac.err.file.not.file=\
 201     not a file: {0}
 202 javac.msg.plugin.not.found=\
 203     plug-in not found: {0}
 204 ## messages
 205 
 206 javac.msg.usage.header=\
 207 Usage: {0} <options> <source files>\n\
 208 where possible options include:
 209 
 210 javac.msg.usage=\
 211     Usage: {0} <options> <source files>\n\
 212     use -help for a list of possible options
 213 
 214 javac.msg.usage.nonstandard.footer=\
 215 These options are non-standard and subject to change without notice.
 216 
 217 javac.msg.bug=\
 218 An exception has occurred in the compiler ({0}). \
 219 Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  \
 220 after checking the Bug Parade for duplicates. \
 221 Include your program and the following diagnostic in your report.  Thank you.
 222 
 223 javac.msg.io=\
 224 \n\nAn input/output error occurred.\n\
 225 Consult the following stack trace for details.\n
 226 
 227 javac.msg.proc.annotation.uncaught.exception=\
 228 \n\nAn annotation processor threw an uncaught exception.\n\
 229 Consult the following stack trace for details.\n
 230 
 231 javac.msg.plugin.uncaught.exception=\
 232 \n\nA plugin threw an uncaught exception.\n\
 233 Consult the following stack trace for details.\n
 234 
 235 javac.msg.resource=\
 236 \n\nThe system is out of resources.\n\
 237 Consult the following stack trace for details.\n
 238 
 239 javac.version={0} {1}
 240 javac.fullVersion={0} full version "{1}"