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. ------------- Commit messages: - JDK-8285921 Changes: https://git.openjdk.java.net/jdk/pull/8515/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8515&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8285921 Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod Patch: https://git.openjdk.java.net/jdk/pull/8515.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8515/head:pull/8515 PR: https://git.openjdk.java.net/jdk/pull/8515