From https://docs.scala-lang.org/overviews/compiler-options/index.html#targeting-a-version-of-the-jvm:
Targeting a version of the JVM
Applications or libraries targeting the JVM may wish to specify a target version.
The -release option specifies the target version, such as “8” or “18”.
But, on the other hand, from https://docs.scala-lang.org/overviews/compiler-options/index.html#:~:text=%2Drelease%20RELEASE%20or%20%2D%2Drelease%20RELEASE:
-release RELEASE or --release RELEASE
Compile for a specific version of the Java platform. Supported targets: 6, 7, 8, 9
So what are the supported targets? Only 6, 7, 8 and 9? Or also others?