(Dustin Marx) The question “Why does `array[i++%n] += i+” “` give different results in Java 8 and Java 10?” was posted earlier this week on StackOverflow.com. It points to a bug in the Java compiler that is present in JDK9 and later, but is not present in JDK8.