Seems like the following should be true, but are currently false:
(new File("/a")).equals(new File("/a/."));
(new File("/a/./foo.txt")).equals(new File("/a/foo.txt"))
There are a couple of bugs outstanding against FilePermission that would
be easier to fix if the above expressions returned true.
            
(new File("/a")).equals(new File("/a/."));
(new File("/a/./foo.txt")).equals(new File("/a/foo.txt"))
There are a couple of bugs outstanding against FilePermission that would
be easier to fix if the above expressions returned true.
- relates to
- 
                    JDK-8267569 java.io.File.equals contains misleading Javadoc -           
- Closed
 
-         
 P3
  P3