[lworld] LW2 array support in javac

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: tools

       LW2 array covariance:

      "[QFoo;" <: "[LFoo;” <: “[LObject;” <: “Object;"

      We can freely allow widening conversion, but not narrowing. I.e. narrow checkcast must match [Q...

      https://mail.openjdk.java.net/pipermail/valhalla-dev/2019-April/005600.html

      It might be useful to have verifier work in place before javac work if possible (there is some javac independent verifier testing).

            Assignee:
            Srikanth Adayapalam (Inactive)
            Reporter:
            David Simms
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: