RFR: 8283994: Make Xerces DatatypeException stackless [v2]

Aleksey Shipilev shade at openjdk.java.net
Wed Apr 6 07:51:40 UTC 2022


On Fri, 1 Apr 2022 08:10:48 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Also update LastModified
>
> Any other reviews? I would like someone else to confirm my investigation that we don't use the stack traces out of these exceptions too...

> Hello @shipilev, do you think this stackless nature of this specific `DatatypeException` type should be noted in its javadoc, just to avoid any surprises when someone in future ends up using this exception type as the "cause" of some other exception?

I don't think so. It seems to me the intent for these exceptions is to carry error information without any stack trace info.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8036


More information about the core-libs-dev mailing list