harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-1183) [classlib][nio] o.a.h.tests.java.nio.channels.SelectorTest fails sometimes.
Date Tue, 15 Aug 2006 03:51:28 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1183?page=all ]

Paulex Yang reassigned HARMONY-1183:
------------------------------------

    Assignee: Paulex Yang

> [classlib][nio] o.a.h.tests.java.nio.channels.SelectorTest fails sometimes.
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-1183
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1183
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Assigned To: Paulex Yang
>            Priority: Minor
>         Attachments: Harmony-1183.diff
>
>
> o.a.h.tests.java.nio.channels.SelectorTest fails sometimes, though unfrequently.
> The failure stack trace looks like:
> java.lang.NullPointerException at org.apache.harmony.tests.java.nio.channels.SelectorTest.assert_select_OP_CONNECT(SelectorTest.java:391)
at org.apache.harmony.tests.java.nio.channels.SelectorTest.test_selectJ(SelectorTest.java:241)
at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> It's caused by resource release in method assert_select_OP_CONNECT:
> finally {
>             try {
>                 ssc.accept().close();  
>             } catch (IOException e) {
>                 // do nothing
>             }
>           ... 
> Notice that accept() may return null if client channel connected to server in nonblocking
mode. 
> I'll upload a patch to fix this problem soon. Thanks!
> Best regards,
> Andrew

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