On Mon, 8 Nov 2021 04:24:53 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> Pankaj Bansal has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Review comments >> - Review Comments > > test/jdk/java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.java > line 119: > >> 117: public void actionPerformed(ActionEvent e) { >> 118: System.err.println("B pressed"); >> 119: d.setVisible(true); > > I think the d.setVisible(true) will be blocked and the next > "EventQueue.invokeLater" will be executed after the dialog will be closed, > unlike the old code where the invokeLater was executed after dialog became > visible. Yes, looks like that. I have reverted this change and ran the test in CI multiple times. Link in JBS ------------- PR: https://git.openjdk.java.net/jdk/pull/6273