# HG changeset patch # User jjg # Date 1352337612 28800 # Node ID f083d81c2b461421fe9c9cf5281252714dd93fbf # Parent c18762e096ae67e2a794851fb4cba3b3b7833fa0 8003134: CheckResourceKeys issues Reviewed-by: jjh, bpatel diff -r c18762e096ae -r f083d81c2b46 langtools/src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties --- a/langtools/src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties Wed Nov 07 17:01:19 2012 -0800 +++ b/langtools/src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties Wed Nov 07 17:20:12 2012 -0800 @@ -91,9 +91,7 @@ doclet.Subinterfaces=All Known Subinterfaces: doclet.Implementing_Classes=All Known Implementing Classes: doclet.also=also -doclet.FRAMES=FRAMES doclet.Frames=Frames -doclet.NO_FRAMES=NO FRAMES doclet.No_Frames=No Frames doclet.Package_Hierarchies=Package Hierarchies: doclet.Hierarchy_For_Package=Hierarchy For Package {0} diff -r c18762e096ae -r f083d81c2b46 langtools/test/tools/javac/diags/CheckResourceKeys.java --- a/langtools/test/tools/javac/diags/CheckResourceKeys.java Wed Nov 07 17:01:19 2012 -0800 +++ b/langtools/test/tools/javac/diags/CheckResourceKeys.java Wed Nov 07 17:20:12 2012 -0800 @@ -310,9 +310,8 @@ pkg, EnumSet.of(JavaFileObject.Kind.CLASS), true)) { String name = fo.getName(); // ignore resource files, and files which are not really part of javac - if (name.matches(".*resources.[A-Za-z_0-9]+\\.class") - || name.endsWith("Launcher.class") - || name.endsWith("CreateSymbols.class")) + if (name.matches(".*resources.[A-Za-z_0-9]+\\.class.*") + || name.matches(".*CreateSymbols\\.class.*")) continue; scan(fo, results); } diff -r c18762e096ae -r f083d81c2b46 langtools/test/tools/javadoc/CheckResourceKeys.java --- a/langtools/test/tools/javadoc/CheckResourceKeys.java Wed Nov 07 17:01:19 2012 -0800 +++ b/langtools/test/tools/javadoc/CheckResourceKeys.java Wed Nov 07 17:20:12 2012 -0800 @@ -151,7 +151,7 @@ pkg, EnumSet.of(JavaFileObject.Kind.CLASS), true)) { String name = fo.getName(); // ignore resource files - if (name.matches(".*resources.[A-Za-z_0-9]+\\.class")) + if (name.matches(".*resources.[A-Za-z_0-9]+\\.class.*")) continue; scan(fo, results); }