Refactor manual I/O stream copying in java.desktop to use new convenience APIs

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 17
    • Component/s: client-libs
    • b13
    • generic
    • generic

      This is a request to cleanup the code in the "java.desktop" module and uses the new handy methods added to the "java.io.InputStream/java.nio.file.Files" instead of manual stream copy:

      The new methods are:
          java.io.InputStream#readAllBytes
          java.io.InputStream#transferTo
          java.nio.file.Files#copy

            Assignee:
            Sergey Bylokhov
            Reporter:
            Sergey Bylokhov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: