harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catherine Hope (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-6601) [classlib][nio] SocketChannel.connect(null) and DatagramChannel.connect(null) should throw NullPointerException
Date Tue, 27 Jul 2010 12:50:17 GMT

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


Mime
View raw message