src/share/classes/com/sun/tools/javac/resources/javac.properties

Tue, 29 Sep 2015 21:22:35 +0200

author
jlahoda
date
Tue, 29 Sep 2015 21:22:35 +0200
changeset 2907
aec633bcb3af
parent 2795
1500756ea2b8
child 3295
859dc787b52b
permissions
-rw-r--r--

8133454: Update Java Compiler Error Message
Summary: Updating the error message that is used when javac crashes.
Reviewed-by: jjg
Contributed-by: nelson.dcosta@oracle.com

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

mercurial