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

(fc) java/nio/channels/FileChannel/LongTransferTest.java should clean up after itself

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 7
    • core-libs
    • None
    • b31
    • x86
    • windows_2000

      LongTransferTest.java creates test files in "java.io.tmpdir". It calls
      delete() on them, but since the files are still open this has no effect
      on Windows. (see product bugs 4171239, 4205562)

       $ pwd
      /c/TEMP
       $ ls -l Lo*
      -rwxrwxrwx 1 otto None 0 Apr 1 06:12 LongTransferTest_channelTestInFile_tmp
      -rwxrwxrwx 1 otto None 10 Apr 2 05:16 LongTransferTest_channelTestOutFile_tmp

            sherman Xueming Shen
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: