-
-
Notifications
You must be signed in to change notification settings - Fork 637
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
JDK 21-23 Compatibility for 0.x branch #2811
Comments
Hi @pivovarit , First of all, I’m really excited to see a new, passionate leader taking charge of the wonderful VAVR! I compiled using the OpenJDK 64-Bit Server VM Zulu21.32+17-CA (build 21.0.2+13-LTS, mixed mode, sharing) and encountered the same exception. From what I understand, this appears to be an issue with the bytecode. If you could provide some guidance on how to resolve this issue, I’d be happy to assist. |
Thanks! Actually, I have no clue what is the core issue here - my bet is that it's caused by outdated dependencies responsible for code generation, or Scala itself (according to scala docs, 2.12.18 is the first JDK21-friendly version) |
Hi dear @pivovarit Please take a look at the PR. It is probably not a comprehensive solution for the mentioned issue, but it could possibly be a path to it. Best regards |
Hi @pivovarit , I also see -Werror warnings related to serialization problem with JDK21. I am able to build |
Yes, we should handle those - I guess that would be the last thing we could fix before releasing 0.10.5 :) I'm in US now and might be slow to respond. The problems are caused, most likely, by missing |
no issues. I will work on the changes. Thanks for the info. |
fyi: #2857 |
I believe this is done :) thanks everyone! |
Branch
version/0.x
represents a release train for "legacy" vavr and it still needs to be able to be built and verified under the newest JDKs.At the moment, it collapses under JDK21 with:
The text was updated successfully, but these errors were encountered: