-
-
Notifications
You must be signed in to change notification settings - Fork 339
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
StackOverflow when mocking a collaborator (interface) and answering with a subype of the declared collaborator's return-type. #517
Comments
We are having the same problem. That was very strange, especially when you try to start with a new mocking library in your code base. I don't have other explanaition. |
Thanks for the feedback. I'll see if I can reproduce your results. I shall also try running it from the command line, not from IDEA. |
Hi. I have the same problem, but I'm using just simple mocks. This is an extract of the stacktrace:
I'm using this JDK: AdoptOpenJDK 11.0.9 OpenJ9
I've just discovered that the problem doesn't occur when we use JDK 11.0.8 or JDK 11.0.9 Hotspot
I hope that this could be of any help |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you are sure that this issue is important and should not be marked as |
+1 It seems this library only works with Hotspot. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you are sure that this issue is important and should not be marked as |
Please see the attached snippets or pull from mockk_stackOverflow.
Stack trace
Minimal reproducible code (the gist of this issue)
The text was updated successfully, but these errors were encountered: