File missing-return.patch of Package java-15-openjdk

--- jdk15/src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp	2020-12-07 19:00:17.000000000 +0100
+++ jdk15/src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp	2021-01-21 17:43:58.706412322 +0100
@@ -191,6 +191,7 @@
                thread->thread_state() == _thread_in_native) &&
                sig == SIGBUS && thread->doing_unsafe_access()) {
       ShouldNotCallThis();
+    return 0;
     }
 
     // jni_fast_Get<Primitive>Field can trap at certain pc's if a GC
--- jdk15/src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp	2020-12-07 19:00:17.000000000 +0100
+++ jdk15/src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp	2021-01-21 17:43:58.706412322 +0100
@@ -205,6 +205,7 @@
                thread->thread_state() == _thread_in_native) &&
                sig == SIGBUS && thread->doing_unsafe_access()) {
       ShouldNotCallThis();
+    return 0;
     }
 
     // jni_fast_Get<Primitive>Field can trap at certain pc's if a GC
openSUSE Build Service is sponsored by