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

[lworld] The hierarchy between V$ref and V$val must be sealed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • tools
    • generic
    • generic

      The translation scheme in https://cr.openjdk.java.net/~briangoetz/valhalla/sov/04-translation.html calls for V$ref to be a sealed super type that only permits V$val as a subtype.

      The use of sealing here means that any value of class C$ref will either be a reference to a value of C$val, or will be the null reference (effectively, C$ref is the adjunction of C$val with the distinguished value null.)

            jlaskey Jim Laskey
            sadayapalam Srikanth Adayapalam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: