RFR: JDK-8289775: Update java.lang.invoke.MethodHandle[s] to use snippets
Joe Darcy
darcy at openjdk.org
Wed Jul 6 17:03:43 UTC 2022
On Wed, 6 Jul 2022 00:08:04 GMT, liach <duke 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: https://git.openjdk.org/jdk/pull/9385
More information about the core-libs-dev
mailing list