snuyanzin commented on code in PR #23548:
URL: https://github.com/apache/flink/pull/23548#discussion_r1365634770
##########
pom.xml:
##########
@@ -1124,6 +1124,35 @@ under the License.
</build>
</profile>
+ <profile>
+ <id>java21</id>
+ <activation>
+ <jdk>[21,)</jdk>
+ </activation>
+
+ <properties>
+ <!-- Bump Scala because before 2.12.18 doesn't
compile on Java 21. -->
+ <scala.version>2.12.18</scala.version>
Review Comment:
yes the idea is to apply same approach: newer scala is used only in case of
compiliation with jdk21, for jdk 8, 11, 17 the behaviour is same as before this
PR. That's why it's defined in jdk21 dedicated profile
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]