The non-deterministic iteration order of Immutable Collections

Alan Bateman Alan.Bateman at oracle.com
Sun Mar 26 13:19:42 UTC 2023


On 26/03/2023 10:38, Jens Lideström wrote:
> :
>
> I encountered this as a problem when I tried to generate a module 
> dependency graph using jdeps. I had my classpath wrong and got an 
> error message. The error message contained a list of modules or 
> jar-files (I don't remember the details, unfortunately).

If you do remember, then please report a bug as this sounds like an 
issue with jdeps rather than an issue with the design choice that the 
iteration order of unmodifable maps be unspecified.

-Alan.


More information about the core-libs-dev mailing list