RFR: 8338550: Do libubsan1 installation in test container only on Ubuntu

Matthias Baesken mbaesken at openjdk.org
Mon Aug 19 12:11:48 UTC 2024


On Mon, 19 Aug 2024 12:03:19 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Could we not make this configurable so that `libubsan1` only gets installed when it's actually needed? This still installs it on every container build (i.e. per docker test) on `ubuntu` based images.

Then maybe something like this ?


 boolean isUbsan = Boolean.getBoolean("jdk.test.docker.image.isUbsan");
if (baseImage.contains("ubuntu") &&  isUbsan ) { ...  }

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

PR Comment: https://git.openjdk.org/jdk/pull/20624#issuecomment-2296420549


More information about the hotspot-runtime-dev mailing list