Integrated: 8341316: [macos] javax/swing/ProgressMonitor/ProgressMonitorEscapeKeyPress.java fails sometimes in macos
Manukumar V S
mvs at openjdk.org
Thu Oct 3 19:38:41 UTC 2024
On Tue, 1 Oct 2024 17:00:55 GMT, Manukumar V S <mvs at openjdk.org> wrote:
> javax/swing/ProgressMonitor/ProgressMonitorEscapeKeyPress.java fails sometimes in macos.
> This could be because of a synchronisation issue in the test.
>
> Fix: I have refactored the test to have a CountDownLatch to monitor the ProgressMonitor and when it reaches 20%, it will be triggered. I have also removed the ProgressMonitor update logic execution from EDT as it would block the EDT sometimes. Also added a proper frame disposal mechanism.
>
> Testing:
> This is properly tested multiple times in all available platforms in mach5.
This pull request has now been integrated.
Changeset: 6bc3971f
Author: Manukumar V S <mvs at openjdk.org>
Committer: Phil Race <prr at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6bc3971f646031194a1e30f175a69a0202dc4947
Stats: 80 lines in 1 file changed: 18 ins; 21 del; 41 mod
8341316: [macos] javax/swing/ProgressMonitor/ProgressMonitorEscapeKeyPress.java fails sometimes in macos
Reviewed-by: prr
-------------
PR: https://git.openjdk.org/jdk/pull/21293
More information about the client-libs-dev
mailing list