Integrated: 8267056: tools/jpackage/share/RuntimePackageTest.java fails with NoSuchFileException
Alexander Matveev
almatvee at openjdk.java.net
Fri May 21 00:47:35 UTC 2021
On Wed, 19 May 2021 21:00:07 GMT, Alexander Matveev <almatvee at 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 <almatvee at 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
More information about the core-libs-dev
mailing list