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

Jim Laskey jlaskey at openjdk.org
Wed Nov 9 23:41:41 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 28 additional commits since the last revision:

 - Merge branch 'master' into 8285932
 - Internalize FormatConcatItem
 - Requested changes #5
 - Internalize TemplateSupport
 - Requested changes #4
 - Requested changes #3
 - Merge branch 'master' into 8285932
 - Add @SafeVarargs declarations
 - Move template bootstrap
 - Requested changes #2
 - ... and 18 more: https://git.openjdk.org/jdk/compare/d0a14fab...c8412eb5


  - all: https://git.openjdk.org/jdk/pull/10889/files
  - new: https://git.openjdk.org/jdk/pull/10889/files/b35ed665..c8412eb5

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

  Stats: 44455 lines in 484 files changed: 8506 ins; 33629 del; 2320 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