You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrew Zhang (JIRA)" <ji...@apache.org> on 2006/07/06 11:14:31 UTC
[jira] Updated: (HARMONY-779) [classlib][nio] Refine several
methods of o.a.h.nio.internal.DatagramChannelImpl
[ http://issues.apache.org/jira/browse/HARMONY-779?page=all ]
Andrew Zhang updated HARMONY-779:
---------------------------------
Attachment: nio.diff
Hello,
Would you please try my patch?
For item1 mentioned in previous description, the patch also removes a unnecessary catch
block since this exception would never be thrown if implConfigureBlocking does nothing.
Thanks!
Best regards,
Andrew
> [classlib][nio] Refine several methods of o.a.h.nio.internal.DatagramChannelImpl
> --------------------------------------------------------------------------------
>
> Key: HARMONY-779
> URL: http://issues.apache.org/jira/browse/HARMONY-779
> Project: Harmony
> Type: Improvement
> Components: Classlib
> Reporter: Andrew Zhang
> Attachments: nio.diff
>
> Refine several methods of o.a.h.nio.internal.DatagramChannelImpl. The improvements include:
> 1. implConfgiureBlocking method: Remove an unnecessary operation as discussed on mailing-list. [1]
> 2. Change ArrayIndexOutOfBoundsException to IndexOutOfBoundsException in read/write methods as spec specifies and RI also
> throws IndexOutOfBoundsException.
> 3. Delete some unnecessary comment-out codes.
> I'll upload a patch 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