> 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.
Magnus Ihse Bursie has updated the pull request incrementally with two additional commits since the last revision: - Use size_t for string lengths - Also quote the executable name ------------- Changes: - all: https://git.openjdk.org/jdk/pull/24380/files - new: https://git.openjdk.org/jdk/pull/24380/files/a925dc3e..dd8919a9 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=24380&range=11 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24380&range=10-11 Stats: 8 lines in 2 files changed: 4 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/24380.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24380/head:pull/24380 PR: https://git.openjdk.org/jdk/pull/24380
