<Swing Dev> JDK9 Review Request for JDK-7104635 HTMLEditorKit fails to write down some html files
    Rajeev Chamyal 
    rajeev.chamyal at oracle.com
       
    Thu Nov 26 08:36:31 UTC 2015
    
    
  
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/
 
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/20151126/90839a4f/attachment.html>
    
    
More information about the swing-dev
mailing list