RFR: 7903727: Remove the reliance on String Templates feature [v2]

Nizar Benalla nbenalla at openjdk.org
Mon May 20 11:08:37 UTC 2024


> This PR aims to replace the usage of string templates with `String::format`, since there will be no string template feature in JDK 23.
> I tried to keep similar indentation and convert them in-place, to make reviewing the changes easier.

Nizar Benalla has updated the pull request incrementally with two additional commits since the last revision:

 - Fix some indentations
 - Tweak `alignIfNeeded`

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

Changes:
  - all: https://git.openjdk.org/jextract/pull/244/files
  - new: https://git.openjdk.org/jextract/pull/244/files/d5e9ffb1..6adcab3e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jextract&pr=244&range=01
 - incr: https://webrevs.openjdk.org/?repo=jextract&pr=244&range=00-01

  Stats: 33 lines in 2 files changed: 1 ins; 0 del; 32 mod
  Patch: https://git.openjdk.org/jextract/pull/244.diff
  Fetch: git fetch https://git.openjdk.org/jextract.git pull/244/head:pull/244

PR: https://git.openjdk.org/jextract/pull/244


More information about the jextract-dev mailing list