On Wed, 16 Nov 2022 19:13:57 GMT, Phil Race <p...@openjdk.org> wrote:
>> ravi gupta has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8296632: Review fixes. > > test/jdk/java/awt/event/ComponentEvent/TextAreaTextEventTest.java line 72: > >> 70: >> 71: typeKey(KeyEvent.VK_T); >> 72: > > In theory the autoWaitForIdle should ensure that events are processed. We'll > see. > If you find otherwise then here (and after typing the Enter key) it might be > safer to do an additional robot.delay(500); > You want to give every chance to process these events. Tested it locally on Win10. Works as expected. I agree @prrace, adding additional delay would make sure that all events are processed. ------------- PR: https://git.openjdk.org/jdk/pull/11052