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

Use ByteArrayInputStream.buf directly when parameter of transferTo() is trusted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 11, 17, 21, 22
    • core-libs
    • b27
    • generic
    • generic
    • Verified

      The internal array of bytes in ByteArrayInputStream should be passed to the OutputStream parameter of ByteArrayInputStream.transferTo(OutputStream) only if the latter is in the package java.io.

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

              Created:
              Updated:
              Resolved: