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

Remove invalid builders tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u60
    • 8u60
    • javafx

      The *Light_builder_Test unit tests are invalid in that there is no builder for these classes. They "pass" by virtue of the fact that the shared test method ignores the ClassNotFoundException if the corresponding builder is not found. This makes the tests useless. Further, one the of tests erroneously uses java.awt.Color rather than javafx.scene.paint.Color so if it ever found a builder it would fail to set the color property. This use of AWT is causing problems for our nightly test system on Mac (likely due to a configuration error on the Hudson slave), so the easiest thing to do is just remove the invalid tests.

      It isn't worth replacing the tests, since the deprecated builders have been removed in FX 9 anyway.

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

              Created:
              Updated:
              Resolved:
              Imported: