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

[CSS] Some of the javafx control unit tests log ClassCastException

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      Below tests log a warning about ClassCastException being caught:

      test.javafx.scene.control.ComboBoxTest
      test.javafx.scene.control.TableViewMouseInputTest
      test.javafx.scene.control.TreeTableViewMouseInputTest
      test.javafx.scene.control.TableViewTest
      test.javafx.scene.control.TreeTableViewTest

      Nature of log :
      --------------------
      WARNING: Caught 'java.lang.ClassCastException: java.base/java.lang.String cannot be cast to javafx.graphics@10-ea/javafx.scene.paint.Color' while converting value for '-fx-background-color' from rule '*.combo-box-popup>*.list-view' in stylesheet file:/Users/XXX/jfx-dev/rt/build/shims/javafx.controls/com/sun/javafx/scene/control/skin/modena/modena.bss

      Action needed :
      ---------------------
      Check the validity of the log and correct the test/code

      Attachments

        Issue Links

          Activity

            People

              angorya Andy Goryachev
              aghaisas Ajit Ghaisas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: