(fs) Files.lines implementation can use MemorySegment for file mapping

XMLWordPrintable

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

      Currently, the package private class `FileChannelLinesSpliterator` is using a memory-mapped `ByteBuffer` when determining the split point.

      It would be possible to use a `MemorySegment` instead and simplify the logic a bit.

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

              Created:
              Updated: