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/06/20 03:54:26 UTC
[jira] Resolved: (HARMONY-4231) [classlib][jndi]
LdapName.toString() should return the original String when no modification
[ 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.