You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Kelvin Ye (JIRA)" <ji...@apache.org> on 2007/06/19 08:41:26 UTC

[jira] Created: (HARMONY-4231) [classlib][jndi] LdapName.toString() should return the original String when no modification

[classlib][jndi] LdapName.toString() should return the original String when no modification
-------------------------------------------------------------------------------------------

                 Key: HARMONY-4231
                 URL: https://issues.apache.org/jira/browse/HARMONY-4231
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: linux and windows
            Reporter: Kelvin Ye
         Attachments: harmony-4231.diff

Following object ln of LdapName should return the original String when no modification to ln.

        String str = "t=\\20\\ te\\ s\\20t\\20\\20 + t2 = test1\\20\\ ";
        LdapName ln = new LdapName(str);
        assertEquals(ln.toString(), str);
        ln.get(0);
        assertEquals(ln.toString(), str);
        ln.add("t=test");
        assertEquals(ln.toString(), "t=test,t=\\ \\ te s t\\ +t2=test1\\ \\ ");

Harmony will fail the above case, but RI passed.

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


[jira] Resolved: (HARMONY-4231) [classlib][jndi] LdapName.toString() should return the original String when no modification

Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tony Wu resolved HARMONY-4231.
------------------------------

    Resolution: Fixed

Patch applied at r548890 , please verify. Thanks.

> [classlib][jndi] LdapName.toString() should return the original String when no modification
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4231
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4231
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4231.diff
>
>
> Following object ln of LdapName should return the original String when no modification to ln.
>         String str = "t=\\20\\ te\\ s\\20t\\20\\20 + t2 = test1\\20\\ ";
>         LdapName ln = new LdapName(str);
>         assertEquals(ln.toString(), str);
>         ln.get(0);
>         assertEquals(ln.toString(), str);
>         ln.add("t=test");
>         assertEquals(ln.toString(), "t=test,t=\\ \\ te s t\\ +t2=test1\\ \\ ");
> Harmony will fail the above case, but RI passed.

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


[jira] Assigned: (HARMONY-4231) [classlib][jndi] LdapName.toString() should return the original String when no modification

Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tony Wu reassigned HARMONY-4231:
--------------------------------

    Assignee: Tony Wu

> [classlib][jndi] LdapName.toString() should return the original String when no modification
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4231
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4231
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4231.diff
>
>
> Following object ln of LdapName should return the original String when no modification to ln.
>         String str = "t=\\20\\ te\\ s\\20t\\20\\20 + t2 = test1\\20\\ ";
>         LdapName ln = new LdapName(str);
>         assertEquals(ln.toString(), str);
>         ln.get(0);
>         assertEquals(ln.toString(), str);
>         ln.add("t=test");
>         assertEquals(ln.toString(), "t=test,t=\\ \\ te s t\\ +t2=test1\\ \\ ");
> Harmony will fail the above case, but RI passed.

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


[jira] Updated: (HARMONY-4231) [classlib][jndi] LdapName.toString() should return the original String when no modification

Posted by "Kelvin Ye (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Ye updated HARMONY-4231:
-------------------------------

    Attachment: harmony-4231.diff

I also add some tests for LdapName. Would you please try the patch? Thanks very much!

> [classlib][jndi] LdapName.toString() should return the original String when no modification
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4231
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4231
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>         Attachments: harmony-4231.diff
>
>
> Following object ln of LdapName should return the original String when no modification to ln.
>         String str = "t=\\20\\ te\\ s\\20t\\20\\20 + t2 = test1\\20\\ ";
>         LdapName ln = new LdapName(str);
>         assertEquals(ln.toString(), str);
>         ln.get(0);
>         assertEquals(ln.toString(), str);
>         ln.add("t=test");
>         assertEquals(ln.toString(), "t=test,t=\\ \\ te s t\\ +t2=test1\\ \\ ");
> Harmony will fail the above case, but RI passed.

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


[jira] Closed: (HARMONY-4231) [classlib][jndi] LdapName.toString() should return the original String when no modification

Posted by "Kelvin Ye (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Ye closed HARMONY-4231.
------------------------------


Verified. It's OK. Thanks very much!

> [classlib][jndi] LdapName.toString() should return the original String when no modification
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4231
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4231
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>            Assignee: Tony Wu
>         Attachments: harmony-4231.diff
>
>
> Following object ln of LdapName should return the original String when no modification to ln.
>         String str = "t=\\20\\ te\\ s\\20t\\20\\20 + t2 = test1\\20\\ ";
>         LdapName ln = new LdapName(str);
>         assertEquals(ln.toString(), str);
>         ln.get(0);
>         assertEquals(ln.toString(), str);
>         ln.add("t=test");
>         assertEquals(ln.toString(), "t=test,t=\\ \\ te s t\\ +t2=test1\\ \\ ");
> Harmony will fail the above case, but RI passed.

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