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

Jim Laskey jlaskey at openjdk.org
Wed Nov 9 23:26:39 UTC 2022


On Wed, 9 Nov 2022 22:42:29 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

>> src/java.base/share/classes/java/lang/template/StringTemplate.java line 299:
>> 
>>> 297:      * @throws NullPointerException fragments or values is null or if any of the fragments is null
>>> 298:      */
>>> 299:     public static String interpolate(List<String> fragments, List<Object> values) {
>> 
>> Should be `String interpolate(List<String> fragments, List<?> values) {` as above
>
> Changing

Have to backtrack short term. This change forces StringTemplate.values() to return List<?>. Will have to think this through (affects the JLS et al)

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

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


More information about the i18n-dev mailing list