Now the compiler error is fixed we have a linker error on Windows:
jib > === Output from failing command(s) repeated here ===
jib > * For target support_test_jdk_jtreg_native_support_exeCallerAccessTest_BUILD_TEST_exeCallerAccessTest_link:
jib > LINK : warning LNK4044: unrecognized option '/ljvm'; ignored
jib > exeCallerAccessTest.obj : error LNK2019: unresolved external symbol __imp_JNI_CreateJavaVM referenced in function main
jib > t:/workspace/build/windows-x64-open/support/test/jdk/jtreg/native/bin/CallerAccessTest.exe : fatal error LNK1120: 1 unresolved externals
This addition to the makefile is only valid on non-windows
+ BUILD_JDK_JTREG_EXECUTABLES_LIBS_exeCallerAccessTest := -ljvm
not clear yet what the correct form is for Windows