JDK-8222078 : test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c build fails after 8221530
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Affected Version: 13
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2019-04-06
  • Updated: 2019-07-31
  • Resolved: 2019-04-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 12 JDK 13
12.0.2Fixed 13 b16Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Test failed to compile, need to add:
diff -r b16e8a886fc3 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      Sat Apr 06 19:41:06 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;
Comments
Fix Request for 12 See the request for JDK-8221530
15-04-2019

Fix is incomplete - see JDK-8222082.
07-04-2019