RFR: JDK-8263261 Extend String::translateEscapes to support unicode escapes [v5]

Jim Laskey jlaskey at openjdk.org
Fri Jan 19 13:29:50 UTC 2024


> Currently String::translateEscapes does not support unicode escapes, reported as a IllegalArgumentException("Invalid escape sequence: ..."). String::translateEscapes should translate unicode escape sequences to provide full coverage,

Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:

  Add JLS Unicode Escapes reference

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17491/files
  - new: https://git.openjdk.org/jdk/pull/17491/files/8359ec9e..14b2f6c2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17491&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17491&range=03-04

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/17491.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17491/head:pull/17491

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


More information about the core-libs-dev mailing list