Integrated: 8346434: Add test for non-automatic service binding

Alexey Semenyuk asemenyuk at openjdk.org
Thu Feb 6 14:13:15 UTC 2025


On Fri, 10 Jan 2025 21:23:22 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> Added a test case to JLinkOptionsTest to test that jpackage doesn't bind services in app's runtime by default.
> 
> The test builds two app images for the same app. One with the default jlink options and another with `--bind-services` jlink option. The test compares module lists from both runtimes. The expected result is that the runtime built with `--bind-services` jlink option has additional modules.
> 
> The PR must be integrated after https://github.com/openjdk/jdk/pull/22644. Otherwise, the newly added test will fail.

This pull request has now been integrated.

Changeset: 2093bb74
Author:    Alexey Semenyuk <asemenyuk at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2093bb74676620c416e42fb94b6f5a482700926b
Stats:     70 lines in 3 files changed: 49 ins; 10 del; 11 mod

8346434: Add test for non-automatic service binding

Reviewed-by: almatvee

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

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


More information about the core-libs-dev mailing list