changeset 54454:22ee881e6a74

8222111: exeCallerAccessTest.c fails to build: control reaches end of non-void function Reviewed-by: alanb, dholmes
author shade
date Mon, 08 Apr 2019 15:25:27 +0200
parents 7b5e2bc79e68
children 542735f2a53e
files test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c	Mon Apr 08 15:54:47 2019 +0300
+++ b/test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c	Mon Apr 08 15:25:27 2019 +0200
@@ -93,6 +93,7 @@
     }
 
     (*jvm)->DestroyJavaVM(jvm);
+    return 0;
 }
 
 int checkAndClearIllegalAccessExceptionThrown(JNIEnv *env) {