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

Use "<? super T>" for all arguments of anyOf #257

Merged
merged 1 commit into from May 7, 2019
Merged

Use "<? super T>" for all arguments of anyOf #257

merged 1 commit into from May 7, 2019

Conversation

phoenix384
Copy link
Contributor

fixes #256

@tumbarumba
Copy link
Member

Thanks @phoenix384, I was able to reproduce your issue after a bit of effort. Because Hamcrest itself is compiled with sourceCompatibility = JavaVersion.VERSION_1_7, the problem doesn't appear in that project. However, if I set up a new project with a Hamcrest as a dependency, and use sourceCompatibility = JavaVersion.VERSION_1_8, JDK 1.11 couldn't compile.

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.

Matchers.anyOf: inference variable has incompatible bounds with Java >8
2 participants