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
Dotty exception starting in JDK21-b21 #384
Comments
Thanks for the report, noted. I have no idea what Scala or Dotty is doing either, but apparently they are trying to read class files and encounter something unexpected in the class file content due to the change. In either case, this will require updating Dotty (if this is fixed upstream), which may require more than a simple version bump in the dependencies, so it might take some time. We may need to mark the benchmark as incompatible with JDK21 for the time being (similar to what we'll probably have to do with Spark until version 3.5 is released). |
Changes in JDK21 break apache-spark benchmarks and the scala-dotty benchmark (see #370 and #384). With the apache-spark benchmarks, we are waiting for a fix that is expected to appear in Spark 3.5. With the scala-dotty benchmark, we need to check if the issue is handled upstream. For the time being (to allow including JDK21 in the CI testing matrix), we will restrict the supported JVM in these benchmark to JDK20.
This is related to scala/scala3#17536 and fixed in main, probably shipped in 3.3.1. |
Thanks for the heads up, I'll start looking into updating dotty so that when they make the upstream release, we can just bump to that version. |
Hi, Yes, the issue was fixed in lampepfl v3.3.1.
However, this simple change introduces another build problem. I would appreciate it if someone would look into this.
|
It's a bit of a dependency hell — the Dotty update is among targets for the next release to ensure compatibility with latest JDK. |
Starting in JDK-21-b21, due to this fix https://bugs.openjdk.org/browse/JDK-8292275 Dotty fails to run in 0.14.1. and 0.14.2.
I don't know much about Scala or Dotty, thanks for your analysis.
The text was updated successfully, but these errors were encountered: