RFR 8139507: WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs

Alan Bateman Alan.Bateman at oracle.com
Sun Jun 12 18:51:32 UTC 2016



On 10/06/2016 17:05, Jan Lahoda wrote:
>
> The other Preferences implementations used this pattern, so I used it 
> as well. I don't have a problem with using double-checked locking. 
> Updated webrev:
> http://cr.openjdk.java.net/~jlahoda/8139507/webrev.01
>
> (updates all the Preferences implementations, to remain consistent.)
This looks good. One small suggestion is to drop the initialization of 
the volatiles to null, this shouldn't be needed.

-Alan


More information about the core-libs-dev mailing list