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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: