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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 7
    • core-libs
    • b32
    • x86
    • windows_2000
    • Not verified

      ExpandingMap.java creates test files using File.createTempFile("exp", "tmp");.

      It calls deleteOnExit() on them, however the files are still open and this
      has no effect on Windows. (see product bugs 4171239, 4205562)

       $ pwd
      /c/TEMP
       $ ls -l exp*tmp
      -rwxrwxrwx 1 otto None 314874799 Apr 1 06:12 exp39413tmp
      -rwxrwxrwx 1 otto None 314874799 Apr 2 05:16 exp63711tmp

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: