Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upLatest version does not support Java 9 Modules #440
Comments
|
Thanks for reporting this @benstpierre! I have added this to our backlog. For this issue to gain priority in our backlog, we need additional +1's or a PR. When we receive a PR, that provides the biggest jump in priority. |
Issue Summary
The latest sendgrid api does not support Java 9 modules. Not only is there no module-info.java your api uses split packages which disqualifies it from use in the java 9 Module system.
You get this error when you try to use it...
Module 'yourmodule' reads package 'com.sendgrid' from both 'sendgrid.java' and 'java.http.client'
Steps to Reproduce
Try to use sendgrid 4.2.1 in a Java 9 or Java 10 app with a module-info.java file.
This article explains.
https://msayag.github.io/SplitPackage/