RFR (JAXP) 8029955 : AIOB in XMLEntityScanner.scanLiteral upon parsing literals with > 100 LF chars

huizhe wang huizhe.wang at oracle.com
Mon Dec 16 19:31:43 UTC 2013


This is a quick fix for a whitespace buffer that was not adjusted 
properly in one of the two cases.  The buffer, whiteSpaceLookup, is 
filled in two cases and adjusted properly the 2nd time. The code is 
moved into a method storeWhiteSpace so that it's shared for the 1st case 
as well.

Note at line 1175, there is no need to save character 0x20 since all 
whitespace characters will later be replaced with character 0x20.



More information about the core-libs-dev mailing list