harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6407) [java6][classlib]NetworkInterface constructor different from trunk, will throw NPE if network interface has no address
Date Thu, 24 Dec 2009 08:41:29 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tony Wu resolved HARMONY-6407.
------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0M1

Hi Ray,

patch has been integrated at r893709, please help to verify. thanks for your contribution!

> [java6][classlib]NetworkInterface constructor different from trunk, will throw NPE if
network interface has no address
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6407
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6407
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 6.0M1
>            Reporter: Ray Chen
>            Assignee: Tony Wu
>             Fix For: 6.0M1
>
>         Attachments: Harmony6407.diff
>
>
> NetworkInterface of java6 branch is different from NetworkInterface of trunk.
> In their constructors, trunk simply assign the addresses to the "addresses" field, but
in java6 branch it assign addresses one by one which ignore the situation that passed in addresses
may be null.
> Merge trunk to java6, or add a if(addresses != null) will solve the NPE error.

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