From 61dd5d11aecf47682a21b55148b786f9572d32fa Mon Sep 17 00:00:00 2001 From: Eva Isabella Luna Date: Thu, 28 Aug 2025 16:05:45 -0600 Subject: [PATCH] [FIX] iOS JDK 17 patches (again) --- patches/jre_17/ios/jdk17u_ios.diff | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/patches/jre_17/ios/jdk17u_ios.diff b/patches/jre_17/ios/jdk17u_ios.diff index 449c882..e2a1b1b 100644 --- a/patches/jre_17/ios/jdk17u_ios.diff +++ b/patches/jre_17/ios/jdk17u_ios.diff @@ -525,7 +525,7 @@ index e61469290..b3423fd81 100644 static pthread_t main_thread(void) { return _main_thread; } diff --git a/src/hotspot/os/posix/signals_posix.cpp b/src/hotspot/os/posix/signals_posix.cpp -index 895c3cc09..b77c925ba 100644 +index 1f5e4c422..ba4eeb401 100644 --- a/src/hotspot/os/posix/signals_posix.cpp +++ b/src/hotspot/os/posix/signals_posix.cpp @@ -25,6 +25,7 @@ @@ -542,9 +542,9 @@ index 895c3cc09..b77c925ba 100644 #include +#include + #define SEGV_BNDERR_value 3 - static const char* get_signal_name(int sig, char* out, size_t outlen); -@@ -584,6 +587,26 @@ int JVM_HANDLE_XXX_SIGNAL(int sig, siginfo_t* info, +@@ -580,6 +582,25 @@ int JVM_HANDLE_XXX_SIGNAL(int sig, siginfo_t* info, ucontext_t* const uc = (ucontext_t*) ucVoid; Thread* const t = Thread::current_or_null_safe(); @@ -566,7 +566,6 @@ index 895c3cc09..b77c925ba 100644 + if (handled) return true; + } + } -+ + // Handle JFR thread crash protection. // Note: this may cause us to longjmp away. Do not use any code before this