8072615: test/lib/testlibrary/jdk/testlibrary/SimpleSSLContext.java wrong on Windows
authorweijun
Fri, 06 Feb 2015 11:38:29 +0800
changeset 28845 fda687f9b986
parent 28806 1550b2f6b63d
child 28846 b96683be2713
8072615: test/lib/testlibrary/jdk/testlibrary/SimpleSSLContext.java wrong on Windows Reviewed-by: xuelei
jdk/test/lib/testlibrary/jdk/testlibrary/SimpleSSLContext.java
--- 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();