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

runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java failed with "FATAL ERROR in native method: Primitive type array expected but not received for JNI array operation"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b06
    • CPU:
      x86_64
    • OS:
      windows

      Description

      The following test failed in the JDK18 CI:

      runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java

      This failure has occurred in three Tier1 job sets in a row.

      Here's a snippet from the log file:

      ----------System.out:(6/1833)*----------
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+5-160\\windows-x64-debug.jdk\\jdk-18\\fastdebug\\bin\\java.exe -cp T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_runtime\\classes\\2\\runtime\\jni\\checked\\TestPrimitiveArrayCriticalWithBadParam.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+5-160\\src.full\\open\\test\\hotspot\\jtreg\\runtime\\jni\\checked;T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_tier1_runtime\\classes\\2\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\jtreg.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\junit.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\hamcrest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\testng.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\jcommander.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\guice.jar -Xcheck:jni -Djava.library.path=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+5-160\\windows-x64-debug.test\\hotspot\\jtreg\\native TestPrimitiveArrayCriticalWithBadParam test ]
      [2021-07-06T13:03:47.790032500Z] Gathering output for process 84684
      [2021-07-06T13:03:48.048256200Z] Waiting for completion for process 84684
      [2021-07-06T13:03:48.053208800Z] Waiting for completion finished for process 84684
      [2021-07-06T13:03:48.053208800Z] Waiting for completion for process 84684
      [2021-07-06T13:03:48.053208800Z] Waiting for completion finished for process 84684
      ----------System.err:(23/1369)----------
       stdout: [FATAL ERROR in native method: Primitive type array expected but not received for JNI array operation
      at TestPrimitiveArrayCriticalWithBadParam.pin(Native Method)
      at TestPrimitiveArrayCriticalWithBadParam.test(TestPrimitiveArrayCriticalWithBadParam.java:79)
      at TestPrimitiveArrayCriticalWithBadParam.main(TestPrimitiveArrayCriticalWithBadParam.java:50)
      ];
       stderr: []
       exitValue = 1

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zgu Zhengyu Gu
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: