News for hackers. Stuff that matters.
Re:Hash Codes, Non-Determinism, and Other Eldritch Horrors by juancn on Thursday November 10, 2022 @10:07AM (#33547534)
There's also HashMap randomization, that was introduced in JDK 9 to make certain kinds of attacks more difficult to perform.

The moral of the story should be: don't lean on undefined behavior.

If you care about iteration order, that's why there's a LinkedHashMap in the API.

There are no comments on this comment yet.