RFR: JDK-8285932 Implementation of JEP-430 String Templates (Preview) [v3]

Jim Laskey jlaskey at openjdk.org
Wed Nov 2 18:05:16 UTC 2022


On Fri, 28 Oct 2022 18:47:54 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update TemplateRuntime::combine
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/parser/Scanner.java line 100:
> 
>> 98:         private void ensureLookahead(int lookahead) {
>> 99:             for (int i = savedTokens.size() ; i < lookahead ; i++) {
>> 100:                 Token ahead = tokenizer.readToken();
> 
> curious - why this change?

Residue from lookahead experiments. Will revert.

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

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


More information about the compiler-dev mailing list