RFR: 8341316: [macos] javax/swing/ProgressMonitor/ProgressMonitorEscapeKeyPress.java fails sometimes in macos [v2]
Manukumar V S
mvs at openjdk.org
Wed Oct 2 08:31:13 UTC 2024
> 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.
Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:
Review comments fixed : Formatting changes
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/21293/files
- new: https://git.openjdk.org/jdk/pull/21293/files/bb6308e3..11ea52d8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=21293&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=21293&range=00-01
Stats: 11 lines in 1 file changed: 3 ins; 0 del; 8 mod
Patch: https://git.openjdk.org/jdk/pull/21293.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21293/head:pull/21293
PR: https://git.openjdk.org/jdk/pull/21293
More information about the client-libs-dev
mailing list