Skip to content
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

[CONJ-1053] Make the JPMS requirement on waffle-jna static #185

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

A248
Copy link
Contributor

@A248 A248 commented May 14, 2023

The waffle-jna dependency is needed only when Windows GSSAPI authentication is used. In a previous commit, the static was incorrectly removed, making the dependency a hard requirement when running on JPMS.

5ac67b2

However, maven is not the same as JPMS. An optional dependency via Maven is not the same as requires static in JPMS. They serve entirely different purposes. By removing requires static, you are saying that all deployments must have waffle-jna present on the module path.

Re-adding requires static will not affect existing clients using MariaDB Connector-J. If they used waffla-jna before, they will continue to use it after this change.

https://jira.mariadb.org/browse/CONJ-1053

@piewie
Copy link

piewie commented Sep 15, 2023

@A248 any reason why this is not merged yet? We stumble on this issue

@A248
Copy link
Contributor Author

A248 commented Sep 15, 2023

@piewie I'm not a maintainer. You could politely ask Diego Dupin (@rusher) or comment on the linked JIRA issue.

@Rottinator
Copy link

Is there any chance that this can be merged in near future? This is also something very annoying for us, having a lot of dependencies on our module path/class path we not really need, cause the dependency is not marked as requires static.

@rusher
Copy link
Collaborator

rusher commented Aug 2, 2024

I'm on vacation, i'll look at that in a few weeks. @vaintroub what is tout point on it ?

@Rottinator
Copy link

@rusher Any news on this topic? :)

@rusher rusher merged commit 10c3ad3 into mariadb-corporation:master Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants