Hi I am learning the new features of Java 9 and was reading new Collections API's . I am not sure why I am getting random iteration order while creating an immutable set from two instances of JDK .
JDK 1: jshell> Set.of("a","b","c")
$96 ==> [a, b, c]
JDK2 : jshell> Set.of("a","b","c")
$68 ==> [a, c, b]
I don't see the same for List.of() overloads.Can I do some customisation like changing some system properties to guarantee a consistent ordering here ?