Skip to content

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