RFR: 8287745 jni/nullCaller/NullCallerTest.java fails with "exitValue = 1"

Tim Prinzing tprinzing at openjdk.java.net
Fri Jun 3 22:44:32 UTC 2022


On Fri, 3 Jun 2022 18:16:53 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> Fixed JtregNativeJdk.gmk to include c++ libs for NullCallerTest
>
> make/test/JtregNativeJdk.gmk line 67:
> 
>> 65:   BUILD_JDK_JTREG_EXECUTABLES_LIBS_exeNullCallerTest := $(LIBCXX) jvm.lib
>> 66:   BUILD_JDK_JTREG_EXECUTABLES_LIBS_exerevokeall := advapi32.lib
>> 67:   BUILD_JDK_JTREG_EXECUTABLES_CFLAGS_exeNullCallerTest := /EHsc
> 
> Does this test need this flag?  or the default exception handling behavior is adequate?

iostreams don't compile without it.  While the tests currently have printf, the 8281001 restores back to using iostream and this file doesn't have to change.

-------------

PR: https://git.openjdk.java.net/jdk/pull/9010



More information about the build-dev mailing list