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

SwingNodeDnDMemoryLeakTest::testSwingNodeMemoryLeak fails sometimes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx20
    • jfx18
    • javafx
    • Tested  this issue on macOS BigSur 11.6.2 and windows 10.

    • b08
    • generic

      It is observed that the test SwingNodeDnDMemoryLeakTest .testSwingNodeMemoryLeak fails some times randomly when executed for multiple iterations.
      Call stack observed during the failure is as follows:

      SwingNodeDnDMemoryLeakTest > testSwingNodeMemoryLeak FAILED
          java.lang.AssertionError: expected:<10> but was:<0>
              at org.junit.Assert.fail(Assert.java:89)
              at org.junit.Assert.failNotEquals(Assert.java:835)
              at org.junit.Assert.assertEquals(Assert.java:647)
              at org.junit.Assert.assertEquals(Assert.java:633)
              at test.javafx.embed.swing.SwingNodeDnDMemoryLeakTest.testSwingNodeMemoryLeak(SwingNodeDnDMemoryLeakTest.java:80)

            aghaisas Ajit Ghaisas
            hmeda Hima Bindu Meda
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: