RFR 8009581: Xpathexception does not honor initcause()

Alan Bateman Alan.Bateman at oracle.com
Mon Apr 29 13:56:42 UTC 2013

On 29/04/2013 14:45, Aleksej Efimov wrote:
> Alan,
> The XPathException class doesn't have any fields only methods (it had 
> a 'cause' method, but it was deleted in suggested fix). And, as I can 
> see, there is no need to control what information is saved or to 
> append additional information to the serialization stream.
> So, I think the readObject/writeObject is not required here.
> -Aleksej
The serialized form then it includes XPathException's "cause" field. So 
if you remove it then I think it is technically an API change.


More information about the core-libs-dev mailing list