[9] RFR JDK-8068373: (prefs) FileSystemPreferences writes \0 to XML storage, causing loss of all preferences
Brian Burkhalter
brian.burkhalter at oracle.com
Fri Feb 13 19:08:11 UTC 2015
Bon{jour,soir},
Are we in general happy with this approach or should some effort be put into something more elaborate (hence expensive)?
Note that the addition of lines 492-493 in j.u.prefs.Preferences will I imagine imply a CCC request, the submission of which I prefer to defer until there is consensus on the prospective change. A TCK update will also be needed, I expect.
Thanks,
Brian
On Feb 12, 2015, at 1:01 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:
> 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.
More information about the core-libs-dev
mailing list