Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8222082

Build of test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c still failing on Windows

    Details

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mchung Mandy Chung
                  Reporter:
                  dholmes David Holmes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: