I or rather my clients are experiencing seemingly random errors when using SendToBack.
The error begins
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.ComparableTimSort.mergeHi(ComparableTimSort.java:831)
I would like to try and implement
-Djava.util.Arrays.useLegacyMergeSort=true
to see if that fixes the issue. Can anyone help me figure out how to do this? I assume it needs reflection.
I have posted the entire source and sent you a private link. I failed to make it crash with a simplified app. This is a large complex app, and because the crash does not raise a trappable exception in the app, I don't know exactly what code triggers the crash. But enabling the LastPass app, at least the version I have, will crash it every time.