8072615: test/lib/testlibrary/jdk/testlibrary/SimpleSSLContext.java wrong on Windows
Reviewed-by: xuelei
--- a/jdk/test/lib/testlibrary/jdk/testlibrary/SimpleSSLContext.java Wed Jul 05 20:18:43 2017 +0200
+++ b/jdk/test/lib/testlibrary/jdk/testlibrary/SimpleSSLContext.java Fri Feb 06 11:38:29 2015 +0800
@@ -56,7 +56,7 @@
*/
public SimpleSSLContext () throws IOException {
String paths = System.getProperty("test.src.path");
- StringTokenizer st = new StringTokenizer(paths,":");
+ StringTokenizer st = new StringTokenizer(paths, File.pathSeparator);
boolean securityExceptions = false;
while (st.hasMoreTokens()) {
String path = st.nextToken();