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

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

    XMLWordPrintable

Details

    • b13
    • generic
    • generic
    • Not verified

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: