RFR: 8300792: Refactor examples in java.net.http to use @snippet
Darragh Clarke
duke at openjdk.org
Tue Feb 21 16:36:28 UTC 2023
On Tue, 21 Feb 2023 16:08:03 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> Other places in the JDK are using:
>
> ```
> {@snippet lang=java :
> ```
>
> Since all our snippets are java code we may want to do that too.
I wouldn't mind changing it to specify, though I do think if no value is set it defaults to java, at least from reading the JEP thats what I thought
-------------
PR: https://git.openjdk.org/jdk/pull/12692
More information about the net-dev
mailing list