-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Compatibility with Java 9. #31
Comments
Interesting problem. It can't be moved to core but it can be pushed to a new package in JDBC. Can you move them to com.j256.ormlite.db.jdbc and see if it compiles? Thanks. |
@j256 moving only jdbc then |
I think it makes more sense to just move the jdbc packages since core is a lot larger but whatever works for you @zanella in the short-term. |
I hackfixed it as well by simply copying both -android and -jdbc into -core. |
This has been [hopefully] fixed in 5.2. Can someone verify? I'm not working with Java 9 yet. |
If you try to compile a Java 9 deep encapsulated module with both code and jdbc you will get the following error:
error: module ModuleName reads package com.j256.ormlite.db from both ormlite.jdbc and ormlite.core
This seems fairly easy to fix, just move the package to the other project or rename it.
Thanks!
The text was updated successfully, but these errors were encountered: