harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Flynn (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HARMONY-6687) DatagramChannel.receive in non-blocking mode should be non-blocking
Date Thu, 29 Sep 2011 01:34:45 GMT
DatagramChannel.receive in non-blocking mode should be non-blocking
-------------------------------------------------------------------

                 Key: HARMONY-6687
                 URL: https://issues.apache.org/jira/browse/HARMONY-6687
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Kenneth Flynn
            Priority: Blocker


configureBlocking just sets the boolean and does not set the O_NONBLOCK ioctl on the fd. 
There is a comment in the implConfigureBlocking method that is wrong.  You need to set this
so that you can do a receive and have it return immediately (and return null) as described
in the JavaDoc.

This problem appears on Android.

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

        

Mime
View raw message