https://issues.apache.org/bugzilla/show_bug.cgi?id=45171
Andreas L. Delmelle <[EMAIL PROTECTED]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #1 from Andreas L. Delmelle <[EMAIL PROTECTED]> 2008-06-10 03:51:59 PST --- What version of Java are you using exactly? Just asking, since I recently ran into references on the web, concerning an issue in Sun's implementation of some ImageIO classes. The issue was inadvertent use of File.deleteOnExit(), which kept files locked a lot longer than they were ever supposed to... Maybe something similar is happening here? Apart from that, I don't know if the image that is held in the ImageCache also locks the file until the cache is cleared or the entry is removed from the cache... To check whether that is the case, you could try running: fopFactory.getImageManager().getCache().clearCache() before calling File.delete(). -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.