--- old/test/jdk/tools/jpackage/createappimage/JPackageCreateAppImageRuntimeBase.java 2019-06-28 13:40:45.083532200 -0400 +++ new/test/jdk/tools/jpackage/createappimage/JPackageCreateAppImageRuntimeBase.java 2019-06-28 13:40:43.162707400 -0400 @@ -26,7 +26,6 @@ public class JPackageCreateAppImageRuntimeBase { private static final String app = JPackagePath.getApp(); - private static final String appWorkingDir = JPackagePath.getAppWorkingDir(); private static final String runtimeJava = JPackagePath.getRuntimeJava(); private static final String runtimeJavaOutput = "javaOutput.txt"; private static final String appOutput = JPackagePath.getAppOutputFile(); @@ -51,7 +50,7 @@ throw new AssertionError("Test application exited with error: " + retVal); } - File outfile = new File(appWorkingDir + File.separator + appOutput); + File outfile = new File(appOutput); if (!outfile.exists()) { throw new AssertionError(appOutput + " was not created"); } @@ -84,13 +83,17 @@ } public static void testCreateAppImage(String [] cmd) throws Exception { +System.out.println("----- current dir = " + System.getProperty("user.dir")); JPackageHelper.executeCLI(true, cmd); +System.out.println("----- current dir = " + System.getProperty("user.dir")); validate(); validateRuntime(); } public static void testCreateAppImageToolProvider(String [] cmd) throws Exception { +System.out.println("----- ToolProvider current dir = " + System.getProperty("user.dir")); JPackageHelper.executeToolProvider(true, cmd); +System.out.println("----- ToolProvider current dir = " + System.getProperty("user.dir")); validate(); validateRuntime(); }