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

Add 'uses' information to OSGI metadata in MANIFEST.MF #1494

Merged

Conversation

matthiasblaesing
Copy link
Member

No description provided.

sratz and others added 3 commits December 22, 2022 15:04
When multiple versions of JNA are present in a single OSGI environment,
it can happen that OSGI computes an incorrect dependency chain, which
can lead to exceptions like the following:

This can be addressed by enriching the Export-Package metadata with
;uses="..." information [1].

Fixes java-native-access#1487.

[1] https://spring.io/blog/2008/10/20/understanding-the-osgi-uses-directive/
…port-package-metadata.sh, add CHANGES.md entry
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.

None yet

2 participants