On Fri, 11 Jun 2021 12:42:35 GMT, Masanori Yano <my...@openjdk.org> wrote:

> Hi all,
> 
> Could you please review the 8268457 bug fixes?
> 
> The problem is that ToHTMLStream applies processing for non-surrogate pairs 
> to the surrogate pair.
> This fix changes the processing for non-surrogate pairs to the else condition.

src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/ToHTMLStream.java
 line 1455:

> 1453:                     }
> 1454:                     else
> 1455:                     */

I just wonder the bug was caused by this commenting out, which erroneously 
removed the `else` here. If the comment-out portion is no longer needed, we 
could just delete it for good.

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

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

Reply via email to