JDK-8364935 : Intermittent unit test failure in web CallbackTest
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: jfx25
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-08-06
  • Updated: 2025-08-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
The following failure happened one time in a test build on one of our macOS systems:

CallbackTest > testCustomPopup() FAILED
    org.opentest4j.AssertionFailedError: Method onResized was not called
        at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38)
        at app//org.junit.jupiter.api.Assertions.fail(Assertions.java:138)
        at app//test.javafx.scene.web.CallbackTest$TestUI.checkCalled(CallbackTest.java:246)
        at app//test.javafx.scene.web.CallbackTest.checkCustomPopup(CallbackTest.java:119)
        at app//test.javafx.scene.web.CallbackTest.testCustomPopup(CallbackTest.java:114)

Comments
However... Given that the web test in question is is a headless test, this is likely a coincidence. The Mac glass platform code should not even be loaded for that test.
11-08-2025

We've now seen this twice, first when I was running a headful test of PR 1860 [1] for JDK-8355990 (which is now integrated) and second in yesterday's nightly test run. Given the failure message, "Method onResized was not called", we need to at least consider the possibility that this is related to the fix for JDK-8355990. [1] https://github.com/openjdk/jfx/pull/1860
11-08-2025