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

Jim Laskey jlaskey at openjdk.org
Mon Nov 21 14:58:47 UTC 2022


On Mon, 21 Nov 2022 12:52:42 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

>> src/java.base/share/classes/java/lang/template/StringTemplate.java line 35:
>> 
>>> 33: /**
>>> 34:  * {@link StringTemplate} is the run-time representation of a string template or
>>> 35:  * text block template in a template expression.
>> 
>> Can the link to the JLS 15.8.6 be included earlier so the definition of "template expression" isn't hanging until the end of the class javadoc.
>
> Didn't know that it was positional. Will change.

Turns out that @jls is sensitive to its position.

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

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


More information about the compiler-dev mailing list