sendgrid-java icon indicating copy to clipboard operation
sendgrid-java copied to clipboard

Latest version does not support Java 9 Modules

Open benstpierre opened this issue 7 years ago • 2 comments

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/

benstpierre avatar Jun 15 '18 22:06 benstpierre

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.

thinkingserious avatar Jun 25 '18 22:06 thinkingserious

Since there has been no activity on this issue since March 1, 2020, we are closing this issue. Please feel free to reopen or create a new issue if you still require assistance. Thank you!

thinkingserious avatar Mar 11 '21 00:03 thinkingserious