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.
            
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.
- duplicates
- 
                    JDK-6338434 (fc) File locks not unitary on Unix -           
- Closed
 
-         
- relates to
- 
                    JDK-8196535 Remove support for pre-Java 6 non-JVM-wide file locking -           
- Closed
 
-