Description

During PIT testing it is seen that the above test fails with this log
----------System.out:(3/297)*----------
Current toolkit is :sun.lwawt.macosx.LWCToolkit
java.awt.event.KeyEvent[KEY_PRESSED,keyCode=38,keyText=\u2191,keyChar=Undefined keyChar,keyLocation=KEY_LOCATION_STANDARD,rawCode=0,primaryLevelUnicode=0,scancode=0,extendedKeyCode=0x26] on textfield0
keyTypedOnTextField = true: itemChanged = false
----------System.err:(13/1147)----------
java.lang.RuntimeException: Test failed. Exception thrown: java.lang.RuntimeException: Test failed. (XToolkit/MToolkit). KeyEvent was addressed to TextField.
at ChoiceKeyEventReaction.main(ChoiceKeyEventReaction.java:67)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:835)