Closed GoogleCodeExporter closed 8 years ago
I don't have access to a windows machine to reproduce this. Can you explain
which file is not being closed?
Original comment by ano...@google.com
on 16 Dec 2010 at 9:55
I committed smadirondack's patch in revision baa00ea909, so I assume it's fixed
now. Otherwise, please reopen this bug report.
Original comment by so...@google.com
on 16 Dec 2010 at 10:11
Sorry for not getting back with this. The file is named "file" and is declared
in testRecoverFromTruncatedDeltas. My Change was to add "file.close()." I have
tested this on Windows XP and it works find. It also works fine on my Amazon
EC2 Ubuntu instance.
RandomAccessFile file = new RandomAccessFile(deltaFile, "rw");
if (toRemove > file.length()) {
file.close();
break;
}
Original comment by smadiron...@gmail.com
on 17 Dec 2010 at 6:34
Original issue reported on code.google.com by
smadiron...@gmail.com
on 16 Dec 2010 at 5:58