harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1183) [classlib][nio] o.a.h.tests.java.nio.channels.SelectorTest fails sometimes.
Date Tue, 15 Aug 2006 03:35:13 GMT
[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
            Priority: Minor

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 {
            } catch (IOException e) {
                // do nothing
Notice that accept() may return null if client channel connected to server in nonblocking
I'll upload a patch to fix this problem soon. Thanks!

Best regards,

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


View raw message