This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Preferences path and compatibility
- From: Tom Tromey <tromey at redhat dot com>
- To: Shaun Jackman <sjackman at gmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: 24 Jan 2005 13:45:45 -0700
- Subject: Re: Preferences path and compatibility
- References: <7f45d939050122180130d5c32c@mail.gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "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