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

XXXVector::rearrangeTemplate misses null check

XMLWordPrintable

    • 16
    • b03

        We do not null check the shuffle argument. For other methods, we insert a species check which also acts as a null check. For rearrange, we only rely on the cast to the concrete shuffle type, this allows null to pass. And the intrinsification may fail if its input is nullable.

              qamai Quan Anh Mai
              qmai Quan Anh Mai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: