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

(file) deleteOnExit throws unspecified IllegalStateException and/or runs concurrently with mutators

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Future Project
    • Icon: P3 P3
    • 8
    • 6u26, 7
    • core-libs
    • generic, x86
    • generic, windows_vista

      This bug is submitted to re-visit the File#deleteOnExit mechanism for the case that the method is invoked at around the time that the VM is shutdown. See background discussion here:
        http://mail.openjdk.java.net/pipermail/core-libs-dev/2009-April/001474.html

      Specifically, it needs to be decided if:

      1. File#deleteOnExit should be specified to throw IllegalStateException, or
      2. The files are deleted by the VM thread when all mutators are at a safepoint

      See also 4809375 and 6526376.

            Unassigned Unassigned
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: