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

CSS effect syntax containing blank breaks FX Thread

    XMLWordPrintable

Details

    Description

      This issue has been found by a SB customer that added a blank char to the effect syntax. This has the bad side effect to make FX Thread to deal with an untapped Exception when CSS is applied (class cast exception String, expected Effect)

      I attached a simple test case, the faulty syntax is: -fx-effect: dropshadow ( one-pass-box , black , 8 , 0.0 , 5 , 10 );

      Until now, we have worked at making CSS error non fatal in order to preserve SB. This exception path has been missed.

      Attachments

        Issue Links

          Activity

            People

              dgrieve David Grieve
              jfdenise Jean-Francois Denise (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: