Integrated: JDK-8285921: serviceability/dcmd/jvmti/AttachFailed/AttachReturnError.java fails on Alpine
Matthias Baesken
mbaesken at openjdk.java.net
Tue May 3 11:25:24 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.
This pull request has now been integrated.
Changeset: 0f62cb6f
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/0f62cb6fcc75e0b8cc2d623f67273114233a40ef
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
8285921: serviceability/dcmd/jvmti/AttachFailed/AttachReturnError.java fails on Alpine
Reviewed-by: stuefe, dholmes
-------------
PR: https://git.openjdk.java.net/jdk/pull/8515
More information about the serviceability-dev
mailing list