Integrated: 8208565: [TEST_BUG] javax\swing\PopupFactory\6276087\NonOpaquePopupMenuTest.java throws NPE

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Wed Apr 27 07:21:42 UTC 2022


On Mon, 18 Apr 2022 07:11:45 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Test was failing in the past owing to NPE while accessing JMenu probably owing to fact the test did not wait for UI to be visible before starting the test, so added a delay after the frame is made visible. Also, added disposal of frame.
> Also, it seems JDK-8213535 fix might be having a positive impact on this test.
> 
> Several iterations of this test in all platforms have passed (link in JBS).

This pull request has now been integrated.

Changeset: 72f82dd7
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/72f82dd723bf1c048d140238154580db434706e2
Stats:     84 lines in 2 files changed: 27 ins; 30 del; 27 mod

8208565: [TEST_BUG] javax\swing\PopupFactory\6276087\NonOpaquePopupMenuTest.java throws NPE
8065099: [macos] javax/swing/PopupFactory/6276087/NonOpaquePopupMenuTest.java fails: no background shine through

Reviewed-by: jdv

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

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



More information about the client-libs-dev mailing list