On Wed, 9 Nov 2022 22:42:29 GMT, Jim Laskey <[email protected]> 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