< prev index next >
test/jdk/tools/jpackage/createappimage/macosx/JPackageCreateAppImageBundleIdentifierTest.java
Print this page
@@ -42,11 +42,10 @@
*/
public class JPackageCreateAppImageBundleIdentifierTest {
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 MAC_BUNDLE_IDENTIFIER = "TestBundleIdentifier";
private static final String APP_NAME = "test";
private static final String MAIN_CLASS = "Hello";
private static final String [] CMD_1 = {
@@ -86,11 +85,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 >