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