-
Notifications
You must be signed in to change notification settings - Fork 16
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
Solving module conflicts with bundled jar #36
Conversation
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
|
||
module example.app { | ||
requires jakarta.mail; | ||
requires java.management; |
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.
requires java.logging too?
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.
Yes, it should because there is a reference to that in one class. But this should throw a compilation error and it is not happening. What could be the reason of this missing error?.
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.
I think it works because jakarta.mail requires logging too. As in: requires transitive java.logging;
is present in other module info files that is being required in this one.
So I think this is non-issue.
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
I'm going to update this PR to support again JDK8. Setting it to draft. |
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
It supports JDK8, I have verified it with: And tests are running with modules, as can be seen here:
|
Could we add JDK 8 to GitHub Actions to avoid future regressions? |
Yes, it is good idea because it is actually failing with that issue. I created a PR already: #40 |
@jbescos Thank you so much :-) |
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.
package declaration belongs bellow license header (with an empty line in between)
Signed-off-by: Jorge Bescos Gascon <jorge.bescos.gascon@oracle.com>
Done, thank you |
Solves:
#30
#32
#33
#35