8182053: Test compiler/aot/verification/ClassAndLibraryNotMatchTest.java fails in JPRT for jdk10/hs
authorbobv
Tue, 27 Jun 2017 14:28:09 -0400
changeset 46582 e00b3e229f11
parent 46532 7c122c98399d
child 46583 873282753046
8182053: Test compiler/aot/verification/ClassAndLibraryNotMatchTest.java fails in JPRT for jdk10/hs Reviewed-by: kvn
hotspot/test/compiler/aot/verification/ClassAndLibraryNotMatchTest.java
--- a/hotspot/test/compiler/aot/verification/ClassAndLibraryNotMatchTest.java	Fri Jun 09 09:27:10 2017 +0200
+++ b/hotspot/test/compiler/aot/verification/ClassAndLibraryNotMatchTest.java	Tue Jun 27 14:28:09 2017 -0400
@@ -86,7 +86,7 @@
 
     private void compileAotLibrary() {
         AotCompiler.launchCompiler(LIB_NAME, HELLO_WORLD_CLASS_NAME,
-                Arrays.asList("-classpath", Utils.TEST_CLASS_PATH + ":."), null);
+                Arrays.asList("-classpath", Utils.TEST_CLASS_PATH + File.pathSeparator + "."), null);
     }
 
     private void runAndCheckHelloWorld(String checkString) {