On 6/14/23 10:58, Efremov, Rodion wrote:
What Java version Collections 4.5 is being built for? 4.4 seems to rely on Java 1.8, yet I might contribute in the future my own data structure so I need to know whether my implementation may assume availability of all the JDK 9+ version syntax sugar (like records, var keyword, etc.).
I am not actually associated with any of the Commons projects. I am associated with the Solr project, which is also Java-based.
I really doubt that the minimum Java requirement will be changed in a minor release. Especially since Java 9 and Java 10 are not LTS releases.
If you're working on code changes for a commons-collection version that's not 5.0 or later, assume that you need to code for the current Java requirement, which is 8. It is unlikely that a contribution that requires a newer Java version will be accepted for any 4.x version of the project.
When work begins on 5.x, they might decide up increase the minimum Java version to 11 or 17, which are LTS releases of Java.
Thanks, Shawn --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org