On Fri, 5 Aug 2022 20:10:48 GMT, Phil Race <p...@openjdk.org> wrote: >> test/jdk/java/awt/regtesthelpers/PassFailJFrame.java line 309: >> >>> 307: } catch (InterruptedException e) { >>> 308: e.printStackTrace(); >>> 309: } >> >> Is it safe to call on EDT? >> >> If `positionTestWindow` is not to be called on EDT, should it be enforced? > > The intention is that it can be called either way - on or off.
Is that possible? Toolkit thread is not EDT, therefore native events are processed, it's probably enough to update the frame coordinates while EDT is blocked and doesn't handle events. ------------- PR: https://git.openjdk.org/jdk/pull/9525