Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix stackoverflow in ArgumentsAreDifferent reporting #2292

Merged
merged 1 commit into from May 11, 2021

Commits on May 11, 2021

  1. Fix stackoverflow in ArgumentsAreDifferent reporting

    When using Mockito without opentest4j, reporting an
    ArgumentsAreDifferent exception would throw a StackOverflowError when
    attempting to obtain the message from the exception.
    
    The root problem was that super.toString() would call its own
    getMessage(). Instead, we should obtain the message from the super, to
    avoid the circular call.
    TimvdLippe committed May 11, 2021
    Configuration menu
    Copy the full SHA
    a53876d View commit details
    Browse the repository at this point in the history