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

(ch) sun.nio.ch.* should use Objects.checkFromIndexSize consistently

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • None
    • core-libs

      For instance, sun.nio.ch.SinkChannel::write already uses it, but the similar read method in sun.nio.ch.SourceChannel doesn't.
      AsynchronousSocketChannel::read/write could also be updated.

            bpb Brian Burkhalter
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: