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
Scalac can't generate 55(jvm11) bytecode version #12588
Comments
I don't know, I thought the getting started page had guidance on platform support, but now I can't find it again, so I'm just frustrated again with the docs. The output of There is a newer PR that says to prefer |
scala/scala#9916 and scala/scala#10000 will be released in Scala 2.12.16, which we may publish as soon as this week. |
If you want to test this support now, you could try a nightly build: https://stackoverflow.com/questions/40622878/how-do-i-tell-sbt-or-scala-cli-to-use-a-nightly-build-of-scala-2-12-or-2-13 |
@SethTisue OK, Thanks. |
@SethTisue Hi, the background is that apache flink community discuss upgrade their scala version to 2.12.x. I suggested 2.12.16 because 2.12.16 backport jvm11,jvm17 target jvm functionality, and the flink need this functionality. So i wonder what's the timeline of 2.12.16 released version? I have just noticed a v2.12.16 tag. |
You can track progress at https://contributors.scala-lang.org/t/scala-2-12-16-release-planning/5692 |
Reproduction steps
I try to use scalac compile (environment bounding jdk is jdk11) scala source code, but the generate bytecode version always be 52(jdk8). My scala version is 2.12.15. I notice that scalac help show target:
so, my question is scala-2.12 now whether didnot support generate jvm-11(55) or higher bytecode ? whether user must use 2.13 or higher version?
Problem
didnot support generate jvm-11 (55) or higher bytecode.
The text was updated successfully, but these errors were encountered: