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

Severin Gehwolf sgehwolf at openjdk.org
Mon Aug 19 12:14:48 UTC 2024


On Mon, 19 Aug 2024 12:09:01 GMT, Matthias Baesken <mbaesken 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 ) { ...  }
> ```

Yes. That would be fine.

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

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


More information about the hotspot-runtime-dev mailing list