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

SwingNodeDnDMemoryLeakTest::testSwingNodeMemoryLeak fails sometimes

    XMLWordPrintable

Details

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

    • b08
    • generic

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: