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

Minor cleanup of parameter checking in ByteArrayOutputStream and ObjectInputStream

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • Verification:
      Not verified

      Description

      The parameter checking of ByteArrayOutputStream.write(byte[],int,int) and ObjectInputStream.checkArray(Class<?>, int) could be improved to in the former case use Objects.Objects.checkFromIndexSize() and in the latter to remove Objects.requireNonNull().

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bpb Brian Burkhalter
              Reporter:
              bpb Brian Burkhalter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: