Skip to content

Platform: OSGi Export of Solaris package#1007

Merged
bhamail merged 2 commits into
java-native-access:masterfrom
swimmesberger:patch-1
Aug 31, 2018
Merged

Platform: OSGi Export of Solaris package#1007
bhamail merged 2 commits into
java-native-access:masterfrom
swimmesberger:patch-1

Conversation

@swimmesberger

@swimmesberger swimmesberger commented Aug 30, 2018

Copy link
Copy Markdown
Contributor

The oshi library (https://github.com/oshi/oshi/) can't be used in an OSGi environment with JNA 4.5.2 because the "com.sun.jna.platform.unix.solaris" package is used by oshi (and therefore imported) but not exported by JNA - this results in "Unsatisfied import package com.sun.jna.platform.unix.solaris".

This pull request exposes the solaris package for OSGi environments.

@bhamail

bhamail commented Aug 30, 2018

Copy link
Copy Markdown
Contributor

Looks fine to me. Could you also add a short note to the CHANGES.md file?

@swimmesberger

Copy link
Copy Markdown
Contributor Author

Added a entry to the CHANGES.md

@bhamail
bhamail merged commit 180d4a3 into java-native-access:master Aug 31, 2018
@bhamail

bhamail commented Aug 31, 2018

Copy link
Copy Markdown
Contributor

Thanks for the PR!

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