[9] RFR: 8173390: Investigate SymbolTable in SAXParser

Aleks Efimov aleksej.efimov at oracle.com
Wed Feb 15 16:31:47 UTC 2017


Please, help to review the change required by JAXWS-RI code [1]: 
SAXParser needs to reset internal SymbolTable to enable pooling of 
parsers in SAAJ-RI code. Latest version of JAXWS-RI code (that is 
currently under review [2]) doesn't provide a workaround to reset the 
symbol table (it was done to remove module dependency on Xerces internal 
classes). So the solution is to reset the SymbolTable during SAXParser 
reset. The webrev with the changes and simple test that reproduces 
SAAJ-RI behavior:

The fix was tested with all JDK/JCK (JAX[P|B|WS] related tests. No 
failures observed.

Thank you,

[1] https://bugs.openjdk.java.net/browse/JDK-8173390

More information about the core-libs-dev mailing list