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

[Graal] compiler/escapeAnalysis/TestArrayCopy.java fails when Graal is used as JIT

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 10
    • hotspot

      compiler/escapeAnalysis/TestArrayCopy.java fails in latest hs10 workspace
      which contains Graal changes (JDK-8190710)

      java.lang.RuntimeException: Expected ArrayStoreException for System.arraycopy(int[8], 1, new Object[4], 1, 2)
              at compiler.escapeAnalysis.TestArrayCopy.main(TestArrayCopy.java:105)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:564)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
              at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected ArrayStoreException for System.arraycopy(int[8], 1, new Object[4], 1, 2)


            yzheng Yudi Zheng
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: