RFR  (JAXP): 6857903: SAXException.initCause() does not correctly set Exception
Roger.Riggs at Oracle.com
Thu Dec 21 18:24:51 UTC 2017
In the case of creating SAXException and then calling initCause() it
the value returned by getException() and getCause() may differ.
The past behavior and the descriptions of those two methods are the same.
Is the change intentional?
If not, you may need to override initCause() to update the 'exception'
On 12/21/2017 12:27 PM, Aleks Efimov wrote:
> Please, help to review the fix for jaxp bug that fixes SAXException to
> correctly set exception cause with 'setCause' method:
> I've tried to keep the fix miminal with respect to serial form of this
> API class, i.e. kept private 'exception' field.
> The new test case was added to IssueTracker56Test unit test. Testing
> showed no related JCK/JTREG failures.
> With Best Regards,
More information about the core-libs-dev