8030726: tools/javac/NoStringToLower.java fails due to enforcement no use of String.toLowerCase on non-langtools classes
Summary: Fix NoStringToLower test to only enforce ban on String.toLowerCase on langtools classes
Reviewed-by: vromero, jfranck
Contributed-by: paul.govereau@oracle.com
--- a/langtools/test/tools/javac/NoStringToLower.java Wed Dec 18 16:05:18 2013 -0500
+++ b/langtools/test/tools/javac/NoStringToLower.java Thu Dec 19 11:38:45 2013 -0500
@@ -61,7 +61,15 @@
"javax.lang.model",
"javax.tools",
"com.sun.source",
- "com.sun.tools"
+ "com.sun.tools.classfile",
+ "com.sun.tools.doclet",
+ "com.sun.tools.doclint",
+ "com.sun.tools.javac",
+ "com.sun.tools.javadoc",
+ "com.sun.tools.javah",
+ "com.sun.tools.javap",
+ "com.sun.tools.jdeps",
+ "com.sun.tools.sjavac"
};
for (String pkg: pkgs) {
for (JavaFileObject fo: fm.list(javacLoc,