-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
23, 24
-
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
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
- relates to
-
JDK-8340007 Refactor KeyEvent/FunctionKeyTest.java
- Resolved