[ https://issues.apache.org/jira/browse/FLINK-33310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17778464#comment-17778464 ]
Sergey Nuyanzin commented on FLINK-33310: ----------------------------------------- Merged as [6cdfca2a6aba1a387b866d9358df9c1ee7f1c138|https://github.com/apache/flink/commit/6cdfca2a6aba1a387b866d9358df9c1ee7f1c138] > 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 > Priority: Major > Labels: pull-request-available > > 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)