Hi, Prasanta. It looks like a product issue in 2D in the GDI native code, isn't it? I think that the reason might be a race between disposing the component in main(), and draw operation on EDT. Based on the stack trace it looks like Java2D tries to draw something to the native component which does not exists.
On 09/11/2018 01:35, Prasanta Sadhukhan wrote:
Hi All, Please review a test fix for jdk12 Bug: https://bugs.openjdk.java.net/browse/JDK-8196097 webrev: http://cr.openjdk.java.net/~psadhukhan/8196097/webrev/ The test sometimes fails due to paint operation not being executed properly when run in group as the test always passes if run in standalone mode. This is probably due to fact the swing component is not called from EDT. Proposed fix is to make sure JPopupMenu is called from EDT. Regards Prasanta
-- Best regards, Sergey.
