RFR: 8355698: JDK not supporting sleef could cause exception at runtime after JDK-8353786

Andrew Haley aph at openjdk.org
Fri May 2 11:43:47 UTC 2025


On Thu, 1 May 2025 08:50:27 GMT, Hamlin Li <mli at openjdk.org> wrote:

> > Overall, it still looks like a JDK build issue to me. Hiding problems occurred during the build is not good. If some toolchains can't successfully build the library, the library shouldn't be included in JDK.
> 
> No, in riscv case (possiblely also on arm?) I don't think it's a build issue, the jdk vendor can choose to support it or not, it's just the way passing the information ( whether it's supported or not) are different.

I am not convinced that supporting such a divergence between builds of the JDK is something we should support. Sure, we can choose at runtime whether to link with SLEEF or not, but having some builds of (say) risc OpenJDK with SLEEF and some without is a Bad Thing. It is a build issue.

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

PR Comment: https://git.openjdk.org/jdk/pull/24914#issuecomment-2847012173


More information about the core-libs-dev mailing list