DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=34592>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34592 ------- Additional Comments From [EMAIL PROTECTED] 2005-04-29 20:13 ------- I've done more tests today. Apparently when the files are closed the close method of the file system is not called. Before the delete() in the attached example I've done. System.gc(); Thread.sleep(5000); System.gc(); and I still couldn't delete the file. but when I replaced these 3 lines with VFS.getManager().getFilesCache().clear(jarDir.getFileSystem()); then it worked. Note also that when the FileObject was recreated from the String, I had the content of the new file. Hope that helps you to find the problem. In my case calling the clear() method is good enough to do what I want to do. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
