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

C1: compiler.escapeAnalysis.TestArrayCopy fails to throw ArrayStoreException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 9
    • 9
    • hotspot
    • None
    • b146
    • aarch64
    • Verified

      While testing Volker's fix for JDK-8159611 (webrev.04) [1], a new C1-specific failure has shown up:

      java.lang.RuntimeException: Expected ArrayStoreException for System.arraycopy(int[8], 0, new Object[4], 0, 0)
              at compiler.escapeAnalysis.TestArrayCopy.main(TestArrayCopy.java:105)

      The failure can be reproduced with b138.

      The failure affects both the open and the closed aarch64 port (to which Volker does not have access to). So I'll take care of this issue separately.

      [1] http://cr.openjdk.java.net/~simonis/webrevs/2016/8159611.v4/

            zmajo Zoltan Majo (Inactive)
            zmajo Zoltan Majo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: