mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8064786: Fix debug build after 8062808: Turn on the -Wreturn-type warning
Reviewed-by: stefank, tschatzl
This commit is contained in:
parent
294a63af5f
commit
3b31df26c8
1 changed files with 2 additions and 0 deletions
|
@ -603,6 +603,7 @@ JNI_ENTRY(jint, jni_Throw(JNIEnv *env, jthrowable obj))
|
|||
|
||||
THROW_OOP_(JNIHandles::resolve(obj), JNI_OK);
|
||||
ShouldNotReachHere();
|
||||
return 0; // Mute compiler.
|
||||
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());
|
||||
THROW_MSG_LOADER_(name, (char *)message, class_loader, protection_domain, JNI_OK);
|
||||
ShouldNotReachHere();
|
||||
return 0; // Mute compiler.
|
||||
JNI_END
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue