Sergey Nuyanzin created FLINK-33310:
---------------------------------------
Summary: Scala before 2.12.18 doesn't compile on Java 21
Key: FLINK-33310
URL: https://issues.apache.org/jira/browse/FLINK-33310
Project: Flink
Issue Type: Sub-task
Reporter: Sergey Nuyanzin
It fails with
{noformat}
[ERROR] error:
[INFO] bad constant pool index: 0 at pos: 48445
[INFO] while compiling: <no file>
[INFO] during phase: globalPhase=<no phase>, enteringPhase=<some phase>
[INFO] library version: version 2.12.15
[INFO] compiler version: version 2.12.15
...
[INFO] last tree to typer: EmptyTree
[INFO] tree position: <unknown>
[INFO] tree tpe: <notype>
[INFO] symbol: null
[INFO] call site: <none> in <none>
[INFO]
[INFO] == Source file context for tree position ==
{noformat}
based on release notes 2.12.18 - the first 2.12.x supporting jdk21
https://github.com/scala/scala/releases/tag/v2.12.18
--
This message was sent by Atlassian Jira
(v8.20.10#820010)