<Swing Dev> RFR: 8255916: [macos] javax/swing/JInternalFrame/6647340/bug6647340.java timed out

Sergey Bylokhov serb at openjdk.java.net
Mon Nov 9 18:04:56 UTC 2020


On Mon, 9 Nov 2020 08:34:24 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> This test has failed in one of jdk nightly testing although it always passed locally. Made the test use robot delays, waitForIdle() to make it more stable and appropriate to run in slower mach5 systems and also remove the dependancy on ExtendedRobot.
> Mach5 job has been run for several iterations in all platforms. Link in JBS.

test/jdk/javax/swing/JInternalFrame/6647340/bug6647340.java line 133:

> 131:             iconloc = jif.getDesktopIcon().getLocation();
> 132:         });
> 133:         if (iconloc.equals(location)) {

iconloc and iconloc are set on EDT and used on the main thread, it would be good to mark them volatile.

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

PR: https://git.openjdk.java.net/jdk/pull/1115


More information about the swing-dev mailing list