Skip to content

Conversation

qwwdfsad
Copy link
Member

@qwwdfsad qwwdfsad commented May 1, 2023

…(cause)' constructor.

And restore the original behaviour. After #1631 this constructor's recovery mechanism was broken because 'Throwable(cause)' changes the message to be equal to 'cause.toString()' which isn't equal to the original message.

Also, make reflective constructor choice independable from source-code order

Fixes #3714

…(cause)' constructor.

And restore the original behaviour. After #1631 this constructor's recovery mechanism was broken because 'Throwable(cause)' changes the message to be equal to 'cause.toString()' which isn't equal to the original message.

Also, make reflective constructor choice independable from source-code order

Fixes #3714
@qwwdfsad qwwdfsad requested a review from dkhalanskyjb May 1, 2023 15:44
@qwwdfsad qwwdfsad requested a review from dkhalanskyjb May 2, 2023 15:11
@qwwdfsad qwwdfsad merged commit 25a3553 into develop May 3, 2023
@qwwdfsad qwwdfsad deleted the fix-cause-ctor-recovery branch May 3, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants