Re: [DISSCUSS] Cassandra and Java 17

2022-03-23 Thread Josh McKenzie
My .02 (Ekaterina and I have been chatting on slack about this a bit): Having a new section in the build.xml for JDK17 runtime env w/more --add-exports and --add-opens is consistent with how we got jdk11 support working (and run it to this day looks like). It's worth considering if we want to m

Re: [DISSCUSS] Cassandra and Java 17

2022-03-23 Thread Ekaterina Dimitrova
Thank you for your quick response Scott. I agree on all points you made. Also, with our current setup the dependencies updates would affect the stable Java 11. We cannot afford to not consider potential changes in behavior, performance, etc But also we should work on potential blockers and not lea

Re: [DISSCUSS] Cassandra and Java 17

2022-03-23 Thread C. Scott Andreas
Ekaterina, thank you very much for sharing this! I admit, it’s much more involved than I expected to be. The —add-opens and —add-exports flags seem suitable for development and perhaps experimental support, but we’ll probably want to make changes to remove as many as we can before considering J

[DISSCUSS] Cassandra and Java 17

2022-03-23 Thread Ekaterina Dimitrova
Hi everyone, Looking into our way to Java 17, I wanted to share with the community findings/thoughts and align on course of action. We already deprecated scripted UDFs so we can remove them when the time to switch from Java8&11 to Java 11&17 comes. I removed the ant script tasks and created custo