Tue, 25 Sep 2012 13:11:05 -0700
7196464: upgrade JavaCompiler.shouldStopPolicy to accomodate policies in face of error and no error
Reviewed-by: mcimadamore
duke@1 | 1 | # |
jjg@1230 | 2 | # Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. |
duke@1 | 3 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
duke@1 | 4 | # |
duke@1 | 5 | # This code is free software; you can redistribute it and/or modify it |
duke@1 | 6 | # under the terms of the GNU General Public License version 2 only, as |
ohair@554 | 7 | # published by the Free Software Foundation. Oracle designates this |
duke@1 | 8 | # particular file as subject to the "Classpath" exception as provided |
ohair@554 | 9 | # by Oracle in the LICENSE file that accompanied this code. |
duke@1 | 10 | # |
duke@1 | 11 | # This code is distributed in the hope that it will be useful, but WITHOUT |
duke@1 | 12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
duke@1 | 13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
duke@1 | 14 | # version 2 for more details (a copy is included in the LICENSE file that |
duke@1 | 15 | # accompanied this code). |
duke@1 | 16 | # |
duke@1 | 17 | # You should have received a copy of the GNU General Public License version |
duke@1 | 18 | # 2 along with this work; if not, write to the Free Software Foundation, |
duke@1 | 19 | # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
duke@1 | 20 | # |
ohair@554 | 21 | # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@554 | 22 | # or visit www.oracle.com if you need additional information or have any |
ohair@554 | 23 | # questions. |
duke@1 | 24 | # |
duke@1 | 25 | |
duke@1 | 26 | ## standard options |
duke@1 | 27 | |
duke@1 | 28 | javac.opt.g=\ |
duke@1 | 29 | Generate all debugging info |
duke@1 | 30 | javac.opt.g.none=\ |
duke@1 | 31 | Generate no debugging info |
duke@1 | 32 | javac.opt.g.lines.vars.source=\ |
duke@1 | 33 | Generate only some debugging info |
duke@1 | 34 | javac.opt.nowarn=\ |
duke@1 | 35 | Generate no warnings |
duke@1 | 36 | javac.opt.verbose=\ |
duke@1 | 37 | Output messages about what the compiler is doing |
duke@1 | 38 | javac.opt.deprecation=\ |
duke@1 | 39 | Output source locations where deprecated APIs are used |
duke@1 | 40 | javac.opt.classpath=\ |
duke@1 | 41 | Specify where to find user class files and annotation processors |
duke@1 | 42 | javac.opt.sourcepath=\ |
duke@1 | 43 | Specify where to find input source files |
duke@1 | 44 | javac.opt.bootclasspath=\ |
duke@1 | 45 | Override location of bootstrap class files |
duke@1 | 46 | javac.opt.Xbootclasspath.p=\ |
duke@1 | 47 | Prepend to the bootstrap class path |
duke@1 | 48 | javac.opt.Xbootclasspath.a=\ |
duke@1 | 49 | Append to the bootstrap class path |
duke@1 | 50 | javac.opt.endorseddirs=\ |
duke@1 | 51 | Override location of endorsed standards path |
duke@1 | 52 | javac.opt.extdirs=\ |
duke@1 | 53 | Override location of installed extensions |
duke@1 | 54 | javac.opt.processorpath=\ |
duke@1 | 55 | Specify where to find annotation processors |
duke@1 | 56 | javac.opt.processor=\ |
duke@1 | 57 | Names of the annotation processors to run; bypasses default discovery process |
duke@1 | 58 | javac.opt.proc.none.only=\ |
duke@1 | 59 | Control whether annotation processing and/or compilation is done. |
duke@1 | 60 | javac.opt.d=\ |
duke@1 | 61 | Specify where to place generated class files |
duke@1 | 62 | javac.opt.sourceDest=\ |
duke@1 | 63 | Specify where to place generated source files |
jjg@1230 | 64 | javac.opt.headerDest=\ |
jjg@1230 | 65 | Specify where to place generated native header files |
duke@1 | 66 | javac.opt.J=\ |
duke@1 | 67 | Pass <flag> directly to the runtime system |
duke@1 | 68 | javac.opt.encoding=\ |
duke@1 | 69 | Specify character encoding used by source files |
duke@1 | 70 | javac.opt.target=\ |
duke@1 | 71 | Generate class files for specific VM version |
duke@1 | 72 | javac.opt.source=\ |
duke@1 | 73 | Provide source compatibility with specified release |
jjg@215 | 74 | javac.opt.Werror=\ |
jjg@215 | 75 | Terminate compilation if warnings occur |
duke@1 | 76 | javac.opt.A=\ |
duke@1 | 77 | Options to pass to annotation processors |
duke@1 | 78 | javac.opt.implicit=\ |
jjg@657 | 79 | Specify whether or not to generate class files for implicitly referenced files |
jjg@657 | 80 | javac.opt.pkginfo=\ |
jjg@657 | 81 | Specify handling of package-info files |
duke@1 | 82 | javac.opt.arg.class=\ |
duke@1 | 83 | <class> |
duke@1 | 84 | javac.opt.arg.class.list=\ |
duke@1 | 85 | <class1>[,<class2>,<class3>...] |
duke@1 | 86 | javac.opt.arg.flag=\ |
duke@1 | 87 | <flag> |
duke@1 | 88 | javac.opt.arg.key.equals.value=\ |
duke@1 | 89 | key[=value] |
duke@1 | 90 | javac.opt.arg.path=\ |
duke@1 | 91 | <path> |
duke@1 | 92 | javac.opt.arg.dirs=\ |
duke@1 | 93 | <dirs> |
duke@1 | 94 | javac.opt.arg.directory=\ |
duke@1 | 95 | <directory> |
duke@1 | 96 | javac.opt.arg.encoding=\ |
duke@1 | 97 | <encoding> |
duke@1 | 98 | javac.opt.arg.release=\ |
duke@1 | 99 | <release> |
duke@1 | 100 | javac.opt.arg.number=\ |
duke@1 | 101 | <number> |
duke@1 | 102 | |
duke@1 | 103 | ## extended options |
duke@1 | 104 | |
duke@1 | 105 | javac.opt.maxerrs=\ |
duke@1 | 106 | Set the maximum number of errors to print |
duke@1 | 107 | javac.opt.maxwarns=\ |
duke@1 | 108 | Set the maximum number of warnings to print |
duke@1 | 109 | javac.opt.nogj=\ |
duke@1 | 110 | Don't accept generics in the language |
duke@1 | 111 | javac.opt.moreinfo=\ |
duke@1 | 112 | Print extended information for type variables |
duke@1 | 113 | javac.opt.printflat=\ |
duke@1 | 114 | Print abstract syntax tree after inner class conversion |
duke@1 | 115 | javac.opt.printsearch=\ |
duke@1 | 116 | Print information where classfiles are searched |
duke@1 | 117 | javac.opt.prompt=\ |
duke@1 | 118 | Stop after each error |
duke@1 | 119 | javac.opt.retrofit=\ |
duke@1 | 120 | Retrofit existing classfiles with generic types |
duke@1 | 121 | javac.opt.s=\ |
duke@1 | 122 | Emit java sources instead of classfiles |
duke@1 | 123 | javac.opt.scramble=\ |
duke@1 | 124 | Scramble private identifiers in bytecode |
duke@1 | 125 | javac.opt.scrambleall=\ |
duke@1 | 126 | Scramble package visible identifiers in bytecode |
duke@1 | 127 | javac.opt.version=\ |
duke@1 | 128 | Version information |
duke@1 | 129 | javac.opt.arg.pathname=\ |
duke@1 | 130 | <pathname> |
duke@1 | 131 | javac.opt.arg.file=\ |
duke@1 | 132 | <filename> |
duke@1 | 133 | javac.opt.Xlint=\ |
duke@1 | 134 | Enable recommended warnings |
duke@1 | 135 | javac.opt.Xlint.suboptlist=\ |
duke@1 | 136 | Enable or disable specific warnings |
duke@1 | 137 | javac.opt.Xstdout=\ |
duke@1 | 138 | Redirect standard output |
duke@1 | 139 | javac.opt.X=\ |
duke@1 | 140 | Print a synopsis of nonstandard options |
duke@1 | 141 | javac.opt.help=\ |
duke@1 | 142 | Print a synopsis of standard options |
duke@1 | 143 | javac.opt.print=\ |
duke@1 | 144 | Print out a textual representation of specified types |
duke@1 | 145 | javac.opt.printRounds=\ |
duke@1 | 146 | Print information about rounds of annotation processing |
duke@1 | 147 | javac.opt.printProcessorInfo=\ |
duke@1 | 148 | Print information about which annotations a processor is asked to process |
duke@1 | 149 | javac.opt.prefer=\ |
duke@1 | 150 | Specify which file to read when both a source file and class file are found for an implicitly compiled class |
jjg@916 | 151 | javac.opt.AT=\ |
jjg@916 | 152 | Read options and filenames from file |
duke@1 | 153 | |
duke@1 | 154 | ## errors |
duke@1 | 155 | |
duke@1 | 156 | javac.err.empty.A.argument=\ |
duke@1 | 157 | -A requires an argument; use ''-Akey'' or ''-Akey=value'' |
duke@1 | 158 | javac.err.invalid.arg=\ |
duke@1 | 159 | invalid argument: {0} |
duke@1 | 160 | javac.err.invalid.A.key=\ |
duke@1 | 161 | key in annotation processor option ''{0}'' is not a dot-separated sequence of identifiers |
duke@1 | 162 | javac.err.invalid.flag=\ |
duke@1 | 163 | invalid flag: {0} |
duke@1 | 164 | javac.err.invalid.target=\ |
duke@1 | 165 | invalid target release: {0} |
duke@1 | 166 | javac.err.no.source.files=\ |
duke@1 | 167 | no source files |
jjg@902 | 168 | javac.err.no.source.files.classes=\ |
jjg@902 | 169 | no source files or class names |
duke@1 | 170 | javac.err.req.arg=\ |
duke@1 | 171 | {0} requires an argument |
duke@1 | 172 | javac.err.invalid.source=\ |
duke@1 | 173 | invalid source release: {0} |
duke@1 | 174 | javac.err.error.writing.file=\ |
duke@1 | 175 | error writing {0}; {1} |
duke@1 | 176 | javac.warn.source.target.conflict=\ |
duke@1 | 177 | source release {0} requires target release {1} |
duke@1 | 178 | javac.warn.target.default.source.conflict=\ |
duke@1 | 179 | target release {0} conflicts with default source release {1} |
duke@1 | 180 | javac.err.dir.not.found=\ |
duke@1 | 181 | directory not found: {0} |
duke@1 | 182 | javac.err.file.not.found=\ |
duke@1 | 183 | file not found: {0} |
duke@1 | 184 | javac.err.file.not.directory=\ |
duke@1 | 185 | not a directory: {0} |
duke@1 | 186 | javac.err.file.not.file=\ |
duke@1 | 187 | not a file: {0} |
duke@1 | 188 | ## messages |
duke@1 | 189 | |
duke@1 | 190 | javac.msg.usage.header=\ |
duke@1 | 191 | Usage: {0} <options> <source files>\n\ |
duke@1 | 192 | where possible options include: |
duke@1 | 193 | |
duke@1 | 194 | javac.msg.usage=\ |
duke@1 | 195 | Usage: {0} <options> <source files>\n\ |
duke@1 | 196 | use -help for a list of possible options |
duke@1 | 197 | |
duke@1 | 198 | javac.msg.usage.nonstandard.footer=\ |
duke@1 | 199 | These options are non-standard and subject to change without notice. |
jjg@657 | 200 | |
duke@1 | 201 | javac.msg.bug=\ |
duke@1 | 202 | An exception has occurred in the compiler ({0}). \ |
duke@1 | 203 | Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) \ |
duke@1 | 204 | after checking the Bug Parade for duplicates. \ |
duke@1 | 205 | Include your program and the following diagnostic in your report. Thank you. |
duke@1 | 206 | |
duke@1 | 207 | javac.msg.io=\ |
duke@1 | 208 | \n\nAn input/output error occurred.\n\ |
duke@1 | 209 | Consult the following stack trace for details.\n |
duke@1 | 210 | |
duke@1 | 211 | javac.msg.proc.annotation.uncaught.exception=\ |
duke@1 | 212 | \n\nAn annotation processor threw an uncaught exception.\n\ |
duke@1 | 213 | Consult the following stack trace for details.\n |
duke@1 | 214 | |
duke@1 | 215 | javac.msg.resource=\ |
duke@1 | 216 | \n\nThe system is out of resources.\n\ |
duke@1 | 217 | Consult the following stack trace for details.\n |
duke@1 | 218 | |
duke@1 | 219 | javac.version={0} {1} |
duke@1 | 220 | javac.fullVersion={0} full version "{1}" |