On Wed, 6 Jul 2022 20:49:25 GMT, John R Rose <jr...@openjdk.org> wrote:

> The code examples in these files were exdented to make it easier to extract 
> example code and test it, and to maintain equivalence during active 
> development of the APIs.
> 
> The examples in runnable form are in 
> test/jdk/java/lang/invoke/JavaDocExamplesTest.java in the same repo.
> 
> It would be nice if some day we could tie together the two copies into one 
> using a link. I don't recall whether snippets can do this or not, given that 
> the two copies are far apart in the repo structure.
> 
> I agree that just the bracket changes are valuable by themselves. I also have 
> no objection to fixing the exdentation.

Thanks John; I'll push the update to use the snippet tag as-is and leave 
further refinements to future work.

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

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

Reply via email to