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

IOUtils.copyFile() problems.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 15
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b02

      Description

      It was pointed out that transformFrom is not guaranteed to transfer all bytes so you can't ignore the return value.

      We should replace move/all of this with a Files.copy that specifies REPLACE_EXISTING and COPY_ATTRIBUTES.

        Attachments

          Activity

            People

            Assignee:
            herrick Andy Herrick
            Reporter:
            herrick Andy Herrick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: