You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2006/08/31 08:55:22 UTC

[jira] Created: (HARMONY-1357) [drlvm] hynio lib is not loaded

[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


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

        

[jira] Commented: (HARMONY-1357) [drlvm] hynio lib is not loaded

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] Updated: (HARMONY-1357) [drlvm] hynio lib is not loaded

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1357?page=all ]

Alexey Varlamov updated HARMONY-1357:
-------------------------------------

    Attachment: load-nio.patch

> [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
>
>
> 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

        

[jira] Resolved: (HARMONY-1357) [drlvm] hynio lib is not loaded

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1357?page=all ]

Geir Magnusson Jr resolved HARMONY-1357.
----------------------------------------

    Resolution: Fixed

committed in r441101

thanks

> [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
>         Assigned To: Geir Magnusson Jr
>         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

        

[jira] Assigned: (HARMONY-1357) [drlvm] hynio lib is not loaded

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1357?page=all ]

Geir Magnusson Jr reassigned HARMONY-1357:
------------------------------------------

    Assignee: Geir Magnusson Jr

> [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
>         Assigned To: Geir Magnusson Jr
>         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

        

[jira] Commented: (HARMONY-1357) [drlvm] hynio lib is not loaded

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1357?page=comments#action_12432045 ] 
            
Alexey Varlamov commented on HARMONY-1357:
------------------------------------------

Gregory,
I mostly agree. This observation may be also applicable to some other libs, like hytext.
The problem I see with this is that there is no (obvious) central entry point in those modules, and hanging static initializer up to each public class is evident overkill.

> [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

        

[jira] Updated: (HARMONY-1357) [drlvm] hynio lib is not loaded

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1357?page=all ]

Alexey Varlamov updated HARMONY-1357:
-------------------------------------

    Attachment: load-nio.patch

Oops, forgot to add item to actual list. The last patch overrides the previous one.

> [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

        

[jira] Closed: (HARMONY-1357) [drlvm] hynio lib is not loaded

Posted by "Geir Magnusson Jr (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1357?page=all ]

Geir Magnusson Jr closed HARMONY-1357.
--------------------------------------


> [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
>         Assigned To: Geir Magnusson Jr
>         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