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

Jim Laskey jlaskey at openjdk.org
Thu Mar 23 11:52:45 UTC 2023


On Wed, 22 Mar 2023 23:16:11 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Jim Laskey has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Tidy javadoc
>>  - Rename StringTemplate classes
>
> src/java.base/share/classes/java/lang/StringTemplate.java line 550:
> 
>> 548:      * SimpleProcessor<JSONObject> jsonProcessor = st -> new JSONObject(st.interpolate());
>> 549:      * }
>> 550:      * @implNote The Java compiler automatically imports {@link StringTemplate#STR}
> 
> Does this note belong here? And does this come with a rule in the Java Language Specification, which can be linked?

This is in the changes JLS defined in https://bugs.openjdk.org/browse/JDK-8296302 . I'll be updating the @jls links when finalized.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/10889#discussion_r1146066143


More information about the i18n-dev mailing list