Integrated: 8365555: Cleanup redundancies in jpackage implementation

Alexey Semenyuk asemenyuk at openjdk.org
Sat Aug 16 04:44:29 UTC 2025


On Thu, 14 Aug 2025 13:35:50 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> - Remove AppImageDesc class. It was supposed to bind an AppImageLayout instance with a root directory, but since AppImageLayout has `rootDirectory()` method it is redundant.
>  - Remove redundant `Package.packageLayout()` and `Package.asPackageApplicationLayout()` methods from the model, 
>  - Add tests for PackagingPipeline class.
>  - Move JUnitAdapter.java from "/test/jdk/tools/jpackage/helpers-test" to "/test/jdk/tools/jpackage/junit/tools" directory, support running platform-specific JUnit tests.
>  - Enhance AppImageLayout class, add unit tests for derived MacApplicationLayout and LinuxApplicationLayout classes.
>  - Add tests for BuildEnv class.

This pull request has now been integrated.

Changeset: 57210af9
Author:    Alexey Semenyuk <asemenyuk at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/57210af9bceb582be112564465ab66cebd43a4c0
Stats:     2365 lines in 56 files changed: 1921 ins; 229 del; 215 mod

8365555: Cleanup redundancies in jpackage implementation

Reviewed-by: almatvee

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

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


More information about the core-libs-dev mailing list