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