JDK 25 | JDK 26 |
---|---|
25Fixed | 26 b04Fixed |
Causes :
|
|
Relates :
|
|
Relates :
|
Attached Test.java fails when C2 compiled. static void test() { for (int i = 1500; i > 0; i--) { try { int tmp = array[idx--]; } catch (Exception e) { // Ignore } } } java -XX:CompileCommand=quiet -XX:CompileCommand=compileonly,*Test*::test -XX:-TieredCompilation -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+StressGCM Test.java Exception in thread "main" java.lang.RuntimeException: Wrong result: -2500 != -1500 at Test.main(Test.java:43)
|