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

Emmanuel Lecharny closed DIR-112.
---------------------------------


> The implementation of LdapName#getSuffix(int) does not match that of Java 
> 1.5's LDAP.
> -------------------------------------------------------------------------------------
>
>                 Key: DIR-112
>                 URL: https://issues.apache.org/jira/browse/DIR-112
>             Project: Directory
>          Issue Type: Bug
>          Components: miscellaneous
>            Reporter: Jacob S. Barrett
>            Assignee: Alex Karasulu
>            Priority: Critical
>         Attachments: name-prefix-suffix.patch, NameTest.java, NameTest.java, 
> NameTest.java
>
>
> The attached patch fixes the LdapName#getSuffix(int) method to match the one 
> on Java 1.5.  The current getSuffix returns a prefix of sorts, but not 
> exactly that of getPrefix.  This patch also contains fixes for all 
> (hopefully) places where getSuffix(int) was called.  It also corrects the 
> JUnit test.  I have also attached a JUnit test that must be compiled and run 
> under Java 1.5 to make sure the naming classes behave the same as Java 1.5's 
> version.
> This patch does NOT change the ContextPartion's concet of suffix even though 
> it is really a prefix.  So it is called a suffix still, but it is really the 
> prefix.

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

Reply via email to