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:
http://cr.openjdk.java.net/~khazra/7197662/webrev.01/
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
preferences.
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).
-Alan