[crac] RFR: 8364624: [CRaC] Resolve startup failures with static JDK build
Dmitry Cherepanov
dcherepanov at openjdk.org
Mon Aug 4 15:40:07 UTC 2025
On Mon, 4 Aug 2025 15:01:07 GMT, Timofei Pushkin <tpushkin at openjdk.org> wrote:
>> The tests fail with following error
>>
>>> /jdk/bin/java: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
>>
>> It seems that `libawt_xawt.so` has the dependency on `libX11.so.6` and when it's statically linked, `java` executable has the dependency.
>
> I wonder why none of the tests from the mainline failed since some of these tests use the default base image which others should also use. Maybe tests using Docker are not included into the tiers run in CI...
Yes, the tests using Docker from mainline aren't included in tiers that run in CI. I haven't checked this but if they had been running, they most likely would have failed with a similar error.
-------------
PR Review Comment: https://git.openjdk.org/crac/pull/257#discussion_r2251855473
More information about the crac-dev
mailing list