On Tue, 21 Feb 2023 16:33:34 GMT, Darragh Clarke <[email protected]> wrote:

> 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

Good point. From [JEP 413](https://openjdk.org/jeps/413):

> Code fragments are typically Java source code, but they may also be fragments 
> of properties files, source code in other languages, or plain text. A snippet 
> may specify a lang attribute, which identifies the kind of content in the 
> snippet. For an inline snippet, the default value is java.

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

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

Reply via email to