Integrated: JDK-8289775: Update java.lang.invoke.MethodHandle[s] to use snippets

Joe Darcy darcy at openjdk.org
Mon Oct 28 20:59:40 UTC 2024


On Wed, 6 Jul 2022 00:08:04 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Update existing examples in  java.lang.invoke.{MethodHandle, MethodHandles} to use snippets rather than the older markup idiom.
>
> 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.

That isn't an unreasonable suggestion. However, I wanted to present this change in an easy-to-review fashion so limited the diffs to the bracketing tags.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/9385#discussion_r915068805


More information about the core-libs-dev mailing list