Chris Nauroth created HADOOP-10495: -------------------------------------- Summary: TestFileUtil fails on Windows due to bad permission assertions. Key: HADOOP-10495 URL: https://issues.apache.org/jira/browse/HADOOP-10495 Project: Hadoop Common Issue Type: Bug Components: fs, test Affects Versions: 2.4.0, 3.0.0 Reporter: Chris Nauroth Assignee: Chris Nauroth Priority: Trivial Attachments: HADOOP-10495.1.patch
{{TestFileUtil}} contains some assertions that check {{java.io.File#canRead}}. These assertions fail on Windows. The {{java.io.File}} methods for checking permissions are known to be buggy in JDK 6. We can replace these calls with our own custom {{FileUtil#canRead}}, which is correct on all platforms. -- This message was sent by Atlassian JIRA (v6.2#6252)