harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1357) [drlvm] hynio lib is not loaded
Date Thu, 31 Aug 2006 13:32:26 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1357?page=comments#action_12431876 ] 
            
Gregory Shimansky commented on HARMONY-1357:
--------------------------------------------

I wonder if NIO classes could load the native library with System.loadLibrary as all good
behaving Java code should do. Since this library was not preloaded it deson't seem to be necessary
for classlib initialization, so it looks like preloading it isn't needed.

> [drlvm] hynio lib is not loaded
> -------------------------------
>
>                 Key: HARMONY-1357
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1357
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>         Attachments: load-nio.patch, load-nio.patch
>
>
> The list of pre-loaded shared libraries misses "hynio" but refers to non-existing "hypool".

> There are unexpected failures in NIO tests due to this:
>   <testcase classname="org.apache.harmony.tests.nio.AddressUtilTest" name="test_getSocketChannelAddress"
time="0.002">
>     <error message="org/apache/harmony/nio/AddressUtil.getFDAddress(Ljava/io/FileDescriptor;)J"
type="java.lang.UnsatisfiedLinkError">java.lang.UnsatisfiedLinkError: org/apache/harmony/nio/AddressUtil.getFDAddress(Ljava/io/FileDescriptor;)J
> 	at org.apache.harmony.nio.AddressUtil.getChannelAddress(AddressUtil.java:70)
> 	at org.apache.harmony.tests.nio.AddressUtilTest.test_getSocketChannelAddress(AddressUtilTest.java:52)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> </error>
>   </testcase>
>   <testcase classname="org.apache.harmony.tests.nio.AddressUtilTest" name="test_getDatagramChannelAddress"
time="0.002">
>     <error message="org/apache/harmony/nio/AddressUtil.getFDAddress(Ljava/io/FileDescriptor;)J"
type="java.lang.UnsatisfiedLinkError">java.lang.UnsatisfiedLinkError: org/apache/harmony/nio/AddressUtil.getFDAddress(Ljava/io/FileDescriptor;)J
> 	at org.apache.harmony.nio.AddressUtil.getChannelAddress(AddressUtil.java:70)
> 	at org.apache.harmony.tests.nio.AddressUtilTest.test_getDatagramChannelAddress(AddressUtilTest.java:60)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> </error>
>   </testcase>
>   <testcase classname="org.apache.harmony.tests.nio.AddressUtilTest" name="test_getServerSocketChannelAddress"
time="0.001">
>     <error message="org/apache/harmony/nio/AddressUtil.getFDAddress(Ljava/io/FileDescriptor;)J"
type="java.lang.UnsatisfiedLinkError">java.lang.UnsatisfiedLinkError: org/apache/harmony/nio/AddressUtil.getFDAddress(Ljava/io/FileDescriptor;)J
> 	at org.apache.harmony.nio.AddressUtil.getChannelAddress(AddressUtil.java:70)
> 	at org.apache.harmony.tests.nio.AddressUtilTest.test_getServerSocketChannelAddress(AddressUtilTest.java:68)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> </error>
>   </testcase>

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

        

Mime
View raw message