JavaHamcrest icon indicating copy to clipboard operation
JavaHamcrest copied to clipboard

Bump source and target compatibility to Java 1.8

Open peterdemaeyer opened this issue 4 years ago • 1 comments

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.

peterdemaeyer avatar Feb 21 '21 19:02 peterdemaeyer

duplicates #207 see also #206

edysli avatar Jul 26 '21 14:07 edysli