RFR: 8240187: Test hotspot/jtreg/runtime/jni/terminatedThread/TestTerminatedThread.java fails on Alpine Linux
Mikael Vidstedt
mikael.vidstedt at oracle.com
Sat Feb 29 10:29:33 UTC 2020
Is it only pthread_getcpuclockid() that is the problem, or are the other functions also problematic. Put differently, should the whole test be excluded, or are the parts of the test that still make sense to run on musl?
Cheers,
Mikael
> On Feb 27, 2020, at 11:20 PM, Alexander Scherbatiy <alexander.scherbatiy at bell-sw.com> wrote:
>
> Hello,
>
> The hotspot test TestTerminatedThread.java fails on Alpine Linux because pthread_getcpuclockid() from musl libc library does not check that the passed thread id is valid (see discussion on musl mail list [1]).
>
> The proposed fix skips the test for the musl glibc library as it is suggested in the JDK-8240187 comments [1].
>
> http://cr.openjdk.java.net/~alexsch/8240187/webrev.00/
>
>
> [1] https://www.openwall.com/lists/musl/2020/02/10/6
>
> [2] https://bugs.openjdk.java.net/browse/JDK-8240187
>
>
> Thanks,
>
> Alexander.
>
More information about the portola-dev
mailing list