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

[Windows] Intermittent test hang on NonFocusableJFXPanelTest

XMLWordPrintable

    • generic
    • windows

      Sometimes running a complete clean test run on my Windows 11 machine I notice the tests happen to hang on one specific test case - test.robot.javafx.embed.swing.NonFocusableJFXPanelTest. The test seems to run fine, and after it completes the test execution hangs.

      The test seems to work fine when run on its own, but hangs when run using:
      gradle clean; and gradle sdk apps; and gradle --continue --info -PFULL_TEST=true -PUSE_ROBOT=true test

      I also sometimes notice it when just running the "test" target:
      gradle --info -PFULL_TEST=true -PUSE_ROBOT=true test

      I didn't notice the problem on other platforms (Linux or macOS). Happens on Windows 11, OpenJDK 21.0.2, Gradle 8.5 (although I have seen it with OpenJDK 19.0.2 and Gradle 7.6 so it seems unrelated to JDK/gradle version).

      Attached jstack dump from latest hang for reference.

            psadhukhan Prasanta Sadhukhan
            lkostyra Lukasz Kostyra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: