RFR: 8375240: Make bundling progress messages issued by jpackage consistent across platforms

Alexey Semenyuk asemenyuk at openjdk.org
Wed Jan 14 02:13:10 UTC 2026


Replace platform-specific progress messages with shared ones.

Remove explicit log statements from the packagers and make them "before" and "after" actions of pipeline tasks.

Additionally:
 - Unify the deletion of an old bundle between platforms. For this, add a new `DELETE_OLD_PACKAGE_FILE` pipeline task, which is a prerequisite for the `CREATE_PACKAGE_FILE` task.
 - Add `BundleType` to the module. Make it a supertype for the existing `AppImagePackageType` (renamed to `AppImageBundleType`) and `PackageType` interfaces.

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

Commit messages:
 - Update copyright year
 - Add test coverage for "error.output-bundle-cannot-be-overwritten" error
 - Support log messages for tasks in the packaging pipeline. Unify logging of app image and package generation across all packagers.
 - PackagingPipeline: add PackageTaskID.DELETE_OLD_PACKAGE_FILE task
 - BundleType: add label(); AppImageBundleType: make it enum with three items for each supported platforms; MainResources.properties: make package type names consistent
 - Add BundleType to the model.

Changes: https://git.openjdk.org/jdk/pull/29199/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29199&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8375240
  Stats: 857 lines in 28 files changed: 539 ins; 189 del; 129 mod
  Patch: https://git.openjdk.org/jdk/pull/29199.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29199/head:pull/29199

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


More information about the core-libs-dev mailing list