Source code revision
|summary:||Merge branch 'desagar_fix_SAAJ-73_part2' into 'master'|
|date:||2014-08-15 14:51:07 UTC (2 years)|
|message:||Merge branch 'desagar_fix_SAAJ-73_part2' into 'master'
EnvelopeFactory doesn't return parsers to pool in some cases
EnvelopeFactory has a try/catch/finally section for the actual parsing which returns parser to pool.
However if any exceptions occur during setup of SAX Parser, it doesn't return the parsers to the pool. If a few of these errors occur in a VM, the pool could be exhausted and cause build up of threads.
See comments in https://java.net/jira/browse/SAAJ-73 for more information.
I haven't done any performance testing yet because I haven't figured out how to make the SAX setup fail yet.