<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:10.0pt;
font-family:"Aptos",sans-serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Please file a bug. We’ll investigate.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">javadoc-dev <javadoc-dev-retn@openjdk.org> on behalf of Stephan Herrmann <stephan.herrmann@berlin.de><br>
<b>Date: </b>Wednesday, August 14, 2024 at 5:14</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> </span><span style="font-size:12.0pt;color:black">PM<br>
<b>To: </b>javadoc-dev@openjdk.org <javadoc-dev@openjdk.org><br>
<b>Subject: </b>JEP 467 - leading and trailing code blocks by indentation<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt">Hi,<br>
<br>
Using javadoc 23-ea the following snippet is not handled the way I would <br>
expect from the specification in JEP 467:<br>
<br>
/// @Override<br>
/// void m() {}<br>
///<br>
/// Plain text<br>
///<br>
/// @Override<br>
/// void m() {}<br>
public void m() {}<br>
<br>
First, javadoc complains on the first line that @Override is an unknown <br>
tag. But due to the indentation it should be parsed as code, not as a <br>
javadoc tag.<br>
<br>
Second, when I remove the offending line (or move it down one line), <br>
then the first code block is correctly rendered, but the second, <br>
trailing code block is silently dropped.<br>
<br>
best,<br>
Stephan<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>