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

Migration to Java 11 from Java 8 #3834

Open
chenejac opened this issue Feb 22, 2023 · 5 comments · May be fixed by vivo-project/Vitro#368 or #3836
Open

Migration to Java 11 from Java 8 #3834

chenejac opened this issue Feb 22, 2023 · 5 comments · May be fixed by vivo-project/Vitro#368 or #3836
Assignees

Comments

@chenejac
Copy link
Contributor

chenejac commented Feb 22, 2023

Is your feature request related to a problem? Please describe.
Some libraries/dependences require JDK 11+, e.g. Jena 4.

Describe the solution you'd like
Migration to JDK 11 including upgrading some libraries/dependencies if that is needed.

Describe alternatives you've considered
Migration to JDK 17

@chenejac chenejac changed the title Migrating to Java 11 from Java 8 Migration to Java 11 from Java 8 Feb 22, 2023
@michel-heon
Copy link
Member

For many of my assignments it is better to work with the new version (11 or 17).
Here is the list of tasks depending on it.
Testing performance of external graph usage
Improvement of communication with external graph
Investigate and specify support for reasoning

and also, all task associated to "Jena TDB"

@michel-heon
Copy link
Member

michel-heon commented Feb 22, 2023

from my point of view, as long as we have to do the work, I think it's better to go directly to Java 17 and thus avoid possible incompatibilities problems that could occur during a future transition from 11 to 17. I'm thinking in particular of the integration of the reasoner whose source code development has been stopped for a few years. It would be a bad thing to lose some developed functionalities because of an incompatibility between version 11 and 17 (or higher)

@michel-heon
Copy link
Member

I propose that this task be moved to "jena tdb".

@michel-heon
Copy link
Member

@chenejac @wwelling @litvinovg
I just found this document: Oracle JDK Migration Guide
Before going further in the PR's, I propose to review the work already done against this specification
I haven't read the whole thing yet but I think there are some good recommendations on what to do when considering an upgrade to Java11

@chenejac
Copy link
Contributor Author

chenejac commented Mar 3, 2023

It looks as jdeps might be useful in the migration process
https://docs.oracle.com/en/java/javase/11/tools/jdeps.html
https://docs.oracle.com/en/java/javase/11/tools/jdeprscan.html

@michel-heon did you already try to run those checks?

@chenejac chenejac added this to the v1.15 milestone May 9, 2023
@chenejac chenejac removed this from the v1.15 milestone Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
2 participants