JDK-5043585 : test/sun/misc/URLClassPath test files are still undeletable on Windows
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 5.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_2000
  • CPU: generic
  • Submitted: 2004-05-06
  • Updated: 2004-06-08
  • Resolved: 2004-06-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 b55Fixed
Related Reports
Relates :  
Description
The bug fix for bug 
5039471: test/sun/misc/URLClassPath test files are undeletable on Windows
was incomplete.  One of the undeletable files is gone, but another
(hidden inside a jar file) is not.

(martin@morphy) tiger/test/sun/misc/URLClassPath $ sh d:/martin/jct-tools/2.1.6/win32/bin/jtreg -automatic -jdk:d:/martin/ws/tiger/build/windows-i586/j2sdk-image .
Directory ".\JTreport" not found: Creating
Directory ".\JTwork" not found: Creating
Directory ".\JTwork/scratch" not found: Creating
test results: passed: 2
Report written to D:\martin\ws\tiger\test\sun\misc\URLClassPath\JTreport\report.html
Results written to D:\martin\ws\tiger\test\sun\misc\URLClassPath\JTwork
(martin@morphy) tiger/test/sun/misc/URLClassPath $ rm -rf JTwork
rm: cannot remove directory "JTwork/classes/sun/misc/URLClassPath": The directory is not empty. 
rm: cannot remove directory "JTwork/classes/sun/misc": The directory is not empty. 
rm: cannot remove directory "JTwork/classes/sun": The directory is not empty. 
rm: cannot remove directory "JTwork/classes": The directory is not empty. 
rm: cannot remove directory "JTwork": The directory is not empty. 
(martin@morphy) tiger/test/sun/misc/URLClassPath $ find JTwork
JTwork
JTwork/classes
JTwork/classes/sun
JTwork/classes/sun/misc
JTwork/classes/sun/misc/URLClassPath
JTwork/classes/sun/misc/URLClassPath/��??��??.class

See 5039471 for additional details.

###@###.### 2004-05-06

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic tiger-rc FIXED IN: tiger-beta2 tiger-rc INTEGRATED IN: tiger-b55 tiger-rc
08-07-2004

EVALUATION Yes.
08-07-2004

WORK AROUND The files can be deleted using cmd.exe /c DEL /s JTwork
08-07-2004