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/05/11 12:37:15 UTC
[jira] Updated: (HARMONY-3841) [classlib][jndi] the get(int) method
of class LdapName returns different result from RI
[ https://issues.apache.org/jira/browse/HARMONY-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kelvin Ye updated HARMONY-3841:
-------------------------------
Attachment: harmony-3841.diff
Please try the patch harmony-3841.diff. Thanks very much!
> [classlib][jndi] the get(int) method of class LdapName returns different result from RI
> ---------------------------------------------------------------------------------------
>
> Key: HARMONY-3841
> URL: https://issues.apache.org/jira/browse/HARMONY-3841
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Linux and Windows
> Reporter: Kelvin Ye
> Attachments: harmony-3841.diff
>
>
> If we add "\\ " either in front of or behind the attribute value to initialize LdapName, we wil get different result from RI. Please see the sample test code below:
> public void testGet() throws Exception {
> String test1 = "t=\\ test\\ ";
> LdapName ln1 = new LdapName(test1);
> System.out.println(ln1.get(0));
> }
> We will output "t= test ", but RI outputs "t=\ test\ ".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.