Submitted On 11-APR-2007
This bug is still an issue in the final release of JDK 6. Yikes! No prefs support in JDK 6 on non-windows machines.
Submitted On 16-JUL-2007
Any word on a backport to 6.0u?
Submitted On 26-JUL-2007
I am affected by this bug, with java -version saying:
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
How come this bug is marked fixed if it's not fixed on all platforms?
Submitted On 31-JUL-2007
This is a showstopper for me. It looks as if I am going to have to stay on Java 5 until Java 7 is released.
Submitted On 21-DEC-2007
I am still seeing this in Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Submitted On 29-DEC-2007
Translation for people (like me) not intimately familiar with Java code-names: "Dolphin" means Java 7. So it is claimed this bug is solved in Java 7 and I guess no attempt will be made at backporting the correction to Java 6. Too bad for those wanting to use java.util.prefs.Preferences and a proper XSLT engine at the same time.
Submitted On 27-APR-2008
> Priority: 4-Low
It's a showstopper because the complete Preferences API is not usable at all as long as this bug is not fixed.
Submitted On 18-AUG-2008
The issue is still there... (this is Ubuntu 8.0.4, 1.6.0_07). For example, in order to set preferences in NetBeans 6.1 on Linux, I run netbeans once with Jdk1.5, change the prefs, then exit. (Otherwise, preferences do not get set when edited through the GUI w/ jdk1.6)
$ java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)
This bug is becoming well known... and, yes, makes Preferences unusable (and therefore, desktop applications unusable) on Linux. Other products' release notes mention this bug by ID: http://www.oracle.com/technology/products/ias/toplink/doc/10131/relnotes/rel_notes.htm#BABDFBAJ
...Does the "modify xalan jar" workaround mean modifying netbeans' jars? All of them?
$ find ~/.netbeans -name \*xalan\*
Submitted On 20-AUG-2008
> Any word on a backport to 6.0u?
This bug is listed as fixed in Java 6u10 RC (as of b23); http://www.java.net/download/jdk6/6u10/promoted/b28/changes/JDK6u10.list.html
I just ran this "RC" jdk 1.6u10 against nb6.1 and the preferences problem DOES appear to be resolved...! (Note: this is still a release candidate, but it does mean that jdk1.6 will eventually work on Linux. :-)
On jdk1.6 pre-update10, launch nb6.1, tail the messages.log, and update properties (I update "advanced" properties of the jvi key bindings); restart netbeans and the property settings will be lost. There is an error in messages.log,
$ tail -f ~/.netbeans/6.1/var/log/messages.log
WARNING [java.util.prefs]: Couldn't flush user prefs: java.util.prefs.BackingStoreException: java.lang.IllegalArgumentException: Not supported: indent-number
Then, use jdk1.6u10 RC, ... and, either use JAVA_HOME, put this jdk1.6u10 first in your PATH, or use netbeans --jdkhome ( see http://wiki.netbeans.org/FaqJdkHome ). Start netbeans, and messages.log no longer includes the error message, and updating properties works as expected.
PLEASE NOTE: JDK6 is formerly known as Project Mustang