-
Bug
-
Resolution: Fixed
-
P1
-
13
-
b16
-
windows
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8228923 | 12u-cpu | Ivan Gerasimov | P1 | Resolved | Fixed | master |
JDK-8222376 | 12.0.2 | Ivan Gerasimov | P1 | Closed | Fixed | b03 |
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
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
- backported by
-
JDK-8228923 Build of test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c still failing on Windows
-
- Resolved
-
-
JDK-8222376 Build of test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c still failing on Windows
-
- Closed
-
- relates to
-
JDK-8221530 Field::get and reflective member access not handling caller = null when invoked by JNI code with no java frames on stack
-
- Resolved
-
-
JDK-8222078 test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c build fails after 8221530
-
- Closed
-