-
Notifications
You must be signed in to change notification settings - Fork 128
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
JPMS open modules do not export packages #836
Conversation
We incorrectly assumed that open modules would export all packages, which is not the case. - Open modules allow for (deep) reflection to all classes, which is something we want to allow. We have no good reason right now to restrict reflection in Mutiny. - Exported packages need to be added manually, there is no wildcard. I did a selection of packages that shall be in the public API. - I fixed transitive 'requires' clauses: Reactive Streams is part of the Mutiny API, just like SmallRye Common Annotations.
Codecov Report
@@ Coverage Diff @@
## main #836 +/- ##
============================================
+ Coverage 89.08% 89.18% +0.09%
- Complexity 3052 3055 +3
============================================
Files 383 383
Lines 12185 12185
Branches 1547 1549 +2
============================================
+ Hits 10855 10867 +12
+ Misses 697 694 -3
+ Partials 633 624 -9
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just not sure of the operators
package.
I would only expose packages where we have revapi configured, which should be our public API.
AbstractUni and AbstractMulti are definitely part of the public API (advanced use case where you need to implement your own operator). We use them in Reactive Messaging. I know that the Cassandra Quarkus extension is also using them. |
@cescoffier See the latest changes to align RevAPI and the module descriptor |
|
We incorrectly assumed that open modules would export all packages, which is not the case.