Building with older GCC:
* Toolchain: gcc (GNU Compiler Collection)
* C Compiler: Version 4.8.5 (at /bin/gcc)
* C++ Compiler: Version 4.8.5 (at /bin/g++)
...fails after JDK-8221530 when "run-test" compiles the native test code:
* For target support_test_jdk_jtreg_native_support_exeCallerAccessTest_exeCallerAccessTest.o:
/home/jenkins/workspace/nightly/jdk-jdk/test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c: In function 'main':
/home/jenkins/workspace/nightly/jdk-jdk/test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c:96:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1: all warnings being treated as errors