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

PLC4X-86 - Fix and re-enable tests that were disabled for Java 11 support #78

Conversation

thomasdarimont
Copy link
Contributor

Some of the previously uncommented tests now pass with Java 8 and Java 11.
The fixes mostly consist of workarounds around Mockito quirks.

Mockitos RETURNS_DEEP_STUBS stubbing mode seems to be broken for
methods with generic return types, see:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=535853
mockito/mockito#357

…port

Some of the previously uncommented tests now pass with Java 8 and Java 11.
The fixes mostly consist of workarounds around Mockito quirks.

Mockitos RETURNS_DEEP_STUBS stubbing mode seems to be broken for
methods with generic return types, see:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=535853
mockito/mockito#357
@chrisdutz chrisdutz merged commit afaa24c into apache:develop Aug 23, 2019
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