Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2
-
None
-
None
-
Windows XP
Description
Opening a file inside a Jar locks the file on Windows and therefore can not be deleted as part of the tearDown().
Patched test to workaround the issue.
// http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4823678
((JarURLConnection)resource.openConnection()).getJarFile().close();