<i18n dev> RFR: JDK-8315457 Implementation of String Templates (Second Preview)

Alan Bateman alanb at openjdk.org
Mon Oct 16 14:30:15 UTC 2023


On Mon, 16 Oct 2023 13:41:55 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

> Update String Templates for a second preview. With the addition of
> 
> - Expression type and throws are determined from the `process` method of the processor type and not the processor type.
> 
> - Qualified `STR` and `RAW` are treated the same as unqualified `STR` and `RAW` .
> 
> - Raw (generic) process types are no longer an error.

src/java.base/share/classes/java/lang/StringConcatHelper.java line 136:

> 134:      * @param value       value to mix in
> 135:      * @return            new length and coder
> 136:      * @since 22

The @since will be bumped when the feature becomes permanent, no need to bump it for the second preview.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16202#discussion_r1360750529


More information about the i18n-dev mailing list