directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <>
Subject Re: [VOTE] Release of LDAP API 1.0.0-M22
Date Mon, 21 Apr 2014 11:32:53 GMT
Le 4/21/14 12:52 PM, Felix Knecht a écrit :
> Much thanks for your research! I can't remember that it has ever
> change dup to now in previous JDK version, but it might happen - the
> API says so:
> "This class makes no guarantees as to the order of the map; in
> particular, it does not guarantee that the order will remain constant
> over time."
> The problem is just that we get used to it that this never happend
> before IIRC.

Although we already have been hit by the same kind of problem years ago,
when JNDI attribute implementation was changed (it was in JDK 6).

Bottom line, you are right : never assume an unordered data structure to
be ordered in any way.

Emmanuel Lécharny 

View raw message