Menu

#409 JNI: load libraries should be by classloader, not global

working
closed
nobody
JNI (27)
5
2012-09-21
2004-10-13
Dave Grove
No

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.

Discussion

  • Dave Grove

    Dave Grove - 2004-10-18

    Fixed by contribution 041

     
  • Steven Augart

    Steven Augart - 2005-01-13

    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.

     
  • Steven Augart

    Steven Augart - 2005-01-13

    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).

     
  • Dave Grove

    Dave Grove - 2008-07-05

    Logged In: YES
    user_id=1215435
    Originator: YES

    moved to JIRA: http://jira.codehaus.org/browse/RVM-557

     

Log in to post a comment.