-
Notifications
You must be signed in to change notification settings - Fork 121
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
compilation error with JVM 20 #1204
Comments
I was not able to reproduce the issue:
I tried switching from @yanns do you have some more precise reproduction instructions (repo, OS, steps)? |
It's an internal application.
JVM installed with jabba:
I found the issue. There was the following option in
Using the following produces the same issue:
|
I'll try with other release values later. |
when looking at https://docs.scala-lang.org/overviews/compiler-options/index.html, the flag
The documentation might be outdated as I can use the values 11 and 12. |
I still cannot reproduce the issue though. Could it be an issue in the compiler itself? Can you try running
According to this line it supports all versions from 8 to 21. |
This error looks similar to the error when the old Scala compilers are executed with newer JDK versions (9+) that do not have a proper Sbt has solved this by running their bespoke |
steps
By updating the JVM from 19 to OpenJDK20U-jre_x64_linux_hotspot_20.0.1_9
with scala
2.13.11
and sbt
1.9.0
problem
we have a new compilation error:
The text was updated successfully, but these errors were encountered: