Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8153479

JavaFX unit tests fail after fix for JDK-8079136

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • javafx
    • 9

      The fix for JDK-8079136 is causing the JavaFX unit tests to fail with an unexpected exception. We are now seeing IOOBE rather than the expected AIOOBE.

      I don't know if this is a corner case or a general problem, but it is a regression.

      To reproduce, you can run the javafx unit tests and see the following error. I will come up with a standalone test case tomorrow.

      test.javafx.binding.BindingsArrayTest > testValueAt_Variable FAILED
          java.lang.AssertionError: expected:<class java.lang.ArrayIndexOutOfBoundsException> but was:<class java.lang.IndexOutOfBoundsException>
              at org.junit.Assert.fail(Assert.java:91)
              at org.junit.Assert.failNotEquals(Assert.java:645)
              at org.junit.Assert.assertEquals(Assert.java:126)
              at org.junit.Assert.assertEquals(Assert.java:145)
              at test.com.sun.javafx.binding.ErrorLoggingUtiltity.check(ErrorLoggingUtiltity.java:89)
              at test.com.sun.javafx.binding.ErrorLoggingUtiltity.checkFine(ErrorLoggingUtiltity.java:83)
              at test.javafx.binding.BindingsArrayTest.testValueAt_Variable(BindingsArrayTest.java:225)

      [several more failures happen as well]

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: