Native methods in a class should be resolved only from libraries loaded by the class loader that loaded the class - JikesRVM searches in all loaded libraries.
One problem here is that we don't seem to have any notion of assigning native libraries to particular class loaders. This may be my ignorance speaking.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When this is implemented, we will modify VMRuntime.nativeLoad(String libName, ClassLoader loader), which currently ignores the "loader" argument. (The "loader" argument appeared after Classpath 0.13).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Fixed by contribution 041
One problem here is that we don't seem to have any notion of assigning native libraries to particular class loaders. This may be my ignorance speaking.
When this is implemented, we will modify VMRuntime.nativeLoad(String libName, ClassLoader loader), which currently ignores the "loader" argument. (The "loader" argument appeared after Classpath 0.13).
Logged In: YES
user_id=1215435
Originator: YES
moved to JIRA: http://jira.codehaus.org/browse/RVM-557