Loading native libraries in a task

java
scalatask

(Julien Perret) #1

In order to be able to load native libraries in Java/Scala using the System.loadLibrary(…), a new openmole function was defined by Romain : withThreadClassLoader.
This function allows you to set the threadclassloader for the executing thread.
It works great for my use case and I wanted to add it to the documentation.
My question is: where?
What do you think?

Thanks


#2

I just added a page about scala code extension in the doc (with todo for you on it :slight_smile: ):

It is a first version feel free to modify it at will.

(For the classloader thing, I guess it is more for the service loader, isn’t it?)