Mercurial > hg > openjdk > jdk7u > hotspot
changeset 5818:2b8e71792895
8064786: Fix debug build after 8062808: Turn on the -Wreturn-type warning
Reviewed-by: stefank, tschatzl
author | goetz |
---|---|
date | Tue, 13 Feb 2018 05:26:46 +0000 |
parents | 220e4791ba8f |
children | 39f4affc6564 |
files | src/share/vm/prims/jni.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/prims/jni.cpp Tue Feb 13 05:26:21 2018 +0000 +++ b/src/share/vm/prims/jni.cpp Tue Feb 13 05:26:46 2018 +0000 @@ -720,6 +720,7 @@ THROW_OOP_(JNIHandles::resolve(obj), JNI_OK); ShouldNotReachHere(); + return 0; // Mute compiler. JNI_END #ifndef USDT2 @@ -746,6 +747,7 @@ Handle protection_domain (THREAD, k->protection_domain()); THROW_MSG_LOADER_(name, (char *)message, class_loader, protection_domain, JNI_OK); ShouldNotReachHere(); + return 0; // Mute compiler. JNI_END