< prev index next >
test/jdk/tools/jpackage/createappimage/JPackageCreateAppImageIconTest.java
Print this page
@@ -35,11 +35,10 @@
*/
public class JPackageCreateAppImageIconTest {
private static final String OUTPUT = "output";
private static final String app = JPackagePath.getApp();
private static final String appOutput = JPackagePath.getAppOutputFile();
- private static final String appWorkingDir = JPackagePath.getAppWorkingDir();
private static final String[] CMD = {
"--input", "input",
"--name", "test",
"--main-jar", "hello.jar",
@@ -67,11 +66,11 @@
if (retVal != 0) {
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");
}
String output = Files.readString(outfile.toPath());
< prev index next >