-
Notifications
You must be signed in to change notification settings - Fork 870
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
Java 9 Modules - split package errors #8001
Comments
Hello, and thank you to everyone involved with creating OrientDB! This is my first post (we've been using OrientDB for a few years now, and it has been quite useful!). We are currently looking into modularization of our code, and this issue (currently marked closed as completed) has become a blocker for us. Our code depends on orientdb-core-3.2.16, orientdb-client-3.2.16, orientdb-server-3.2.16, and orientdb-tools-3.2.16. Really we only need orientdb-server, but it depends on all of the others (and their transitive dependencies). The problem is that orientdb-core and orientdb-client contain split packages, which are not allowed by Java 9+ modules. Split packages can be detected by the Package Package Package Package Hopefully fixing this now would make OrientDB more robust in future Java versions as modularity is used more and more. Please let me know if I should create a separate ticket instead of reusing this one. Thanks again! |
Hi, Yes it make sense for orientdb to support modularization in long term, will check and try to move the things that can be moved to the right packages, without breaking the APIs. Bye |
This split package issue appears to be fixed in the latest 3.2.X versions of the orientdb jars. Thank you! |
OrientDB Version: 3.0.0RC1
Java Version: OpenJDK 64-Bit Server VM (build 9+181, mixed mode)
OS: Arch Linux ARM
Create bare maven project in netbeans. Add orientdb-graphdb to dependencies. Create new modules-info.java. Generated result is:
And fails to compile with errors:
The text was updated successfully, but these errors were encountered: