While working towards releasing Calcite 1.38.0, I noticed that JDK 23 has been released, and decided to try to upgrade Calcite to support it[1]. And I found myself blocked by an Avatica bug, namely that Avatica uses a getSubject method that has been deprecated for some time and finally disabled in JDK 23. (Incidentally, Hadoop has the same problem [3]; people don't expect them to run on the current JDK, but we will need to disable our Spark and Pig adapter tests under JDK 23 until they fix it.)
There's currently just one bug, to upgrade Avatica to JDK 23. This includes re-enabling the mode where we fail to compile if any deprecated methods are used, and removing uses of getSubject [2]. I think we can release Calcite 1.38.0 with limited JDK 23 support (i.e. a few tests disabled), but we're going to need a new Avatica release in the next month or two, and it will need to fix the getSubject issue. What do you think? Julian [1] https://issues.apache.org/jira/browse/CALCITE-6587 [2] https://issues.apache.org/jira/browse/CALCITE-6588 [3] https://issues.apache.org/jira/browse/HADOOP-19212