felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Pauls (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-439) Improve native code loading
Date Tue, 18 Dec 2007 22:43:43 GMT

     [ https://issues.apache.org/jira/browse/FELIX-439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karl Pauls resolved FELIX-439.
------------------------------

    Resolution: Fixed

Bundle installation will now fail in case a native library is not in the jar and we only use
the first library of a given name. Furthermore, we now support .dylib extensions on the mac
as well as others (should make it possible to use .netmodules as well). Additionally, the
name checking is more strict avoiding an issue that could result in loading the wrong library
in certain cases.

> Improve native code loading
> ---------------------------
>
>                 Key: FELIX-439
>                 URL: https://issues.apache.org/jira/browse/FELIX-439
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>
> We need to improve native code loading in three areas:
> 1) bundle installation should fail in case a native library is not in the jar but in
the header clause that is selected for the current platform.
> 2) we should only use the first library we find of a given name.
> 3) on MacOSX there are two extensions accepted by java namely, .jnilib and .dylib but
System.mapLibrary() returns only the .jnilib extension.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message