Module-file installation, module repositories, and native libraries

Mark Reinhold mr at sun.com
Fri Apr 23 11:41:17 PDT 2010


> Date: Thu, 22 Apr 2010 21:42:55 +0100
> From: alan.bateman at sun.com

> Mark Reinhold wrote:
>> :
>> 
>> Native libraries
>> 
>>   Module class loaders now override the findLibrary method, so native
>>   libraries in a module can be found and linked in the usual way.  See
>>   the unit test org/openjdk/jigsaw/hello-native.sh for a simple example.
>> 
> Nice! I'm curious about "platform" modules. If we packaged up as a jmod
> package, and installed into the system module library then should jmod special
> case the installation of the native libs (or binaries) and install them into
> the image's lib or bin directory than the module library? I'm just wonder if we
> are re-organizing the platform's native libraries.

We will reorganize the platform's native libraries, but we'll likely need
to special-case some files, especially on Windows.

- Mark



More information about the jigsaw-dev mailing list