On Tue, 26 Apr 2022 15:04:15 GMT, Thiago Henrique Hüpner 
<d...@openjdk.java.net> wrote:

> 8287353: Use snippet tag instead of pre tag in Javadoc of InterruptedException

src/java.base/share/classes/java/lang/InterruptedException.java line 35:

> 33:  * this exception.  The following code can be used to achieve
> 34:  * this effect:
> 35:  * {@snippet:

I recommend using `{@snippet lang=java :` instead, like in 
https://github.com/openjdk/jdk/blob/6520843f86f638fe4d1e5b3358fab5799daca654/src/java.compiler/share/classes/javax/tools/JavaFileManager.java#L84

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

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

Reply via email to