You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tony Wu (JIRA)" <ji...@apache.org> on 2007/01/02 07:38:27 UTC
[jira] Created: (HARMONY-2936)
[classlib][luni]InetAddress.getByName does not support some textual
representations
[classlib][luni]InetAddress.getByName does not support some textual representations
------------------------------------------------------------------------------------
Key: HARMONY-2936
URL: http://issues.apache.org/jira/browse/HARMONY-2936
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: Tony Wu
InetAddress.getByName does not support following textual representations
d.d.d
d.d
d
testcase below shows the problem
public void test_getByName_ddd() throws IOException {
InetAddress i = InetAddress.getByName("1.2.3");
assertEquals("1.2.0.3",i.getHostAddress());
}
public void test_getByName_dd() throws IOException {
InetAddress i = InetAddress.getByName("1.2");
assertEquals("1.0.0.2",i.getHostAddress());
}
public void test_getByName_d() throws IOException {
InetAddress i = InetAddress.getByName(String.valueOf(0xffffffffL));
assertEquals("255.255.255.255",i.getHostAddress());
}
--
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
[jira] Updated: (HARMONY-2936)
[classlib][luni]InetAddress.getByName does not support some textual
representations
Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tony Wu updated HARMONY-2936:
-----------------------------
Attachment: harmony-2936.diff
> [classlib][luni]InetAddress.getByName does not support some textual representations
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-2936
> URL: https://issues.apache.org/jira/browse/HARMONY-2936
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Attachments: harmony-2936.diff
>
>
> InetAddress.getByName does not support following textual representations
> d.d.d
> d.d
> d
> testcase below shows the problem
> public void test_getByName_ddd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2.3");
> assertEquals("1.2.0.3",i.getHostAddress());
> }
> public void test_getByName_dd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2");
> assertEquals("1.0.0.2",i.getHostAddress());
> }
> public void test_getByName_d() throws IOException {
> InetAddress i = InetAddress.getByName(String.valueOf(0xffffffffL));
> assertEquals("255.255.255.255",i.getHostAddress());
> }
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (HARMONY-2936)
[classlib][luni]InetAddress.getByName does not support some textual
representations
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison resolved HARMONY-2936.
----------------------------------
Resolution: Fixed
Thanks Tony.
Patch applied to LUNI module at repo revision r492101.
Please check that it was applied as you expected.
> [classlib][luni]InetAddress.getByName does not support some textual representations
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-2936
> URL: https://issues.apache.org/jira/browse/HARMONY-2936
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Assigned To: Tim Ellison
> Attachments: harmony-2936.diff
>
>
> InetAddress.getByName does not support following textual representations
> d.d.d
> d.d
> d
> testcase below shows the problem
> public void test_getByName_ddd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2.3");
> assertEquals("1.2.0.3",i.getHostAddress());
> }
> public void test_getByName_dd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2");
> assertEquals("1.0.0.2",i.getHostAddress());
> }
> public void test_getByName_d() throws IOException {
> InetAddress i = InetAddress.getByName(String.valueOf(0xffffffffL));
> assertEquals("255.255.255.255",i.getHostAddress());
> }
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (HARMONY-2936)
[classlib][luni]InetAddress.getByName does not support some textual
representations
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison reassigned HARMONY-2936:
------------------------------------
Assignee: Tim Ellison
> [classlib][luni]InetAddress.getByName does not support some textual representations
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-2936
> URL: https://issues.apache.org/jira/browse/HARMONY-2936
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Assigned To: Tim Ellison
> Attachments: harmony-2936.diff
>
>
> InetAddress.getByName does not support following textual representations
> d.d.d
> d.d
> d
> testcase below shows the problem
> public void test_getByName_ddd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2.3");
> assertEquals("1.2.0.3",i.getHostAddress());
> }
> public void test_getByName_dd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2");
> assertEquals("1.0.0.2",i.getHostAddress());
> }
> public void test_getByName_d() throws IOException {
> InetAddress i = InetAddress.getByName(String.valueOf(0xffffffffL));
> assertEquals("255.255.255.255",i.getHostAddress());
> }
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HARMONY-2936)
[classlib][luni]InetAddress.getByName does not support some textual
representations
Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462415 ]
Tony Wu commented on HARMONY-2936:
----------------------------------
verified at r492919.looks good.
Thanks Tim.
> [classlib][luni]InetAddress.getByName does not support some textual representations
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-2936
> URL: https://issues.apache.org/jira/browse/HARMONY-2936
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Assigned To: Tim Ellison
> Attachments: harmony-2936.diff
>
>
> InetAddress.getByName does not support following textual representations
> d.d.d
> d.d
> d
> testcase below shows the problem
> public void test_getByName_ddd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2.3");
> assertEquals("1.2.0.3",i.getHostAddress());
> }
> public void test_getByName_dd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2");
> assertEquals("1.0.0.2",i.getHostAddress());
> }
> public void test_getByName_d() throws IOException {
> InetAddress i = InetAddress.getByName(String.valueOf(0xffffffffL));
> assertEquals("255.255.255.255",i.getHostAddress());
> }
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HARMONY-2936)
[classlib][luni]InetAddress.getByName does not support some textual
representations
Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461913 ]
Tony Wu commented on HARMONY-2936:
----------------------------------
I have to rewrite one method of Inet6Util.java in the meanwhile.
would you please try my patch? Thanks a lot!
> [classlib][luni]InetAddress.getByName does not support some textual representations
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-2936
> URL: https://issues.apache.org/jira/browse/HARMONY-2936
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Attachments: harmony-2936.diff
>
>
> InetAddress.getByName does not support following textual representations
> d.d.d
> d.d
> d
> testcase below shows the problem
> public void test_getByName_ddd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2.3");
> assertEquals("1.2.0.3",i.getHostAddress());
> }
> public void test_getByName_dd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2");
> assertEquals("1.0.0.2",i.getHostAddress());
> }
> public void test_getByName_d() throws IOException {
> InetAddress i = InetAddress.getByName(String.valueOf(0xffffffffL));
> assertEquals("255.255.255.255",i.getHostAddress());
> }
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-2936)
[classlib][luni]InetAddress.getByName does not support some textual
representations
Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tony Wu updated HARMONY-2936:
-----------------------------
Estimated Complexity: Moderate
Patch Info: [Patch Available]
> [classlib][luni]InetAddress.getByName does not support some textual representations
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-2936
> URL: https://issues.apache.org/jira/browse/HARMONY-2936
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Attachments: harmony-2936.diff
>
>
> InetAddress.getByName does not support following textual representations
> d.d.d
> d.d
> d
> testcase below shows the problem
> public void test_getByName_ddd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2.3");
> assertEquals("1.2.0.3",i.getHostAddress());
> }
> public void test_getByName_dd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2");
> assertEquals("1.0.0.2",i.getHostAddress());
> }
> public void test_getByName_d() throws IOException {
> InetAddress i = InetAddress.getByName(String.valueOf(0xffffffffL));
> assertEquals("255.255.255.255",i.getHostAddress());
> }
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (HARMONY-2936) [classlib][luni]InetAddress.getByName
does not support some textual representations
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison closed HARMONY-2936.
--------------------------------
Verified by Tony.
> [classlib][luni]InetAddress.getByName does not support some textual representations
> ------------------------------------------------------------------------------------
>
> Key: HARMONY-2936
> URL: https://issues.apache.org/jira/browse/HARMONY-2936
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Tony Wu
> Assigned To: Tim Ellison
> Attachments: harmony-2936.diff
>
>
> InetAddress.getByName does not support following textual representations
> d.d.d
> d.d
> d
> testcase below shows the problem
> public void test_getByName_ddd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2.3");
> assertEquals("1.2.0.3",i.getHostAddress());
> }
> public void test_getByName_dd() throws IOException {
> InetAddress i = InetAddress.getByName("1.2");
> assertEquals("1.0.0.2",i.getHostAddress());
> }
> public void test_getByName_d() throws IOException {
> InetAddress i = InetAddress.getByName(String.valueOf(0xffffffffL));
> assertEquals("255.255.255.255",i.getHostAddress());
> }
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira