On Wed, 22 Mar 2023 23:16:11 GMT, Chen Liang <[email protected]> wrote:
>> Jim Laskey has updated the pull request incrementally with two additional
>> commits since the last revision:
>>
>> - Tidy javadoc
>> - Rename StringTemplate classes
>
> src/java.base/share/classes/java/lang/StringTemplate.java line 550:
>
>> 548: * SimpleProcessor<JSONObject> jsonProcessor = st -> new
>> JSONObject(st.interpolate());
>> 549: * }
>> 550: * @implNote The Java compiler automatically imports {@link
>> StringTemplate#STR}
>
> Does this note belong here? And does this come with a rule in the Java
> Language Specification, which can be linked?
This is in the changes JLS defined in
https://bugs.openjdk.org/browse/JDK-8296302 . I'll be updating the @jls links
when finalized.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/10889#discussion_r1146066143