Duplicate :
|
|
Relates :
|
The specification of java.nio.channels.FileLock says "The locks held on a particular file by a single Java virtual machine do not overlap.", but it's implementation only guarantees that he locks held on a particular file by a single FileChanngel object do not overlap", a serious spec violation. See Comments.
|