Let us move to Java 17 as Spark 3.5 suports it. We should be able to use the new language features as well as see some performance gains.