8072615: test/lib/testlibrary/jdk/testlibrary/SimpleSSLContext.java wrong on Windows

Reviewed-by: xuelei
This commit is contained in:
Weijun Wang 2015-02-06 11:38:29 +08:00
parent b1d6b18b33
commit ee2ba7946a

View File

@ -56,7 +56,7 @@ public class SimpleSSLContext {
*/
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();