RFR: 8266666: Implementation for snippets [v7]

Jonathan Gibbons jonathan.gibbons at oracle.com
Wed Aug 25 15:49:10 UTC 2021


On 8/24/21 2:59 PM, Pavel Rappo wrote:
> Both the commented-out code and its description are from a previous version of markup; you can see that the syntax is slightly different from what we have in JEP today. It's good that you asked this question, because this piece is outdated.
>
> Although the markup syntax has changed, the idea for the test remained: there has to be a way to produce a snippet that showcases markup. I will have to implement that idea.


OK, I see that the markup is potentially an issue. Does it help that 
markup uses the last instance of `//` ... meaning you could protect 
markup that should not be interpreted with an additional trailing `//` 
(possibly including a "dummy" markup tag?)

-- Jon



More information about the compiler-dev mailing list