Hi Brian,
Makes sense to me; simple, direct and easy to explain.
Roger
On 2/17/2015 4:56 PM, Brian Burkhalter wrote:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-February/031502.html
Begin forwarded message:
From: Brian Burkhalter <brian.burkhal...@oracle.com>
Subject: [9] RFR JDK-8068373: (prefs) FileSystemPreferences writes \0 to XML
storage, causing loss of all preferences
Date: February 12, 2015 at 1:01:43 PM PST
To: Core-Libs-Dev <core-libs-dev@openjdk.java.net>
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