You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Catherine Hope (JIRA)" <ji...@apache.org> on 2010/07/27 14:50:17 UTC
[jira] Closed: (HARMONY-6601) [classlib][nio]
SocketChannel.connect(null) and DatagramChannel.connect(null) should throw
NullPointerException
[ https://issues.apache.org/jira/browse/HARMONY-6601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Catherine Hope closed HARMONY-6601.
-----------------------------------
Resolution: Invalid
You're right, I was running the tests against jdk7, and for some reason the behaviour has changed, but I get the IllegalArgumentException on Java 5/6
> [classlib][nio] SocketChannel.connect(null) and DatagramChannel.connect(null) should throw NullPointerException
> ---------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-6601
> URL: https://issues.apache.org/jira/browse/HARMONY-6601
> Project: Harmony
> Issue Type: Bug
> Reporter: Catherine Hope
> Assignee: Tim Ellison
> Priority: Minor
> Attachments: 6601.patch
>
>
> Calling SocketChannel.open(null), SocketChannel.connect(null) or DatagramChannel.connect(null) on the RI throws a NullPointerException. On Harmony we get an IllegalArgumentException. All of these methods are using SocketChannelImpl.validateAddress helper method.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.