You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2018/08/27 22:01:00 UTC

[jira] [Created] (DIRAPI-319) The RestrictedByItem class stores elements in a Set, expecting it to be ordered.

Emmanuel Lecharny created DIRAPI-319:
----------------------------------------

             Summary: The RestrictedByItem class stores elements in a Set, expecting it to be ordered.
                 Key: DIRAPI-319
                 URL: https://issues.apache.org/jira/browse/DIRAPI-319
             Project: Directory Client API
          Issue Type: Bug
    Affects Versions: 2.0.0.AM1
            Reporter: Emmanuel Lecharny
             Fix For: 2.0.0.AM2


Element injected in a {{RestrictedByItem}} instance will be stored in a {{Set}}. Nevertheless, we expect those elements to be ordered so that a test on the hashcode gives a egal value no matter what the elements order is.

When switching from Java 7 to Java 8, the check fails.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)