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

Test failure in test.javafx.embed.swing.SwingNodeScaleTest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: openjfx14
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      macOS 10.13.6 (also fails on 10.15.2)
      JDK 13.0.1

    • Subcomponent:
    • OS:
      os_x

      Description

      With JDK 13.0.1 and a local build of the latest jfx sources, I am seeing the following system test failure on mac in one of the SwingNode tests:

      test.javafx.embed.swing.SwingNodeScaleTest > testScale FAILED
          java.lang.AssertionError: expected:<300> but was:<53>
              at org.junit.Assert.fail(Assert.java:91)
              at org.junit.Assert.failNotEquals(Assert.java:645)
              at org.junit.Assert.assertEquals(Assert.java:126)
              at org.junit.Assert.assertEquals(Assert.java:470)
              at org.junit.Assert.assertEquals(Assert.java:454)
              at test.javafx.embed.swing.SwingNodeScaleTest.testScale(SwingNodeScaleTest.java:84)

      This started happening recently, but I'm not yet sure whether it was upgrading from JDK 12 to JDK 13.0.1 that triggered the bug or some change in JavaFX.

      This is likely to be a product bug rather than a test bug.

        Attachments

          Activity

            People

            Assignee:
            psadhukhan Prasanta Sadhukhan
            Reporter:
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: