RFR: 8308016: Use snippets in java.io package [v2]

Tagir F. Valeev tvaleev at openjdk.org
Sun May 14 05:58:54 UTC 2023


On Fri, 12 May 2023 17:59:32 GMT, Lance Andersen <lancea at openjdk.org> wrote:

>> I have been just trying to keep it as similar visually as possible but what you say is reasonable.
>
> Agree, that I would make the code valid when using a snippet

There's a replacement tag for this. Some people use label, e.g.

code: // @replace substring="code:" replacement="..."


This way, the snippet remains compilable and rendered the same as before.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13957#discussion_r1193079515



More information about the security-dev mailing list