-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Karate does not work with Java 22 (?) => OK with Java 21 #2542
Comments
tagging as |
I think I'm facing the same problem with Java 22. None of mine tests can be run. Tests executed with Runner are getting stuck infinitely on 'CompletableFuture.allof()' (at Suite.java, lines 246, 248, karate-core:1.4.1) |
@a11970 thanks for this - I think I'll prioritize this, will take a look and revert |
this is fixed but we are unable to make a maven release which happens occasionally when the server is under high load. we can try again next week the problem was graal was not compatible with java 22 and had to be upgraded. we also set our "compatibility" build to use Java 23 (early access) so we are in a better place that way meanwhile you can build from source: https://github.com/karatelabs/karate/wiki/Developer-Guide |
I can confirm that a locally build from the source with graal upgraded fixed the problem. So now I'm just waiting for a new release from you. Thank you for your help. |
@ecidou @a11970 @edwardsph 1.5.0.RC4 is now available https://central.sonatype.com/artifact/io.karatelabs/karate-core |
1.5.0 released |
Hello,
I'm new to Karate and I tried the simple the standalone JAR with the very simple test : httpbin.feature
I've lost few hours fighting against Java 22 (from https://www.oracle.com/fr/java/technologies/downloads/#java22)
Nothing happens, except this:
(none report, except karate.log)
But everything is OK with the previous version : Java 21
(From Windows 10 and Powershell)
Regards
The text was updated successfully, but these errors were encountered: