Blame SOURCES/8064786-pr3599.patch

60224f
# HG changeset patch
60224f
# User goetz
60224f
# Date 1415873641 -3600
60224f
#      Thu Nov 13 11:14:01 2014 +0100
60224f
# Node ID 1878c4c1d04e1f3c6f67a19d36c35863d6b5f906
60224f
# Parent  533473c67de6ff767710594639033c8e83523fe5
60224f
8064786, PR3599: Fix debug build after 8062808: Turn on the -Wreturn-type warning
60224f
Reviewed-by: stefank, tschatzl
60224f
60224f
diff --git openjdk.orig/hotspot/src/share/vm/prims/jni.cpp openjdk/hotspot/src/share/vm/prims/jni.cpp
60224f
--- openjdk.orig/hotspot/src/share/vm/prims/jni.cpp
60224f
+++ openjdk/hotspot/src/share/vm/prims/jni.cpp
60224f
@@ -708,6 +708,7 @@
60224f
 
60224f
   THROW_OOP_(JNIHandles::resolve(obj), JNI_OK);
60224f
   ShouldNotReachHere();
60224f
+  return 0;  // Mute compiler.
60224f
 JNI_END
60224f
 
60224f
 #ifndef USDT2
60224f
@@ -734,6 +735,7 @@
60224f
   Handle protection_domain (THREAD, k->protection_domain());
60224f
   THROW_MSG_LOADER_(name, (char *)message, class_loader, protection_domain, JNI_OK);
60224f
   ShouldNotReachHere();
60224f
+  return 0;  // Mute compiler.
60224f
 JNI_END
60224f
 
60224f