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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: