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

[lworld][C1] aaload doesn't work with constant index

XMLWordPrintable

      C1 compilation of a simple function like this works
          static int test(V arr[], int i) {
              return arr[i].v1;
          }

      But replacing "i" with "1" will cause an assert during compilation.

            iklam Ioi Lam
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: