On Tue, 9 Apr 2024 11:34:45 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> wrote:
> This PR removes support for the string template feature from the Java > compiler and the Java SE API, as discussed here: > > https://mail.openjdk.org/pipermail/amber-spec-experts/2024-April/004106.html src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java line 120: > 118: * @since 21 > 119: */ > 120: public static final int MAX_INDY_CONCAT_ARG_SLOTS; May this value change in the future? If yes, we might change this to a method to avoid incorrect eager inlining by the java compiler, or drop this with string templates. src/java.base/share/classes/jdk/internal/util/OctalDigits.java line 44: > 42: * > 43: * @since 21 > 44: */ Spurious javadoc ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18688#discussion_r1558241809 PR Review Comment: https://git.openjdk.org/jdk/pull/18688#discussion_r1558250463