8222111: exeCallerAccessTest.c fails to build: control reaches end of non-void function
authorshade
Mon, 08 Apr 2019 15:25:27 +0200
changeset 54454 22ee881e6a74
parent 54453 7b5e2bc79e68
child 54455 542735f2a53e
8222111: exeCallerAccessTest.c fails to build: control reaches end of non-void function Reviewed-by: alanb, dholmes
test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c
--- 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) {