Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8267820 (fs) Files.copy should attempt to copy POSIX attributes when target file in custom file system
  3. JDK-8288448

Release Note: Files.copy Copies POSIX Attributes to Target on Foreign File System

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 19
    • 19
    • core-libs
    • generic
    • generic

      The method `java.nio.file.Files.copy(Path,Path)` has been changed to copy POSIX file attributes from the source file to the destination file when the two files are associated with different file system providers, for example copying a file from the default file system to a zip file system. Both the source and target file systems must support the POSIX file attribute view. The POSIX attributes copied are constrained to the file access permissions; owner and group owner of the file are not copied.

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

              Created:
              Updated:
              Resolved: