python/hypothesis: update to 6.122.3
[oi-userland.git] / components / runtime / openjdk-11 / patches / tribblix-thrstat001.patch
blob82bf9e86bf42bb49ef30911e3f84a2903707c08d
1 Local definition of wait() conflicts with wait(3C).
3 --- a/test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadState/thrstat001/thrstat001.cpp Fri Oct 6 06:33:33 2023
4 +++ b/test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadState/thrstat001/thrstat001.cpp Thu Oct 19 09:25:58 2023
5 @@ -70,7 +70,7 @@
8 static void
9 -wait(const char* func_name, jrawMonitorID lock, jint millis) {
10 +thrstat001wait(const char* func_name, jrawMonitorID lock, jint millis) {
11 jvmtiError err = jvmti->RawMonitorWait(lock, (jlong)millis);
12 if (err != JVMTI_ERROR_NONE) {
13 printf("%s: unexpected error in RawMonitorWait: %s (%d)\n",
14 @@ -229,7 +229,7 @@
15 break;
17 lock("checkStatus", wait_lock);
18 - wait("checkStatus", wait_lock, millis);
19 + thrstat001wait("checkStatus", wait_lock, millis);
20 unlock("checkStatus", wait_lock);