On Wed, 19 May 2021 21:00:07 GMT, Alexander Matveev <almat...@openjdk.org> wrote:
> 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. This pull request has now been integrated. Changeset: 9eaa4afc Author: Alexander Matveev <almat...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/9eaa4afc99b09f4704e4d641f95104be40b9ea66 Stats: 15 lines in 2 files changed: 5 ins; 0 del; 10 mod 8267056: tools/jpackage/share/RuntimePackageTest.java fails with NoSuchFileException Reviewed-by: asemenyuk, herrick ------------- PR: https://git.openjdk.java.net/jdk/pull/4120