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

danieljarabek duke at openjdk.org
Sat Nov 12 07:19:41 UTC 2022


On Thu, 10 Nov 2022 17:42:04 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

>> 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:
> 
>   Requested changes #5

src/java.base/share/classes/java/util/FormatterBuilder.java line 52:

> 50: /**
> 51:  * This package private class supports the construction of the {@link MethodHandle}
> 52:  * returned by {@Link Formatter#formatFactory}.

Suggestion:

 * returned by {@link Formatter#formatFactory}.

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

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


More information about the compiler-dev mailing list