8064786: Fix debug build after 8062808: Turn on the -Wreturn-type warning

Reviewed-by: stefank, tschatzl
This commit is contained in:
Goetz Lindenmaier 2014-11-13 11:14:01 +01:00
parent 294a63af5f
commit 3b31df26c8

View file

@ -603,6 +603,7 @@ JNI_ENTRY(jint, jni_Throw(JNIEnv *env, jthrowable obj))
THROW_OOP_(JNIHandles::resolve(obj), JNI_OK); THROW_OOP_(JNIHandles::resolve(obj), JNI_OK);
ShouldNotReachHere(); ShouldNotReachHere();
return 0; // Mute compiler.
JNI_END JNI_END
@ -623,6 +624,7 @@ JNI_ENTRY(jint, jni_ThrowNew(JNIEnv *env, jclass clazz, const char *message))
Handle protection_domain (THREAD, k->protection_domain()); Handle protection_domain (THREAD, k->protection_domain());
THROW_MSG_LOADER_(name, (char *)message, class_loader, protection_domain, JNI_OK); THROW_MSG_LOADER_(name, (char *)message, class_loader, protection_domain, JNI_OK);
ShouldNotReachHere(); ShouldNotReachHere();
return 0; // Mute compiler.
JNI_END JNI_END