mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8003134: CheckResourceKeys issues
Reviewed-by: jjh, bpatel
This commit is contained in:
parent
eb055bba92
commit
18b3a4951e
3 changed files with 3 additions and 6 deletions
|
@ -91,9 +91,7 @@ doclet.Subclasses=Direct Known Subclasses:
|
|||
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}
|
||||
|
|
|
@ -310,9 +310,8 @@ public class CheckResourceKeys {
|
|||
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);
|
||||
}
|
||||
|
|
|
@ -151,7 +151,7 @@ public class CheckResourceKeys {
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue