JDK-8343104 : java/awt/event/KeyEvent/FunctionKeyTest.java fails on CI
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 24
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: os_x
  • CPU: generic
  • Submitted: 2024-10-25
  • Updated: 2024-10-27
Related Reports
Relates :  
Description
The test fails withe following exception -

----------System.out:(2/32)----------
frame.windowActivated
e.id=1004
----------System.err:(26/1344)----------
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:104)
	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