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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jlaskey Jim Laskey
              Reporter:
              sadayapalam Srikanth Adayapalam
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: