RFR: JDK-8285932 Implementation of JEP-430 String Templates (Preview) [v2]
Jim Laskey
jlaskey at openjdk.org
Fri Oct 28 19:31:38 UTC 2022
On Fri, 28 Oct 2022 16:33:31 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java line 4139:
>>
>>> 4137: List<Type> typeArguments = interfaceType.getTypeArguments();
>>> 4138:
>>> 4139: if (typeArguments.size() == 2) {
>>
>> Is this code correct? TemplateProcessor seems to have just one type argument.
>
> Ah - `templateProcessorType` is not what it seems :-)
Renaming. I held off assuming that bike shedding would change it once again.
-------------
PR: https://git.openjdk.org/jdk/pull/10889
More information about the compiler-dev
mailing list