I also support the proposal to upgrade to JDK 11, the feasibility of which was discussed in an earlier thread [1], but note that we may be stuck with JDK 11 for a longer period of time in the future, as Flink's support for JDK 17 [2] is still a work in progress.
References: [1] https://lists.apache.org/thread/m2xx6f0ssvjrrd8vtkozqkscv312njo5 [2] https://issues.apache.org/jira/browse/FLINK-15736 > 2023年8月25日 23:33,ConradJam <[email protected]> 写道: > > I support upgrading to JDK 11, and it will be better to set JDK11 as the > default compiled maven version (to guide users to upgrade), and also > prepare for JDK17 in the future > > Huajie Wang <[email protected]> 于2023年8月22日周二 12:09写道: > >> Hi all, >> >> Sorry for taking so long back here. We can continue the discussion on this >> topic. Personally, I support upgrading to JDK 11. Welcome to hear more >> opinions. >> >> >> Best, >> Huajie Wang >> >> >> >> Huajie Wang <[email protected]> 于2023年5月7日周日 11:33写道: >> >>> hi tison: >>> >>> Thanks for your reminder. Currently, there are long-term support >> versions of JDK 8, 11, and 17. Version 17 is too new, and considering the >> usage of users, upgrading directly to 17 would be risky and radical. >> Comparatively, JDK 11 may be a better choice, and many projects already >> support JDK11. What do you think? >>> >>> >>> Best, >>> Huajie Wang >>> >>> >>> >>> tison <[email protected]> 于2023年5月3日周三 18:15写道: >>> >>>> One thing to be considered is that Java 11 is end of active support this >>>> year[1]. >>>> >>>> Best, >>>> tison. >>>> >>>> [1] https://endoflife.date/java >>>> >>>> >>>> Huajie Wang <[email protected]> 于2023年5月3日周三 18:09写道: >>>> >>>>> +1 >>>>> Actually, there is also a proposal to stop supporting JDK 8 in Flink, >>>> and >>>>> the flink-kubernetes-operator also requires JDK 11. Considering the >>>> future >>>>> functionality and long-term development, upgrading the JDK version is >>>> very >>>>> necessary. Currently, Scala is simultaneously maintaining two >> versions: >>>>> 2.11 and 2.12, which causes problems for project release and >>>> maintenance. I >>>>> agree to upgrade both JDK and Scala. >>>>> >>>>> >>>>> >>>>> Best, >>>>> Huajie Wang >>>>> >>>>> >>>>> >>>>> Linying <[email protected]> 于2023年4月27日周四 13:09写道: >>>>> >>>>>> Hi everyone, >>>>>> >>>>>> StreamPark uses Java 1.8 and Scala 2.11/2.12, both of which are >>>>> relatively >>>>>> old versions. The mainstream JDK adoption version is already at 11 >> or >>>> 17, >>>>>> while the mainstream Scala adoption version is 2.13. Flink has been >>>>>> supporting both JDK 1.8 and 11 since 1.10. Since version 1.15, Flink >>>> only >>>>>> provides Scala 2.12 binary distribution, and this version does not >>>>> restrict >>>>>> the Scala version used by the user. >>>>>> >>>>>> So I propose upgrading StreamPark's default Java version to 11 and >>>> only >>>>>> keeping Scala 2.12. Another topic of discussion is, if the minimum >>>>> required >>>>>> Flink version we support is above 1.15, then StreamPark's Scala >>>> version >>>>> can >>>>>> be directly upgraded to 2.13 which is very attractive. >>>>>> >>>>>> I invite you all to share your thoughts, concerns or suggestions >> about >>>>>> this proposal, so we can reach an informed decision regarding the >>>> upgrade >>>>>> process. >>>>>> >>>>>> Thank you for your attention and valuable input. >>>>>> >>>>>> >>>>>> Best regards, >>>>>> Linying Assad >>>>>> >>>>> >>>> >>> >> > > > -- > Best > > ConradJam
