harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Beliaev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1637) [drlvm] Azureus sets java.library.path, which disrupts finding .so files
Date Tue, 16 Jan 2007 16:03:27 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-1637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465188
] 

Vladimir Beliaev commented on HARMONY-1637:
-------------------------------------------

This is duplicate of HARMONY-2897 and HARMONY-2335.

Sure, HARMONY-2335 is newer then this one, still it has more information, so let's close this
one as duplicate of HARMONY-2335.

BTW, the bug was introduced by the following change in 

     <drlvm trunk>/working_vm/vm/vmcore/src/init/vm_properties.cpp

        /*
        *  vm.boot.library.path initialization, the value is the location of VM executable
        * 
        *  2006-09-06 gmj :  there's no reason to ever believe this is true given how the
VM can be 
        *  launched in a mariad of ways, so just set to empty string.
        */
        properties.set("vm.boot.library.path", "");

So, the system native libraries are loaded based on java.library.path only  - if it is redefined
(by -Djava.library.path=xxx) then the system libraries (which are load through java.lang.System.loadLibrary,
like ICUInterface34) are NOT loaded. 

Thanks
Vladimir


> [drlvm] Azureus  sets java.library.path, which disrupts finding .so files
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-1637
>                 URL: https://issues.apache.org/jira/browse/HARMONY-1637
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>         Environment: Ubuntu 6, r450941, azurus
>            Reporter: Geir Magnusson Jr
>
> Azurus shell script sets java.libarary.path, which prevents the load of ICU library.
 Seems like we're not handling this right in DRLVM

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message