8164837: fix jdeprscan TestLoad and TestScan failures on Windows
Reviewed-by: darcy
--- a/langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/Main.java Wed Jul 05 22:08:56 2017 +0200
+++ b/langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/Main.java Mon Aug 29 13:44:43 2016 -0700
@@ -181,7 +181,7 @@
.filter(name -> !name.endsWith("package-info.class"))
.filter(name -> !name.endsWith("module-info.class"))
.map(s -> s.replaceAll("\\.class$", ""))
- .map(s -> s.replace('/', '.'))
+ .map(s -> s.replace(File.separatorChar, '.'))
.collect(toList()));
}
--- a/langtools/test/ProblemList.txt Wed Jul 05 22:08:56 2017 +0200
+++ b/langtools/test/ProblemList.txt Mon Aug 29 13:44:43 2016 -0700
@@ -77,10 +77,3 @@
###########################################################################
#
# jdeps
-
-###########################################################################
-#
-# jdeprscan
-
-tools/jdeprscan/tests/jdk/jdeprscan/TestLoad.java 8164837 windows-all probably line breaks or encoding
-tools/jdeprscan/tests/jdk/jdeprscan/TestScan.java 8164837 windows-all probably line breaks or encoding