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

Configure Mockito to disable the Objenesis class cache #273

Merged
merged 5 commits into from
Jul 15, 2024

Conversation

martinmladenov
Copy link
Collaborator

In meta tests, we dynamically reload classes. This causes casting issues when Objenesis caches an instantiator for a class that is later replaced.

@martinmladenov martinmladenov added the bug Something isn't working label Jul 15, 2024
@martinmladenov martinmladenov merged commit 106a358 into main Jul 15, 2024
16 checks passed
@martinmladenov martinmladenov deleted the mockito-meta-test-bug branch July 15, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant