[jdk8u-dev] RFR: 8268457: XML Transformer outputs Unicode supplementary character incorrectly to HTML

Kazuhisa Takakuri ktakakuri at openjdk.org
Tue Jun 11 04:24:46 UTC 2024


Hi all,

JDK8 reproduces the reported bug and I would like to backport this patch.
The patch is not clean. 

* Eliminated the use of test libraries and TestNG, and embedded compareWithGold() method and compareStringWithGold() method.
* Removed indentation from SurrogateTest1.html because indentation is not added in ToHTMLStream.java in JDK8. This difference is due to JDK-8175793 introduced in JDK9.

There is a related patch JDK-8274606, and I have proposed a separate backport for it.

Testing: All tests under jdk/test/javax/xml/jaxp/

Thank you.

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

Commit messages:
 - Import Collectors
 - Remove test library
 - Backport 83bce94cc8a7fb45b0604598411fbecc62000dfd
 - Backport 83bce94cc8a7fb45b0604598411fbecc62000dfd
 - Backport 83bce94cc8a7fb45b0604598411fbecc62000dfd
 - Fix the indent
 - Backport 83bce94cc8a7fb45b0604598411fbecc62000dfd
 - Backport 83bce94cc8a7fb45b0604598411fbecc62000dfd

Changes: https://git.openjdk.org/jdk8u-dev/pull/517/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=517&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8268457
  Stats: 221 lines in 7 files changed: 196 ins; 21 del; 4 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/517.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/517/head:pull/517

PR: https://git.openjdk.org/jdk8u-dev/pull/517


More information about the jdk8u-dev mailing list