8222078: test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c build fails after 8221530
authormchung
Sun, 07 Apr 2019 03:00:52 +0000
changeset 54447 cfe96d1d0715
parent 54446 b16e8a886fc3
child 54448 cd2879e0c165
8222078: test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c build fails after 8221530 Reviewed-by: lancea, dholmes
test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c
--- a/test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c	Sat Apr 06 21:16:40 2019 +0800
+++ b/test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c	Sun Apr 07 03:00:52 2019 +0000
@@ -34,6 +34,7 @@
 static jmethodID mid_Field_get;
 
 int getField(JNIEnv *env, char* declaringClass_name, char* field_name);
+int checkAndClearIllegalAccessExceptionThrown(JNIEnv *env);
 
 int main(int argc, char** args) {
     JavaVM *jvm;