RFR: 8361606 : ConsumeNextMnemonicKeyTypedTest.java fails on Windows: character typed with VK_A: a [v3]

Damon Nguyen dnguyen at openjdk.org
Sat Aug 30 19:57:44 UTC 2025


On Wed, 27 Aug 2025 10:37:41 GMT, Anass Baya <abaya at openjdk.org> wrote:

> I'm not able to reproduce the issue on macOS. Could you please attach the logs so I can take a look and see if it's related to not consuming the "Next Mnemonic KeyTyped event"?

This is the output when it fails on macOS 15.6 (Aqua L&F) on the mainline JDK. You mentioned you don't see the same result?


----------System.out:(1/50)----------
Test: character typed after mnemonic key press: i
----------System.err:(13/744)----------
Test: character typed with VK_A: a
java.lang.RuntimeException: Test failed!
	at ConsumeNextMnemonicKeyTypedTest.test(ConsumeNextMnemonicKeyTypedTest.java:154)
	at ConsumeNextMnemonicKeyTypedTest.main(ConsumeNextMnemonicKeyTypedTest.java:63)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
	at java.base/java.lang.Thread.run(Thread.java:1474)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed!
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed!

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26790#issuecomment-3235512307


More information about the client-libs-dev mailing list