Integrated: 8374222: jpackage will exit with error if it fails to clean the temp directory

Alexey Semenyuk asemenyuk at openjdk.org
Wed Feb 25 17:46:38 UTC 2026


On Wed, 11 Feb 2026 04:13:53 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> jpackage will attempt to delete the temp directory a few times. If all attempts fail, it will print remaining files and empty directories (100 entries at most) to the console and continue. It will not exit with an error status as previously, as this is not a critical error.

This pull request has now been integrated.

Changeset: 9d4fbbe3
Author:    Alexey Semenyuk <asemenyuk at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9d4fbbe36d85d71ce850bb83bbfb1ce1d3e8dd23
Stats:     883 lines in 5 files changed: 866 ins; 7 del; 10 mod

8374222: jpackage will exit with error if it fails to clean the temp directory

Reviewed-by: almatvee

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

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


More information about the core-libs-dev mailing list