I'm using tinkerpop 3.6.5 to read/write over an AWS neptune graph database. Is there any issues using this library on a jdk 21 project ?
While the doc says "You can now run TinkerPop with Java 17." : https://issues.apache.org/jira/browse/TINKERPOP-2703 I have the impression it's only regarding Gremlin console that I do not use. With a simple project using DriverRemoteConnection I was able to open a connection and read something from the graph. Everything compiles
So I was wondering if there is something documented about this
Solution
I've not personally tried JDK21 so I can't say for sure how TinkerPop and its dependencies will behave. Note that as of right now we do not use any features of Java beyond JDK8, continually test builds on JDK8, 11 and 17 and that we release on JDK8 bytecode. So presumably, any JDK that can run JDK8 should be able to use TinkerPop without trouble. In practice of course it's hard to say that there aren't subtle differences among JDK versions that you could encounter. As an example, I can think of a few exception messages that have changed among versions.