<Swing Dev> [10] Review request for 8180821: [macosx]com/apple/laf/ScreenMenu/ScreenMenuMemoryLeakTest.java: The menu item should have been GC-ed

Semyon Sadetsky semyon.sadetsky at oracle.com
Wed Oct 11 18:37:18 UTC 2017


Hello,

Please review fix for JDK10 (the changes involve AWT and Swing):

bug: https://bugs.openjdk.java.net/browse/JDK-8180821

webrev: http://cr.openjdk.java.net/~ssadetsky/8180821/webrev.00/

This is a test bug. The test fails intermittently because the 
System.runFinalization() method invocation just triggers the 
finalization thread in parallel so it may be not accomplished yet after 
the method exits. Adding 1s delay makes the test passing stably.

--Semyon




More information about the swing-dev mailing list