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

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

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      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

              • Assignee:
                aghaisas Ajit Ghaisas
                Reporter:
                aghaisas Ajit Ghaisas
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: