corb2
corb2 copied to clipboard
Supported versions of Java
It is a bit unclear which highest and lowest versions of JRE and JDK are supported. Is it really just JRE 8+, meaning JDK21 will work fine too? Maybe useful to add a support table in the README.
Same question for com.marklogic:marklogic-corb and com.marklogic.gradle.task.CorbTask in Gradle.
Unless/until issues are identified with later versions of Java that can't be resolved, I would expect that they all work and that it really should be Java 8 or later. CoRB is currently developed on and compiled for Java 8 compatibility.
As issues are identified, we have made adjustments. For instance, issue #214 to remove the dependency on deprecated JAXB javax.xml.bind package.
The ml-gradle CorbTask uses reflection in order to dynamically build the set of CoRB task options from the Options class. So, that is where I would expect issues to arise in later versions of Java, but I haven't heard of any issues.
If you do encounter a problem with a particular version of Java please raise an issue.