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

Jim Laskey jlaskey at openjdk.org
Mon Mar 6 14:24:14 UTC 2023


On Sat, 4 Mar 2023 19:34:36 GMT, Marius Volkhart <duke at openjdk.org> wrote:

>> Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Tighten up reporting of string template errors (fewer messages)
>
> src/java.base/share/classes/java/lang/template/Carriers.java line 396:
> 
>> 394: 
>> 395:     /**
>> 396:      * Wrapper object for carrier data. Instances types are stored in the {@code objects}
> 
> Suggestion:
> 
>      * Wrapper object for carrier data. Instance types are stored in the {@code objects}

Changing

> src/java.base/share/classes/java/lang/template/StringTemplate.java line 76:
> 
>> 74:  * produced that returns the same lists from {@link StringTemplate#fragments()} and
>> 75:  * {@link StringTemplate#values()} as shown above. The {@link StringTemplate#STR} template
>> 76:  * processor uses these lists to yield an interpolated string. the value of {@code s} will
> 
> Suggestion:
> 
>  * processor uses these lists to yield an interpolated string. The value of {@code s} will

Changing

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

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


More information about the i18n-dev mailing list