-
Notifications
You must be signed in to change notification settings - Fork 428
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
Modular Driver JAR for Java9 #569
Comments
Hi @thomasklingler, the push request for an updated JDBC4.3 with module-info is currently undergoing review. In the mean time, you can test out the changes from this branch. Please feel free to provide feedback on the changes, and let us know if something doesn't work or can be improved. |
waiting for good news |
We added 'automatic-module-name' to the Manifest such that the |
Driver version or jar name
mssql-jdbc-6.3.5.jre8-preview.jar
Java/JVM version
JDK 9.0.1
Proposal
Provide a modular mssql-jdbc-mod-6.3.5-preview.jar for use with Java 9.
Add the following module-info:
The module-info could be extended to make additional public types available for direct reference:
I tried this successfully on a copy of mssql-jdbc-6.3.5.jre8-preview.jar by adding a compiled
module-info.class
file, and removing the now invalid signature files from the META-INF directory.Note that the modified jar still works for Java8: Java8 ignores the module-info class, and all other classes are compiled with Java8.
The text was updated successfully, but these errors were encountered: