Closed
Description
When using OpenJDK 12+ in combination with cucumber-java8
users may experience class cast exceptions. See: Java+Cucumber execution error (java.lang.ClassCastException: class io.cucumber.docstring.DocString cannot be cast to class java.lang.String)
These occur because typetools
is unable to read the parameter types from lambdas on OpenJDK 12+. See jhalterman/typetools#52,
cucumber-java
should not be affected. They're separate modules since v4.0.0.
Resolving this requires fixing jhalterman/typetools#52 to make TypeTools to work on Java 12+.
Update
The Cucumber team does not have resources available to fix this. We will deprecate cucumber-java8
at some point in the future.
Metadata
Metadata
Assignees
Labels
No labels