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

Rethink relationship between Sequence vs. Group layouts

    Details

      Description

      In Panama, we have modelled Sequence layouts as a special case of Group layout. In a way that makes some sense - as Sequence is a special case of group where layout elements are homogeneous (all of the same kind).

      On the other hands, there are things that don't work smoothly, as some sequence layouts cannot be represented as 'groups', more specifically, those sequences whose size is unbounded.

      We should probably separate sequence from groups, and perhaps use a different top type.

        Attachments

          Activity

            People

            • Assignee:
              mcimadamore Maurizio Cimadamore
              Reporter:
              mcimadamore Maurizio Cimadamore
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: