Skip to content

Commit

Permalink
openjdk11: update to 11.0.21+9
Browse files Browse the repository at this point in the history
  • Loading branch information
hadfl committed Dec 6, 2023
1 parent cc30ddf commit ef01c82
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/openjdk11/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
. ../../lib/build.sh

PROG=openjdk
VER=11.0.20.1+1
VER=11.0.21+9
PKG=runtime/java/openjdk11
SUMMARY="openjdk ${VER%%.*}"
DESC="Open-source implementation of the eleventh edition of the "
Expand Down
1 change: 1 addition & 0 deletions build/openjdk11/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ tribblix-flags-ldflags2.patch
tribblix-flags-ldflags3.patch
tribblix-Launcher-jdk.patch
tribblix-LauncherCommon.patch
tribblix-thrstat001.patch
omnios-headless.patch
security-pkcs11.patch
fontpath.patch
Expand Down
22 changes: 22 additions & 0 deletions build/openjdk11/patches/tribblix-thrstat001.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Local definition of wait() conflicts with wait(3C).

--- a/test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadState/thrstat001/thrstat001.cpp Fri Oct 6 06:33:33 2023
+++ b/test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadState/thrstat001/thrstat001.cpp Thu Oct 19 09:25:58 2023
@@ -70,7 +70,7 @@
}

static void
-wait(const char* func_name, jrawMonitorID lock, jint millis) {
+thrstat001wait(const char* func_name, jrawMonitorID lock, jint millis) {
jvmtiError err = jvmti->RawMonitorWait(lock, (jlong)millis);
if (err != JVMTI_ERROR_NONE) {
printf("%s: unexpected error in RawMonitorWait: %s (%d)\n",
@@ -229,7 +229,7 @@
break;
}
lock("checkStatus", wait_lock);
- wait("checkStatus", wait_lock, millis);
+ thrstat001wait("checkStatus", wait_lock, millis);
unlock("checkStatus", wait_lock);
}

2 changes: 1 addition & 1 deletion doc/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
| network/socat | 1.8.0.0 | http://www.dest-unreach.org/socat/download/
| network/test/iperf | 3.1.3 | https://iperf.fr/iperf-download.php#source
| network/test/netperf | 2.7.0 | https://github.com/HewlettPackard/netperf/tags
| runtime/java/openjdk11 | 11.0.20.1+1 | https://github.com/openjdk/jdk11u/tags
| runtime/java/openjdk11 | 11.0.21+9 | https://github.com/openjdk/jdk11u/tags
| runtime/java/openjdk17 | 17.0.9+9 | https://github.com/openjdk/jdk17u/tags
| runtime/java/openjdk8 | 1.8.392-08 | https://github.com/openjdk/jdk8u/tags
| runtime/perl | 5.38.2 | https://www.cpan.org/src/README.html
Expand Down

0 comments on commit ef01c82

Please sign in to comment.