On Thu, 24 Mar 2022 18:21:05 GMT, Joe Wang <jo...@openjdk.org> wrote:

> The issue was caused by the difference on handling control characters between 
> the parser and serializer. The parser rejected control characters while the 
> serializer converted them to NCRs. The fix is for the later to be aligned 
> with the parser, reporting error upon encountering control characters. 
> 
> Mach5 tier2 passed.

This pull request has now been integrated.

Changeset: f4fd53d0
Author:    Joe Wang <jo...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/f4fd53d0aee67319bf2c7bcaa671c2e97e66383f
Stats:     197 lines in 4 files changed: 182 ins; 3 del; 12 mod

8273370: Preferences.exportSubtree() generates invalid XML if value contains 
control char

Reviewed-by: lancea, naoto

-------------

PR: https://git.openjdk.java.net/jdk/pull/7945

Reply via email to