question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deprecate and remove cucumber-java8

See original GitHub issue

cucumber-java8 does not work on OpenJDK 12+. The Cucumber team does not have the time and people available to make cucumber-java8 work on OpenJDK 12+ so we are deprecating the module for removal.

This will also result in the removal of ScenarioScoped glue which will allow us to improve the caching mechanism used to match steps to regular expressions (https://github.com/cucumber/cucumber-jvm/issues/2035).

  • v8.0.0 deprecate cucumber-java8
  • v9.0.0 remove cucumber-java8

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
simonstratmanncommented, Sep 18, 2022

I wrote a (kinda hacky) IntelliJ plugin to convert a couple of thousand step definitions from lambda to methods. I might be able to provide the code although it’s mostly IntelliJ specific.

1reaction
mpkorstanjecommented, Dec 4, 2020

You can still use cucumber-java.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cucumber has deprecated Given/Then/When in 4.7
The tag itself is not deprecated. The import is. You'll need to update your import statements to the new import.
Read more >
Developers - Deprecate and remove cucumber-java8 - - Bountysource
The Cucumber team does not have the time and people available to make cucumber-java8 work on OpenJDK 12+ so we are deprecating the...
Read more >
Deprecated List (Cucumber-JVM: Java 8 4.5.1 API) - Javadoc.io
Deprecated API. Contents. Deprecated Interfaces. Deprecated Interfaces. Interface and Description. cucumber.api.java8.Af. use Af instead.
Read more >
Cucumber JVM 4.5.0 update - Step Up Automation
Removes spurious deprecation warning. ... [Java] Deprecate cucumber.api.java8.*. Use io.cucumber.java8.* instead.
Read more >
Automate Cucumber-JVM upgrades with OpenRewrite
package io.cucumber.examples.calculator; import io.cucumber.java8. ... Cucumber; @Cucumber // TODO Deprecated for removal public class ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found