On Tue, 17 May 2022 15:52:03 GMT, Manukumar V S <m...@openjdk.org> wrote:
> This test verifies that dragging from one InternalFrame and a drop target in > another InternalFrame functions properly. > This fix moves an unstable closed applet based test to open regression based > java test, but updated to be more comprehensive with some stabilisation > improvements. The closed test was creating noise in CI as it often fails in > Windows platform, especially in Windows 11. > > Testing: > 1. Tested using mach5 20 times per platform and got all Pass. > 2. Tested using mach5 5 times specifically on Windows 11 and got all Pass. test/jdk/java/awt/dnd/DropTargetInInternalFrameTest.java line 244: > 242: private final Dimension preferredDimension = new Dimension(200, > 100); > 243: private final CountDownLatch dropLatch; > 244: private volatile int calledMethods = 0; Any reason for changing calledMethods to volatile? ------------- PR: https://git.openjdk.java.net/jdk/pull/8753