harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Deakin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6273) [classlib] [luni] InetAddress.getByName(" ") should throw UnknownHostException
Date Thu, 16 Jul 2009 15:00:15 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731976#action_12731976

Oliver Deakin commented on HARMONY-6273:

I just ran the following on Windows x86 federated build:

import java.net.InetAddress;
class Test {
    public static void main(String[] args) throws Exception {
        InetAddress.getByName(" ");

and it completes without any exception/error. Running the same test against IBM Java 5 and
6 completes without any exception also, so we match behaviour there. It looks like this is
a unix only difference.

> [classlib] [luni] InetAddress.getByName(" ") should throw UnknownHostException
> -------------------------------------------------------------------------------------
>                 Key: HARMONY-6273
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6273
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Mark Hindess
> I noticed that the regression test for HARMONY-946 fails on RI with an UnknownHostException.
  It should fail on the Harmony too because there is a space at the end of the string.
 We should fix this bug and fix the regression test.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message