Review Request: 7193710 ByteArrayOutputStream Javadoc contains unclosed <code> element

David Holmes david.holmes at
Tue Aug 28 00:16:10 UTC 2012

Hi Dan,

On 28/08/2012 6:48 AM, Dan Xu wrote:
> This change is to fix the java doc font issue for ByteArrayOutputStream
> class. In current javadoc, contents change to the wrong font starting
> from toString(String charsetName) in ByteArrayOutputStream.html, which
> can be viewed at
> The issue is caused by the unclosed <code> tag.
> The webrev is at

I think the current trend is to move away from <code> etc and use 
{@code}, but your fix is correct and in-style with the rest of the file. 
Not sure if this is an opportunity to upgrade the file to using {@code} ?

> And I also generated new javadoc basing on my fix, which can be looked
> at

That's not accessible to non-Oracle folk.


> Thanks!
> -Dan

More information about the core-libs-dev mailing list