Integrated: 8375323: Improve handling of the "--app-content" and "--input" options in jpackage

Alexey Semenyuk asemenyuk at openjdk.org
Fri Jan 16 20:07:30 UTC 2026


On Tue, 13 Jan 2026 15:11:37 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> Change how the values of the "--app-content", "--input", and "--mac-dmg-content" options are handled. Traverse the input directories during the configuration phase, before jpackage creates any output, rather than during the packaging phase.
> 
> This change required rework of the cli package to support converting values of any type to any type (`T -> T2`). Previously, it supported only String converters (`String -> T`).

This pull request has now been integrated.

Changeset: e7432d57
Author:    Alexey Semenyuk <asemenyuk at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e7432d574540109e2c4faca11cf49d9272a147e6
Stats:     1999 lines in 45 files changed: 1420 ins; 293 del; 286 mod

8375323: Improve handling of the "--app-content" and "--input" options in jpackage

Reviewed-by: almatvee

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

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


More information about the core-libs-dev mailing list