Re: Return of the "java.lang.UnsatisfiedLinkError: Can't load library: /System/Library/Frameworks/gluegen-rt.Framework/gluegen-rt" exception...
Posted by
Sven Gothel on
Jun 04, 2015; 10:53am
URL: https://forum.jogamp.org/Return-of-the-java-lang-UnsatisfiedLinkError-Can-t-load-library-System-Library-Frameworks-gluegen-rt-tp4034549p4034602.html
On 06/04/2015 12:48 PM, Sven Gothel wrote:
> Hence I propose an API change (for the next minor+ release) as follows:
>
> - interface JarUtil.Resolver {
> - URL resolve( URL url ) {
>
> + interface JarUtil.Resolver {
> + Uri resolve( Uri uri ) {
>
> JarUtil.Resolver.resolve(..) is being called
> in a method which already transform the URL to Uri,
> hence we could rely solely on Uri w/o DNS lookup
> while still supporting UTF-8 character escaping.
BTW .. this earlier transformation would also fix the
Eclipse issue, since:
URI uri = Uri.valueOf(url);
will escape the path properly.
~Sven