RFR: JDK-8285932 Implementation of JEP-430 String Templates (Preview) [v13]

Jim Laskey jlaskey at openjdk.org
Thu Nov 3 17:23:53 UTC 2022


> Enhance the Java programming language with string templates, which are similar to string literals but contain embedded expressions. A string template is interpreted at run time by replacing each expression with the result of evaluating that expression, possibly after further validation and transformation. This is a [preview language feature and API](http://openjdk.java.net/jeps/12).

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

  Internalize FormatConcatItem

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10889/files
  - new: https://git.openjdk.org/jdk/pull/10889/files/7f3d6526..b35ed665

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10889&range=12
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10889&range=11-12

  Stats: 151 lines in 7 files changed: 62 ins; 86 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/10889.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10889/head:pull/10889

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


More information about the compiler-dev mailing list