Hi OSGi Experts,

I have a question on using native code in OSGi.

----
[Assumption]

- The native code "samplenative.so" exists in LD_LIBRARY_PATH on Linux.
- The jar file of bundle A does not "samplenative.so".

[Question]

- Can bundle A load the native code ?
        by calling System.loadLibrary("samplenative").
----

It seems to me that R4.2 core spec says 
        "No, all native codes to be loaded must be in the JAR and
        specified in the Bundle-NativeCode header".

Best regards, 

---------------------
NTT Cyber Solutions Laboratories

     Ikuo YAMASAKI
        E-mail: [email protected]
TEL +81-46-859-8537  FAX +81-46-855-1282 


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to