On Tue, 5 Jan 2021 08:25:00 GMT, Alexey Ivanov <[email protected]> wrote:
>> K Suman Rajkumaar has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Update bug8031573.java
>>
>> Corrected the jtreg tag from @run main bug8031573 to @run main/manual
>> bug8031573 to make this test as a manual test.
>
> test/jdk/javax/swing/JMenuItem/8031573/bug8031573.java line 68:
>
>> 66:
>> 67: if (!latch.await(5, TimeUnit.MINUTES)) {
>> 68: frame.dispose();
>
> The `dispose()` method should be called on EDT.
If I remove the frame.dispose(), the frame doesn't gets disposed even after
timeout.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1878