Code Review Request: 7184287: (prefs) BackingStoreException when calling flush on root node[macosx]

Alan Bateman Alan.Bateman at oracle.com
Sun Jul 22 19:16:11 UTC 2012


On 19/07/2012 19:31, Kurchi Subhra Hazra wrote:
> Hi,
>
> While flushing user preferences, a BackingStoreException is not expected, since
> the current user should be able to write such preferences to the
> persistent storage (unlike system preferences, where current user needs
> to have admin rights). This fix aims at allowing a user preference node
> to flush any changes to the persistent storage on Mac OS X.
>
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7184287
> Webrev: http://cr.openjdk.java.net/~khazra/7184287/webrev.00/
>
> Thanks,
> Kurchi
I looked at the changes and the approach looks good to me. Hopefully 
this is the end of the issues with the preferences API on Mac. The only 
thing that doesn't seem right to me is MacOSXPreferences.java L234 where 
it looks like an additional brace has sneaked in.

-Alan.



More information about the core-libs-dev mailing list