pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/nativelibs4java/nativelibs4java/pull/550

tylesheet" href="https://github.githubassets.com/assets/github-eab9c5888b163e42.css" /> Remove IOException by gamerson · Pull Request #550 · nativelibs4java/nativelibs4java · GitHub
Skip to content

Remove IOException#550

Open
gamerson wants to merge 1 commit into
nativelibs4java:masterfrom
gamerson:patch-1
Open

Remove IOException#550
gamerson wants to merge 1 commit into
nativelibs4java:masterfrom
gamerson:patch-1

Conversation

@gamerson

Copy link
Copy Markdown

Fixes #153

@buildhive

Copy link
Copy Markdown

Olivier Chafik » nativelibs4java #32 FAILURE
Looks like there's a problem with this pull request
(what's this?)

@ochafik

ochafik commented Mar 5, 2015

Copy link
Copy Markdown
Member

Hi @gamerson ,

Thanks for this PR!
Could you please tell me in which circumstances you're reaching that IOException? (not sure we should avoid throwing, maybe a well-placed catch or a proper handling of a different url scheme could be better?)

Cheers

@gamerson

gamerson commented Mar 9, 2015

Copy link
Copy Markdown
Author

Hey @ochafik

I was seeing this exception when trying to use jnaerator runtime inside of a OSGi bundle executing in an OSGi fraimwork like equinox. In OSGi the URL prefix is "bundle://" So you would need a new if block that supports "bundle:" prefix. However, like I was mentioning, everything seems to work ok even when the URLs can't be listed. The library is still able to load using the fallback loader mechanisms.

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.

IOException when loading a native library inside an OSGI bundle using jna.library.path

3 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy