8343412: Missing escapes for single quote marks in javac.properties

Reviewed-by: vromero
This commit is contained in:
Archie Cobbs 2024-11-02 02:32:02 +00:00
parent 8c1cf8fabe
commit 00ec10574d
2 changed files with 6 additions and 6 deletions

View File

@ -148,7 +148,7 @@ javac.opt.maxerrs=\
javac.opt.maxwarns=\
Set the maximum number of warnings to print
javac.opt.nogj=\
Don't accept generics in the language
Don''t accept generics in the language
javac.opt.moreinfo=\
Print extended information for type variables
javac.opt.printsearch=\
@ -178,7 +178,7 @@ javac.opt.arg.Xlint=\
<key>(,<key>)*
javac.opt.Xlint.custom=\
Warnings to enable or disable, separated by comma.\n\
Precede a key by '-' to disable the specified warning.\n\
Precede a key by ''-'' to disable the specified warning.\n\
Use --help-lint to see the supported keys.
javac.opt.Xlint.desc.auxiliaryclass=\
Warn about an auxiliary class that is hidden in a source file, and is used from other files.
@ -313,9 +313,9 @@ javac.opt.Xdoclint.package.args = \
javac.opt.Xdoclint.package.desc=\
Enable or disable checks in specific packages. Each <package> is either\n\
the qualified name of a package or a package name prefix followed by '.*',\n\
a qualified package name or a package name prefix followed by ''.*'',\n\
which expands to all sub-packages of the given package. Each <package>\n\
can be prefixed with '-' to disable checks for the specified package(s).
can be prefixed with ''-'' to disable checks for the specified package(s).
javac.opt.Xstdout=\
Redirect standard output
@ -382,7 +382,7 @@ javac.opt.default.module.for.created.files=\
Fallback target module for files created by annotation processors,\n\
if none specified or inferred.
javac.opt.lineDocComments=\
Disable support for documentation comments with lines beginning '///'
Disable support for documentation comments with lines beginning ''///''
## messages

View File

@ -524,7 +524,7 @@ public class CheckResourceKeys {
List<ResourceBundle> getMessageFormatBundles() {
Module jdk_compiler = ModuleLayer.boot().findModule("jdk.compiler").get();
List<ResourceBundle> results = new ArrayList<>();
for (String name : new String[]{"compiler", "launcher"}) {
for (String name : new String[]{"javac", "compiler", "launcher"}) {
ResourceBundle b =
ResourceBundle.getBundle("com.sun.tools.javac.resources." + name, jdk_compiler);
results.add(b);