> 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 33 additional commits since the last revision: - Merge branch 'master' into 8285932 - Requested changes #7 @Stable removal process decl in TemplateProcessor and StringProcessor for specialized javadoc clean up FormatterBuilder javadoc - Requested changes #5 - Clean up new StringTemplate creation Centralized StringTemplate creation in StringTemplateImplFactory. Added consistent defensive copying of lists. Changed List<Object> to List<?> on StringTemplate.interpolate and StringTemplate.of. - Switch from anonymous classes to carrier based StringTemplate implementation - Merge branch 'master' into 8285932 - Internalize FormatConcatItem - Requested changes #5 - Internalize TemplateSupport - Requested changes #4 - ... and 23 more: https://git.openjdk.org/jdk/compare/bd45530e...c15142a3 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/10889/files - new: https://git.openjdk.org/jdk/pull/10889/files/2dc2cad2..c15142a3 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=10889&range=18 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10889&range=17-18 Stats: 3753 lines in 329 files changed: 2217 ins; 766 del; 770 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