--- old/test/langtools/tools/javac/valhalla/lworld-values/ArrayRelationsTest.java 2019-05-03 16:29:12.631194286 +0200 +++ new/test/langtools/tools/javac/valhalla/lworld-values/ArrayRelationsTest.java 2019-05-03 16:29:11.999183312 +0200 @@ -86,15 +86,13 @@ la = new ArrayRelationsTest? [10]; - // NOTE: The following line should trigger a CCE, but doesn't ATM - this will - // start failing when the VM is fixed. Flip the condition then. cce = false; try { qa = (ArrayRelationsTest[]) la; } catch (ClassCastException c) { cce = true; } - if (cce) { // <----- Flip this condition. + if (!cce) { throw new AssertionError("Unexpected CCE behavior"); } }