<i18n dev> RFR: JDK-8285932 Implementation of JEP-430 String Templates (Preview) [v8]

Jim Laskey jlaskey at openjdk.org
Wed Nov 2 17:49:58 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 22 additional commits since the last revision:

 - Merge branch 'master' into 8285932
 - Add @SafeVarargs declarations
 - Move template bootstrap
 - Requested changes #2
 - Requested changes
 - Remove .orig file
 - Update TemplateRuntime::combine
 - Move StringConcatItem to FormatConcatItem
 - Tabs to spaces
 - Force processor before template string expression
 - ... and 12 more: https://git.openjdk.org/jdk/compare/9bfd9379...6cea084b

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10889/files
  - new: https://git.openjdk.org/jdk/pull/10889/files/6d1d902e..6cea084b

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

  Stats: 145345 lines in 1262 files changed: 82705 ins; 31717 del; 30923 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 i18n-dev mailing list