Had a kotlin 1.4.3 with java 14 project running cu...
# test
b
Had a kotlin 1.4.3 with java 14 project running cucumber tests just fine using lambda step definitions in cucumber-java8. Now, with Kotlin 1.5, I'm getting the "This version of cucumber-java8 is not compatible with Java 12+" error. Tried reducing the java version down to 11, but I still get the error. Did something change with SAM lambda in 1.5 that makes their java class unrecognizable?
I reverted back to kotlin 1.4.3 with java 14 and the tests are running just fine again.
For anyone else reading, it was due to the new dynamic invokations for SAM interfaces in 1.5: https://kotlinlang.org/docs/whatsnew15.html#sam-adapters-via-invokedynamic