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

java.io.File.deleteOnExit not working on Windows XP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 1.4.2
    • core-libs
    • x86
    • windows_xp

      Testcase for bug # 4614121 failing 1.4.2 -b16 on XP.

      Testcase passed on NT/XP/2K machine on 1.4.2-b04 but starts failing from b05 till b15.

      From 1.4.2-b16 NT and 2K passed the testcase but in XP it still fails.

      How to reproduce.
      -----------------
      Compile the attached testcase.
      Run with java DeleteTest
      Once you see 'Running... 5'
      press Control + C to stop the program.

      If you see a file 'new.txt' created in current directory, test FAILED.

      ---

      Tested in 3 diff XP machine with 1.4.2-b16 and test did not show any failure. Closing this bug as it's not a bug.

      ###@###.### 2003-02-21

            kbr Kenneth Russell (Inactive)
            asaha Abhijit Saha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: