[
https://issues.apache.org/jira/browse/DIRAPI-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny resolved DIRAPI-319.
--------------------------------------
Resolution: Fixed
The hashcode computation has been fixed so that it's not dependent on the
stored elements.
> 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
> Priority: Major
> 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)