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