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
Bump source and target compatibility to Java 1.8 #331
Comments
peterdemaeyer
added a commit
to peterdemaeyer/JavaHamcrest
that referenced
this issue
Feb 21, 2021
peterdemaeyer
added a commit
to peterdemaeyer/JavaHamcrest
that referenced
this issue
Feb 21, 2021
peterdemaeyer
added a commit
to peterdemaeyer/JavaHamcrest
that referenced
this issue
Sep 2, 2021
peterdemaeyer
added a commit
to peterdemaeyer/JavaHamcrest
that referenced
this issue
Sep 7, 2021
peterdemaeyer
added a commit
to peterdemaeyer/JavaHamcrest
that referenced
this issue
Oct 3, 2021
peterdemaeyer
added a commit
to peterdemaeyer/JavaHamcrest
that referenced
this issue
Oct 3, 2021
nhojpatrick
pushed a commit
to peterdemaeyer/JavaHamcrest
that referenced
this issue
Feb 13, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hamcrest still supports Java 1.7 source and target compatibility.
Java 1.7 is out of support for years already, I suggest to bump to Java 1.8.
Once that is done, we can finally leverage some useful Java 1.8 features such as lambda expressions in the Hamcrest sources.
Due to quirks and differences with generic type arguments, the change is not as straightforward as it looks, but I'll take a stab at it nonetheless.
I'll prep a PR, but I'll need someone to remove the Java 1.7 compilation from the matrix job in the Travis build.
The text was updated successfully, but these errors were encountered: