JDK-4822231 : java.io.File.deleteOnExit not working on Windows XP
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.4.2
  • Priority: P2
  • Status: Closed
  • Resolution: Not an Issue
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2003-02-21
  • Updated: 2003-02-22
  • Resolved: 2003-02-22
Related Reports
Relates :  
Description
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

Comments
EVALUATION The attached testcase is that for 4805381. It looks as though the fix for 4805381 may not be working on XP. ###@###.### 2003-02-21 I've just run the attached test case on rocket.sfbay (Intel x86 XP) and it works fine with b16. The submitter was probably running the wrong build. Marking the bug as incomplete in case this is failing on XP Itanium (wasn't able to get on such a machine to test). ###@###.### 2003-02-21
21-02-2003