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

NativeLibraryTest.java still fails intermittently after JDK-8200102

    XMLWordPrintable

    Details

      Description

      Even after fix for JDK-8200102 the test is still failing:

      #section:main
      ----------messages:(4/195)----------
      command: main -Xcheck:jni NativeLibraryTest
      reason: User specified action: run main/othervm/native -Xcheck:jni NativeLibraryTest
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 0.313
      ----------configuration:(0/0)----------
      ----------System.out:(11/55)----------
      gc 0
      gc 0
      gc 0
      gc 0
      gc 0
      gc 0
      gc 0
      gc 0
      gc 0
      gc 0
      gc 0
      ----------System.err:(13/837)----------
      java.lang.RuntimeException: Expected unloaded=2 but got=1
      at NativeLibraryTest.main(NativeLibraryTest.java:71)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bchristi Brent Christian
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: