8222439: New jpackage test fails on mac, linux JDK-8200758-branch
authorherrick
Mon, 15 Apr 2019 08:56:39 -0400
branchJDK-8200758-branch
changeset 57326 603101a378fe
parent 57325 e678ef92ef0b
child 57327 8b01c7bfb36f
8222439: New jpackage test fails on mac, linux Reviewed-by: kbr
test/jdk/tools/jpackage/createappimage/JPackageCreateAppImageModulePathTest.java
--- a/test/jdk/tools/jpackage/createappimage/JPackageCreateAppImageModulePathTest.java	Sat Apr 13 07:52:21 2019 -0400
+++ b/test/jdk/tools/jpackage/createappimage/JPackageCreateAppImageModulePathTest.java	Mon Apr 15 08:56:39 2019 -0400
@@ -31,6 +31,9 @@
  * @modules jdk.jpackage
  * @run main/othervm -Xmx512m JPackageCreateAppImageModulePathTest
  */
+
+import java.io.File;
+
 public class JPackageCreateAppImageModulePathTest {
     private static final String OUTPUT = "output";
 
@@ -47,7 +50,7 @@
         "--output", OUTPUT,
         "--name", "test",
         "--module", "com.hello/com.hello.Hello",
-        "--module-path", "input;input-other",
+        "--module-path", "input" + File.pathSeparator + "input-other",
     };
 
     private static final String [] CMD3 = {