Preferences path and compatibility

Tom Tromey tromey@redhat.com
Mon Jan 24 20:50:00 GMT 2005


>>>>> "Shaun" == Shaun Jackman <sjackman@gmail.com> writes:

Shaun> To what path does java.util.prefs.Preferences.userRoot default; is it
Shaun> $HOME/.java/.userPrefs like Sun's implementation?

Currently the default seems to be a "memory based" preferences
factory -- meaning preferences are not saved or loaded, but simply
forgotten when the VM exits.

Not very useful.  We need some work in this area.

Shaun> I'm hoping that the user preferences saved by a user running the
Shaun> application in Sun's JVM will be available to the same application
Shaun> when it is run natively by GCJ. Is this possible?

It does seem like the logical approach.  I've filed a PR:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19613

Tom



More information about the Java mailing list