infinispan/infinispan — pull request #1028 by danberindei (2012-03-23 16:39:30+00:00)
Title: ISPN-1936 - FileCacheStore does not seem to close open files on Windows

Writing an empty bucket deleted the file but it didn't close the channel first.
https://issues.jboss.org/browse/ISPN-1936

There's also `t_1936_51` for the 5.1.x branch.

The EOFExceptions were caused by the purge operations removing expired entries
and updating the bucket on disk, while holding the bucket lock only in shared mode.