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

java.nio.file.Files.copy throw FileSystemException

    Details

    • Subcomponent:
    • Resolved In Build:
      b18

      Description

      Tests which try to copy files failed with
      java.nio.file.FileSystemException: /export/local/eistepan/file_1356/file_14608: Invalid argument
              at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
              at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
              at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
              at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:283)
              at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:581)
              at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
              at java.nio.file.Files.copy(Files.java:1271)

      Minimal testcase attached

      testcase pass on 8u6b23 and 8u20b23 and failed on 8u26b14 in all runs on all embedded platforms (incl i586)

      Affected tests:
      RULE java_nio/file/TestCopy01 ExitCode 1
      RULE java_nio/file/TestGetAndSetBasicAttributes ExitCode 1
      RULE java_nio/zipfs/ZipPath/FileOperations/CopyOut ExitCode 1
      RULE java_nio/zipfs/ZipPath/FileOperations/MoveBetween Exception java.nio.file.FileSystemException: CopyOfSrcZipFile: Invalid argument
      RULE java_nio/zipfs/ZipPath/FileOperations/MoveIn Exception java.nio.file.FileSystemException: CopyOfZipFilesForMoveIn: Invalid argument
      RULE java_nio/zipfs/ZipPath/FileOperations/MoveOut Exception java.nio.file.FileSystemException: CopyOfSrcZipFile: Invalid argument
      RULE java_nio/file/TestMove01 ExitCode 1

        Attachments

          Activity

            People

            • Assignee:
              sflores Stephen Flores (Inactive)
              Reporter:
              eistepan Evgeniya Stepanova
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: