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

DoubleShortcutProcessingTest and MenuDoubleShortcutTest fail on macOS 15

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx24
    • javafx

      I ran a full test on macOS 15 and saw the following two failures. At least the first of them is intermittent, failing about 50% of the time for me. I haven't rerun the second multiple times to know whether it is intermittent as well. I don't know whether this is a product bug or a test bug -- possibly the latter, given the intermittent nature of at least the first failure.

      DoubleShortcutProcessingTest > testDoubleShortcut() FAILED
          org.opentest4j.AssertionFailedError: Timeout: Dialog never received shortcut ==> expected: <true> but was: <false>
              at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
              at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:40)
              at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:210)
              at app//test.util.Util.waitForLatch(Util.java:330)
              at app//test.robot.javafx.scene.DoubleShortcutProcessingTest.testDoubleShortcut(DoubleShortcutProcessingTest.java:67)

      MenuDoubleShortcutTest > acceleratorOnlyInMenuBar() FAILED
          org.opentest4j.AssertionFailedError: Key press event triggered no actions ==> expected: <FIREDMENUITEM> but was: <IGNORED>
              at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
              at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
              at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
              at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1152)
              at app//test.robot.javafx.scene.MenuDoubleShortcutTest.acceleratorOnlyInMenuBar(MenuDoubleShortcutTest.java:121)

            angorya Andy Goryachev
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: