This commit fixes a memory leak in Jaxb2XmlEncoder that occurs when the input stream contains an error. Test added as well. Issue: SPR-17419
This commit fixes a memory leak in Jaxb2XmlEncoder that occurs when the input stream contains an error. Test added as well. Issue: SPR-17419