changeset 3131:c0ebdd10888c

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
author emc
date Thu, 19 Dec 2013 11:38:45 -0500
parents b9bf5b3d5445
children a10c5a27b7be
files test/tools/javac/NoStringToLower.java
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/javac/NoStringToLower.java	Wed Dec 18 16:05:18 2013 -0500
+++ b/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,