Java 异常解决之java.lang.IllegalArgumentException: Comparison method violates its general contract!

Java 异常解决

在你的代码前加一句

    System.setProperty("java.util.Arrays.useLegacyMergeSort", "true");  

我也不知道什么原理,但是解决了!!!哈哈

Java 异常解决之java.lang.IllegalArgumentException: Comparison method violates its general contract!,布布扣,bubuko.com

Java 异常解决之java.lang.IllegalArgumentException: Comparison method violates its general contract!

上一篇:移动端input输入框调起,页面上推,输入框关闭无法恢复


下一篇:iOS开发用如何用类"SKStoreProductViewController"跳转AppStore点赞评分?