Code Review Request: 7197662: (prefs) java/util/prefs/AddNodeChangeListener.java fails by timeout or by "couldn't get file lock"
Alan.Bateman at oracle.com
Fri Nov 30 12:31:57 UTC 2012
On 30/11/2012 02:04, Kurchi Hazra wrote:
> Apologies for the extreme delay. I added the bug id, and checked that
> setting the userRoot=. will result in the JTwork/scratch
> directory being used to store the preferences. I think we had
> concluded that othervm is the correct choice for running a test
> when setting the -Djava.util.prefs.userRoot property.
> Updated webrev:
> Note that the -Djava.util.prefs.userRoot property is only honored by
> Linux/Solaris implementations. Windows and Mac OS
> will continue to use the user's home directory, or the default
> location that the respective platform uses to store
I think what you have is fine as it will address the case where the
user's home directory is NFS/auto-mounted (which I think is where this
issue comes up periodically).
More information about the core-libs-dev