# HG changeset patch # User emc # Date 1387471125 18000 # Node ID c8eb1ae29c58304f24355ce8cc7fae529aa9b8a1 # Parent 3651128c74ebbbbbca63bc9f90293a845f92f706 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 diff -r 3651128c74eb -r c8eb1ae29c58 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,