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

Windows 32bit compile error after 8238676

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      generic
    • OS:
      windows

      Backports

        Description

        The recent change
        8238676: jni crashes on accessing it from process exit hook
        changed
        test/hotspot/jtreg/runtime/jni/atExit/libatExit.c
        but it looks like we need on 32bit Windows

        JNIEXPORT jint JNICALL
        JNI_OnLoad(JavaVM *jvm, void *reserved) {

        to compile.
        Otherwise we get :
        libatExit.c(107): error C2373: 'JNI_OnLoad': redefinition; different type modifiers
        d:\output-jdk-dev\support\modules_include\java.base\jni.h(1970): note: see declaration of 'JNI_OnLoad'

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mbaesken Matthias Baesken
                  Reporter:
                  mbaesken Matthias Baesken
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: