On Wed, 6 Jul 2022 00:08:04 GMT, liach <d...@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