RFR: 8233648: [TESTBUG] DefaultMenuBarTest.java failing on macos

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Tue Oct 19 15:00:53 UTC 2021


On Tue, 19 Oct 2021 14:12:24 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

> Looks like this test does not fail anymore.
> 
> It does not fail once even without changes, but I've added extra `waitForIdle()` just for safety.
> 
> Checked on ~350 test runs.

I guess you can remove @modules sun.awt which is not needed anymore..
Also, since you are touching the test, you probably can replace wildcard imports and remove author tag.
Additionally, i believe we should throw exception instead of catching and only print stacktrace at end of file.

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

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



More information about the client-libs-dev mailing list