RFR: 8288415: java/awt/PopupMenu/PopupMenuLocation.java is unstable in MacOS machines
Alexey Ivanov
aivanov at openjdk.org
Tue Jan 3 16:49:01 UTC 2023
On Tue, 11 Oct 2022 14:17:42 GMT, Manukumar V S <mvs at openjdk.org> wrote:
> java/awt/PopupMenu/PopupMenuLocation.java seems to be unstable in MacOS machines, especially in MacOSX 12 & 13 machines. It seems to be a testbug as adding some stability improvements fixes the issue. It intermittently fails in CI causing some noise. This test was already problem listed in windows due to an umbrella bug JDK-8238720. This fix doesn't cover the Windows issue, so the problem listing in windows will remain same.
>
> Fix:
> Some stability improvements have been done and the test has been run 100 times per platform in mach5 and got full PASS.
> Also updated the screen capture code, made frame undecorated, added some prints for better debugging.
I also suggest removing the second asterisk at line 43, so that jtreg tags don't result javadoc warnings.
If you also remove `throws Exception` clause from `openPopup`, the test will become warning-free.
-------------
PR: https://git.openjdk.org/jdk/pull/10655
More information about the client-libs-dev
mailing list