RFR: JDK-8279513: jdk/javadoc/doclet/testDocletExample/TestDocletExample.java fails after 8278795

Pavel Rappo prappo at openjdk.java.net
Wed May 25 17:14:33 UTC 2022


On Wed, 25 May 2022 17:02:15 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> `SnippetUtils` is broken if we get a null result.

If it's unconditionally so, which it seems to be, wouldn't it be better to throw something from `SnippetUtils.getSnippetById` instead?

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

PR: https://git.openjdk.java.net/jdk/pull/8796


More information about the compiler-dev mailing list