Integrated: 8342609: jpackage test helper function incorrectly removes a directory instead of its contents only

Alexey Semenyuk asemenyuk at openjdk.org
Mon Oct 21 22:16:16 UTC 2024


On Fri, 18 Oct 2024 13:45:00 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> `Files.walk(root, 0)` returns the `root` itself and not the contents of the `root`.
> Replaced `Files.walk(root, 0)` with `Files.list(root)` to get a non-recursive listing of the `root` directory.

This pull request has now been integrated.

Changeset: 7133d1b9
Author:    Alexey Semenyuk <asemenyuk at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7133d1b983d7b85ba3c8dde26eb654c7ab695b07
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8342609: jpackage test helper function incorrectly removes a directory instead of its contents only

Reviewed-by: almatvee

-------------

PR: https://git.openjdk.org/jdk/pull/21582


More information about the core-libs-dev mailing list