LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File java-1_7_0-openjdk-zero-annotate-aborting-functions-zero.patch of Package java-1_7_0-openjdk (Project openSUSE:Factory:ARM)

--- openjdk/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp
+++ openjdk/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp
@@ -67,6 +67,7 @@
 
 frame os::get_sender_for_C_frame(frame* fr) {
   ShouldNotCallThis();
+  return frame();
 }
 
 frame os::current_frame() {
@@ -439,6 +440,7 @@
 
 extern "C" {
   int SpinPause() {
+      return 0;
   }
 
   int SafeFetch32(int *adr, int errValue) {