Closed
Description
Compiler version
3.1.0
Minimized code
Bash script showing issue with scalac
~ % java -version
openjdk version "1.8.0_302"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_302-b08)
OpenJDK 64-Bit Server VM (Temurin)(build 25.302-b08, mixed mode)
~ % scalac -version
Scala compiler version 3.1.0 -- Copyright 2002-2021, LAMP/EPFL
~ % scalac -release:8 -help
8 is not a valid choice for -release
scalac -help gives more information
Output
8 is not a valid choice for -release
Expectation
Should accept the setting as this one should be safe to use.