-
Bug
-
Resolution: Fixed
-
P2
-
None
-
b16
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8228924 | 12u-cpu | Ivan Gerasimov | P2 | Resolved | Fixed | master |
JDK-8222673 | 12.0.2 | Ivan Gerasimov | P2 | Closed | Fixed | b03 |
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 afterJDK-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
* 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
* 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
- backported by
-
JDK-8228924 exeCallerAccessTest.c fails to build: control reaches end of non-void function
- Resolved
-
JDK-8222673 exeCallerAccessTest.c fails to build: control reaches end of non-void function
- Closed
- relates to
-
JDK-8222120 Clean up exit codes in tests
- Open
-
JDK-8221530 Field::get and reflective member access not handling caller = null when invoked by JNI code with no java frames on stack
- Resolved