This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Preferences path and compatibility


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]