RFR: 8349516: StAXStream2SAX.handleCharacters() fails on empty CDATA [v3]

Joe Wang joehw at openjdk.org
Mon Mar 3 19:24:38 UTC 2025


> Fix handleCharacters by adding a guard to zero length and letting the rest of the process continue (e.g. closing tags and etc).

Joe Wang has updated the pull request incrementally with one additional commit since the last revision:

  improve the javadoc for the test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23847/files
  - new: https://git.openjdk.org/jdk/pull/23847/files/2d4b7653..c8f07127

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23847&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23847&range=01-02

  Stats: 8 lines in 1 file changed: 3 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/23847.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23847/head:pull/23847

PR: https://git.openjdk.org/jdk/pull/23847


More information about the core-libs-dev mailing list