RFR: 8240187: Test hotspot/jtreg/runtime/jni/terminatedThread/TestTerminatedThread.java fails on Alpine Linux

Alexander Scherbatiy alexander.scherbatiy at bell-sw.com
Fri Feb 28 07:20:46 UTC 2020


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