Working on some code, we discovered some tests that previously passed but failed when we ran them under Java 8. This was due to dodgy test code that relied on the ordering that the keys were returned from a HashMap.
We understand that the order is not guaranteed unless we use a SortedMap. We're just curious - what is the change that has affected the ordering?