RFR: JDK-8285921: serviceability/dcmd/jvmti/AttachFailed/AttachReturnError.java fails on Alpine

David Holmes dholmes at openjdk.java.net
Tue May 3 09:58:40 UTC 2022


On Tue, 3 May 2022 07:47:28 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> The test  serviceability/dcmd/jvmti/AttachFailed/AttachReturnError.java fails on Alpine Linux using musl.
> Reason is the difference how dlclose is done 
> https://wiki.musl-libc.org/functional-differences-from-glibc.html
> "musl’s dynamic loader loads libraries permanently for the lifetime of the process, until it exits or calls exec. dlclose is a no-op. "
> 
> This leads to "libReturnError.so found in stdout" when running the test on Alpine/musl , unlike on other Linux versions without musl.

Marked as reviewed by dholmes (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/8515


More information about the serviceability-dev mailing list