On Wed, 2 Apr 2025 14:54:35 GMT, Magnus Ihse Bursie <[email protected]> wrote:

> In the static JDK image, a single humongous java executable is generated, and 
> no other launcher, such as javac. This makes it impossible to run our jtreg 
> tests, which assume these are present.
> 
> The solution is fortunately simply: we just need to add a bunch of trivial 
> launchers, which are thin wrappers that execute the main java binary, with 
> the proper arguments. This will result in the same behavior as the normal 
> dynamic launchers, only that we will need to take the detour of launching 
> another process instead of calling directly into the JLI library.

This pull request has now been integrated.

Changeset: 2dd15cf5
Author:    Magnus Ihse Bursie <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/2dd15cf5bf1614e4b74ad9675723562e14ced8ab
Stats:     822 lines in 14 files changed: 632 ins; 144 del; 46 mod

8346719: Add relaunchers to the static JDK image for missing executables

Reviewed-by: alanb, erikj

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

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

Reply via email to