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

(bf) Buffer absolute slice methods should use Objects.checkFromIndexSize()

XMLWordPrintable

    • b13
    • generic
    • generic
    • Not verified

      Currently the implementations of slice(index,length) use two invocations of Objects.checkIndex() when they should use one invocation of Objects.checkFromIndexSize().

      See: http://mail.openjdk.java.net/pipermail/nio-dev/2019-March/005945.html

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: