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

JavaFX unit tests fail after fix for JDK-8079136

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      9

      Description

      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]

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: