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

Test runtime/modules/getModuleJNI/GetModule fails with -Xcheck:jni

    Details

    • Subcomponent:
    • Resolved In Build:
      b02

      Backports

        Description

        STDOUT:
        FATAL ERROR in native method: Bad global or local ref passed to JNI
                at GetModule.callGetModule(Native Method)
                at GetModule.main(GetModule.java:137)
                at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@11-internal/Native Method)
                at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@11-internal/NativeMethodAccessorImpl.java:62)
                at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@11-internal/DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(java.base@11-internal/Method.java:566)
                at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
                at java.lang.Thread.run(java.base@11-internal/Thread.java:832)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hseigel Harold Seigel
                  Reporter:
                  dholmes David Holmes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: