[crac] RFR: 8364624: [CRaC] Resolve startup failures with static JDK build

Dmitry Cherepanov dcherepanov at openjdk.org
Mon Aug 4 11:27:22 UTC 2025


The patch fixes locating the `lib` folder and also fixes handling for `crexec` case for static JDK build.

It also fixes "setup CRIU" test step and ensures that criu is copied into static JDK for static JDK build. Another change in tests is to re-enable tests for static JDK and add some CRaC tests with known failures to the exclude list for static JDK (tests requiring jcmd and tests requiring a container with libX11 preinstalled).

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

Commit messages:
 - static-jdk

Changes: https://git.openjdk.org/crac/pull/257/files
  Webrev: https://webrevs.openjdk.org/?repo=crac&pr=257&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8364624
  Stats: 46 lines in 4 files changed: 30 ins; 0 del; 16 mod
  Patch: https://git.openjdk.org/crac/pull/257.diff
  Fetch: git fetch https://git.openjdk.org/crac.git pull/257/head:pull/257

PR: https://git.openjdk.org/crac/pull/257


More information about the crac-dev mailing list