Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supported versions of Java #247

Open
grtjn opened this issue Jan 23, 2025 · 2 comments
Open

Supported versions of Java #247

grtjn opened this issue Jan 23, 2025 · 2 comments

Comments

@grtjn
Copy link

grtjn commented Jan 23, 2025

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.

@grtjn
Copy link
Author

grtjn commented Jan 23, 2025

Same question for com.marklogic:marklogic-corb and com.marklogic.gradle.task.CorbTask in Gradle.

@hansenmc
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants