[9] RFR JDK-8068373: (prefs) FileSystemPreferences writes \0 to XML storage, causing loss of all preferences
Brian Burkhalter
brian.burkhalter at oracle.com
Thu Feb 12 21:01:43 UTC 2015
Hello,
Based on previous discussions this thread which used to be an RFC is now an RFR. Thanks to Paul and Roger for comments.
Issue: https://bugs.openjdk.java.net/browse/JDK-8068373
Patch: http://cr.openjdk.java.net/~bpb/8068373/webrev.04/
Historical variants may be seen here: http://cr.openjdk.java.net/~bpb/8068373/
One problem (or not) with this approach is that old FileSystemPreferences caches which already contain U+0000 will still cause a failure on reading in Java 9+ but perhaps we do not care.
Thanks,
Brian
More information about the core-libs-dev
mailing list