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

[macos15] java/awt/event/KeyEvent/FunctionKeyTest.java test fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 23, 24
    • client-libs
    • x86_64
    • os_x

      java/awt/event/KeyEvent/FunctionKeyTest.java test fails fails on macOS 15 on macos-x64; it passes on macOS aarch64

      I took even the latest fix for the test https://github.com/openjdk/jdk/pull/21013, and the test still fails.

      ----------System.out:(3/42)----------
      frame.windowActivated
      e.id=1004
      e.id=1005
      ----------System.err:(28/1538)----------
      2024-09-26 16:23:37.659 java[47491:14203359] +[IMKClient subclass]: chose IMKClient_Modern
      2024-09-26 16:23:37.659 java[47491:14203359] +[IMKInputSession subclass]: chose IMKInputSession_Modern
      Failures detected:
      java.lang.Error: F11 key press is not received
      java.lang.Error: F11 key release is not received
      java.lang.Error: F12 key press is not received
      java.lang.Error: F12 key release is not received

      java.lang.RuntimeException: Test failed: F11 key press is not received
              at FunctionKeyTest.main(FunctionKeyTest.java:127)
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
              at java.base/java.lang.reflect.Method.invoke(Method.java:573)
              at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
              at java.base/java.lang.Thread.run(Thread.java:1576)
      Caused by: java.lang.Error: F11 key press is not received
              at FunctionKeyTest.testKey(FunctionKeyTest.java:72)
              at FunctionKeyTest.main(FunctionKeyTest.java:108)
              ... 4 more
      Caused by: java.util.concurrent.TimeoutException
              at java.base/java.util.concurrent.CyclicBarrier.dowait(CyclicBarrier.java:259)
              at java.base/java.util.concurrent.CyclicBarrier.await(CyclicBarrier.java:437)
              at FunctionKeyTest.testKey(FunctionKeyTest.java:69)
              ... 5 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed: F11 key press is not received
      JavaTest Message: shutting down test

            landrews Lawrence Andrews
            landrews Lawrence Andrews
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: