<Swing Dev> JDK9 Review Request for JDK-7104635 HTMLEditorKit fails to write down some html files

prasanta sadhukhan prasanta.sadhukhan at oracle.com
Thu Jan 14 11:33:00 UTC 2016


Fix looks good to me.

Regards
Prasanta
On 11/26/2015 2:06 PM, Rajeev Chamyal wrote:
> Hello All,
>
> Please review the following fix for Jdk9:
> Bug: https://bugs.openjdk.java.net/browse/JDK-7104635
> Webrev: http://cr.openjdk.java.net/~rchamyal/7104635/webrev.00/ 
> <http://cr.openjdk.java.net/%7Erchamyal/7104635/webrev.00/>
>
> Issue: If the minimized HTML has spaces the writing is failing with 
> index out of bounds exception.
>
> Cause: The AbstractWriter::indent method is passing negative length of 
> indentChars to writer.
> Fix: Added checks for negative value while decrementing the 
> AbstractWriter::indentlevel.
> Regards,
> Rajeev Chamyal
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20160114/efb059bc/attachment.html>


More information about the swing-dev mailing list