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