test/jdk/tools/jpackage/junit/jdk/jpackage/internal/AppImageFileTest.java
branchJDK-8200758-branch
changeset 58762 0fe62353385b
parent 58696 61c44899b4eb
--- a/test/jdk/tools/jpackage/junit/jdk/jpackage/internal/AppImageFileTest.java	Wed Oct 23 10:10:34 2019 -0400
+++ b/test/jdk/tools/jpackage/junit/jdk/jpackage/internal/AppImageFileTest.java	Wed Oct 23 10:37:54 2019 -0400
@@ -154,7 +154,7 @@
 
     private AppImageFile createFromXml(String... xmlData) throws IOException {
         Path directory = tempFolder.getRoot().toPath();
-        Path path = directory.resolve(AppImageFile.FILENAME);
+        Path path = AppImageFile.getPathInAppImage(directory);
         path.toFile().mkdirs();
         Files.delete(path);