Skip to content

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

Merged
matthiasblaesing merged 3 commits intojava-native-access:masterfrom
matthiasblaesing:pr-1492
Jan 9, 2023
Merged

Add 'uses' information to OSGI metadata in MANIFEST.MF#1494
matthiasblaesing merged 3 commits intojava-native-access:masterfrom
matthiasblaesing:pr-1492

Conversation

@matthiasblaesing
Copy link
Copy Markdown
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.

2 participants