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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:

      Description

      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)


        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: