Hi Joachim

> Joachim Geidel wrote
>> The following expression answers nil:
>> 
>>    NativeBoost
>>        loadFunction: 'JNI_CreateJavaVM_Impl'
>>        from:
>> '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries/libclient.dylib'
> 
> My fault! I should have used NativeBoost class>>loadSymbol:fromModule:. The
> two methods have no comment,

sad sad sad
could you add comments and add a bug entry.
I'm sorry about it.

> and it took a while until I found the comment
> in Object>>nbGetSymbolAddress:module: which explains that
> #loadSymbol:fromModule: uses the OS specific symbol lookup, while
> loadFunction:from: searches for functions of VM plugins. 
> 
> Best regards,
> Joachim Geidel
> 
> 
> 
> --
> View this message in context: 
> http://forum.world.st/NativeBoost-Can-t-load-function-on-OS-X-10-8-5-tp4708359p4708445.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
> 


Reply via email to