RFR 7199674: (props) user.home property does not return an accessible location in sandboxed environment [macosx]
david.dehaven at oracle.com
Wed Sep 11 22:11:51 UTC 2013
>>> The bottom line is, if what you have now allows you to write to
>>> ~/Documents and you're sandboxed then this change should not
>>> affect your application at all, except maybe in the UI if you're
>>> displaying that path to the user. The user won't notice the
>>> difference otherwise.
>> My users *will* notice because I display this path in the export dialog,
>> along with the other export options they can use.
> If the path displayed is coming from the selected file, then it will continue to show the correct path.
I don't think I was clear on that comment... if you're building the path from say System.getProperty("user.home") + "/Documents/blah" and showing it to the user, then that's a problem. If you're showing paths returned by the open/save panels then you're fine, the user will never see the container path.
More information about the core-libs-dev