> For debug build on macOS, runtime which used for test fill be located in > /path/jdk-17/fastdebug and /path/jdk-17 will not contain any other files > except fastdebug and in this case our check to decide if we need to copy app > or runtime will return /path/jdk-17 which is not correct. Fixed by skipping > this check for runtime and only using it for app. Also, added ignoring > .DS_Store to test which is needed if user used Finder to look inside runtime > folder which will cause .DS_Store to be created and will cause test to fail, > since this file is not being packaged.
Alexander Matveev has updated the pull request incrementally with one additional commit since the last revision: 8267056: tools/jpackage/share/RuntimePackageTest.java fails with NoSuchFileException [v2] ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/4120/files - new: https://git.openjdk.java.net/jdk/pull/4120/files/de575160..bce1c7e4 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4120&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4120&range=00-01 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/4120.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/4120/head:pull/4120 PR: https://git.openjdk.java.net/jdk/pull/4120