On Tue, 5 Jul 2022 22:22:46 GMT, Joe Darcy <da...@openjdk.org> wrote:

> Update existing examples in  java.lang.invoke.{MethodHandle, MethodHandles} 
> to use snippets rather than the older markup idiom.

In addition, I believe we can add link in many examples, but I am not sure if 
this is part of this issue or if it will be addressed separately.

src/java.base/share/classes/java/lang/invoke/MethodHandle.java line 272:

> 270:  * Here are some examples of usage:
> 271:  * {@snippet lang="java" :
> 272: Object x, y; String s; int i;

These lines can now be properly indented, and they should be.

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

PR: https://git.openjdk.org/jdk/pull/9385

Reply via email to