6979526: (file) java/nio/file/FileStore/Basic.java fails if the same file system is mounted more than once

Alan Bateman Alan.Bateman at oracle.com
Sat Oct 2 02:21:13 PDT 2010


I need a reviewer for a small change to the implementation of FileStore 
on Solaris/Linux. Currently the hashCode/equals methods are based on the 
device ID but that isn't sufficient when the same file system is mounted 
more than once. This causes one of our existing tests to fail in some 
environments. The fix changes the implementation of hashCode/equals to 
use both the device ID and the mount point. The webrev is here:
  http://cr.openjdk.java.net/~alanb/6979526/webrev/

Thanks,
Alan.


More information about the nio-dev mailing list