8030726: tools/javac/NoStringToLower.java fails due to enforcement no use of String.toLowerCase on non-langtools classes
authoremc
Thu, 19 Dec 2013 11:38:45 -0500
changeset 22164 c8eb1ae29c58
parent 22163 3651128c74eb
child 22165 ec53c8946fc2
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
langtools/test/tools/javac/NoStringToLower.java
--- 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,