Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
the Shell class looks for Windows and Linux and sets static fields to show this. For tests, it's sometimes useful to know if a host is OS/X, as its filesystem is different. Although this is easy to test in code https://developer.apple.com/library/mac/#technotes/tn2002/tn2110.html, having this in one place makes it easier to maintain if future java versions ever behave differently
Attachments
Issue Links
- is part of
-
HADOOP-9652 Allow RawLocalFs#getFileLinkStatus to fill in the link owner and mode if requested
- Closed