Re: [DISCUSS] Add scala-2.13 support for implementing completed jdk11 or higher flink version

2022-05-09 Thread Ran Tao
Thanks Martijn, got it. If we upgrade jdk8 to jdk11 and we want to keep the compatibility, now we can't upgrade scala version indeed. I will stay focused for this problem, thanks a lot ~ Martijn Visser 于2022年5月9日周一 19:55写道: > Hi Ran, > > Wouldn't a Scala developer who upgrades from Java 8 to

Re: [DISCUSS] Add scala-2.13 support for implementing completed jdk11 or higher flink version

2022-05-09 Thread Martijn Visser
Hi Ran, Wouldn't a Scala developer who upgrades from Java 8 to Java 11 run into the problem that his savepoint isn't compatible if we would make such a change? Best regards, Martijn On Mon, 9 May 2022 at 13:31, Ran Tao wrote: > Hi, Martijn. Thanks for responding, i have read these issues,

Re: [DISCUSS] Add scala-2.13 support for implementing completed jdk11 or higher flink version

2022-05-09 Thread Ran Tao
Hi, Martijn. Thanks for responding, i have read these issues, and the issues u mentioned are about the compatibility of current released version(which use jdk8), so we are stuck with 2.12.7. But my concern is more about optional jdk11 build, when we use jdk11, we must enable jdk11-target

Re: [DISCUSS] Add scala-2.13 support for implementing completed jdk11 or higher flink version

2022-05-09 Thread Martijn Visser
Hi Ran, Thanks for opening the discussion. There's a Flink ticket already for adding Scala 2.13 support [1] and also for upgrading to the latest Scala 2.12 version [2]. The problem for upgrading to a later version of Scala is outlined in [3]. We couldn't upgrade to later versions of Scala because

[DISCUSS] Add scala-2.13 support for implementing completed jdk11 or higher flink version

2022-05-09 Thread Ran Tao
Hi, guys. I have found out that current flink project build with jdk11 wasn't implemented completed or pure jdk11 version. (higher version has same problem) when enable jdk11, it has some scenarios. 1. Using jdk11 but source 1.8 target 1.8 -> it's ok. 2. Using jdk11 and with jdk11-target so