Open jglick opened 1 year ago
See https://github.com/jenkinsci/jenkins/pull/7924; can draft a unit test for this repo in case it is not obvious. In XML_1_1 mode, writeText uses charAt rather than codePointAt and so throws an error when given a supplementary code point character.
XML_1_1
writeText
charAt
codePointAt
This is actual because codePointAt() does not exist in Java 1.4. It is really time for 1.5.x...
See https://github.com/jenkinsci/jenkins/pull/7924; can draft a unit test for this repo in case it is not obvious. In
XML_1_1
mode,writeText
usescharAt
rather thancodePointAt
and so throws an error when given a supplementary code point character.