Skip to content

25 is not a valid choice for -java-output-version #24908

@He-Pin

Description

@He-Pin

Compiler version

Scala 3.3.7
Java 25
With Scala maven plugin 4.9.8

Minimized code

Output

[INFO] compiling 17 Scala sources and 7 Java sources to /home/admin/aone-build/tmcp/tmcp-jsonnet/target/classes ...
[ERROR] : 25 is not a valid choice for -java-output-version
[INFO] :   scalac -help  gives more information
[ERROR] one error found

Expectation

It should support 25, because https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    itype:bugstat:needs triageEvery issue needs to have an "area" and "itype" label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions