-
Notifications
You must be signed in to change notification settings - Fork 109
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
Introduce module descriptors for all modules #362
Conversation
What's the main idea / usecase behind this PR @dmlloyd ? After I built JBoss Modules with this PR included I can see there are explicitly specified via module-info.yml
added via bytecode inspection
According to [1] 'uses' directives specify services for which JBoss Modules API provides these three methods:
These three methods are kind of a 'dynamic' capability to lookup [1] https://docs.oracle.com/javase/specs/jls/se9/html/jls-7.html#jls-7.7.3 |
It's an incremental step towards being able to have module descriptors for certain core components. Many more steps are needed before we would be able to boot JBoss Modules off of the JPMS module path. This change only assumes that, once that is complete, some module named I guess you might have meant to ask this question on jboss-modules/jboss-modules#292 or jboss-modules/jboss-modules#293 though? |
Yes, I mistakenly posted my question here @dmlloyd |
@dmlloyd Hello, do you have some jira tracker for this effort? |
No, there is no such JIRA. |
Some jira tracker would be definitely useful (and probably is required, cc @LittleJohnII, @msve, @darranl). Now it's not clear what is the specific goal, what is the target release, what are the milestones, whether it is enhancement or RFE, whether there is/will be some backward incompatible changes, which projects are affected, etc. |
I understand what you're saying, but it's not actually planned to do any of this, at least not at the moment (and maybe not ever). Mostly this issue, and the "would-be" modules issue, are spillover from the effects of getting spec implementations to support module descriptors. None of these changes actually require a JPMS-aware JBoss Modules though, at least not at present. |
Replaced by #407 |
This draft PR introduces module descriptors for each submodule. There are several prerequisites to being able to merge this:
io.smallrye.common.ref
and module descriptors (any release after2.0.0-RC2
should suffice)io.smallrye.common.net
(blocked on a JBoss Logging descriptor)module-info
jboss-modules/jboss-modules#292, Introducemodule-info
jboss-modules/jboss-modules#293)module-info
file jboss-logging#45)