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

Timofei Pushkin tpushkin at openjdk.org
Mon Aug 4 12:38:20 UTC 2025


On Mon, 4 Aug 2025 11:22:37 GMT, Dmitry Cherepanov <dcherepanov at openjdk.org> wrote:

> 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).

LGTM overall, thanks, just one question

test/jdk/ProblemList-StaticJdk.txt line 27:

> 25: jdk/crac/java/lang/System/NanoTimeTest.java                                      8364624 generic-all
> 26: jdk/crac/java/net/InetAddress/ResolveTest.java                                   8364624 generic-all
> 27: jdk/crac/java/lang/System/TimedWaitingTest.java                                  8364624 generic-all

Could you please explain what is the problem with these? The tests themselves should not require X11.

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

Marked as reviewed by tpushkin (Committer).

PR Review: https://git.openjdk.org/crac/pull/257#pullrequestreview-3084004299
PR Review Comment: https://git.openjdk.org/crac/pull/257#discussion_r2251358095


More information about the crac-dev mailing list