Split factories to create sequence layouts

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: repo-panama
    • Component/s: core-libs

      A sequence layout can be created using a -1 element count, which means the element count is _inferred_, by dividing Long.MAX_VALUE with the byte size of the sequence element layout.

      It would be better if, instead of using a negative index, we would just use an overloaded index-less factory, as this feature has hidden bugs in the past (e.g. where a negative index was accidentally passed to the wrong API).

            Assignee:
            Per-Ake Minborg
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: