File.deleteOnExit should make it clear that Runtime.halt does not require deletions to be attempted

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 6u14
    • Component/s: core-libs
    • x86
    • windows_xp

      When a program registered files/folders by File#deleteOnExit() and then launch Runtime#halt().

      REPRODUCE:

      1) Compile the attached J800003.java and Tester.java
      2) Invoke
          java J800003 3

      RESULT:
       In jdk5u20, only folders02 remains and other files and folders are deleted.
       On the other habd, in jdk6u14, all the created files remain.

            Assignee:
            Unassigned
            Reporter:
            Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: