On Mon, 14 Sep 2020 09:09:11 GMT, Pavel Rappo <pra...@openjdk.org> wrote:
> Yet another cleanup change that has accumulated during my work on > `DocCommentParser` and other javadoc-related areas of > compiler. src/jdk.compiler/share/classes/com/sun/tools/javac/parser/DocCommentParser.java line 290: > 288: > 289: protected void inlineTag(ListBuffer<DCTree> list) { > 290: assert buf[bp] == '{' : buf[bp]; not sure that this is what you want to do. We usually use com.sun.tools.javac.util.Assert for this as they can't be skipped if the code is not executed with assertions off. Same for similar changes in this patch ------------- PR: https://git.openjdk.java.net/jdk/pull/148