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

[lworld] LW2 array support in javac

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-valhalla
    • repo-valhalla
    • 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).

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

              Created:
              Updated:
              Resolved: