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

 

Reply via email to