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

[TESTBUG] WebPageShim::paint is not thread-safe

XMLWordPrintable

    • web

      While testing the fix for JDK-8202990, I got intermittent crashes in the newly added unit test. See the discussion in the PR https://github.com/openjdk/jfx/pull/279 . This appears to be caused by the WebPageShim::paint method in the test framework, which calls WebPage::paint to perform rendering of a web page for the purpose of testing the results. That shim method, which was added in support of the unit test for JDK-8215702, is called on the JavaFX application thread. However, the WebPage::paint method must be called only on the Rendering Thread.

            ajoseph Arun Joseph (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: