On Wed, 14 Oct 2020 01:52:12 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> Tejpal Rebari has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   reworked fix, also fixed for nimbus,motif,GTK LAF
>
> test/jdk/javax/swing/JPopupMenu/SetInvokerJPopupMenuTest.java line 145:
> 
>> 143:         public void setVisible( boolean state ) {
>> 144:             if( !state ) {
>> 145:                 Exception ex = new Exception();
> 
> It is unclear what is the purpose of this method?

This method is needed to reproduce the issue.
If we remove this method then the popup menu never goes off the screen after 
the the first mouse click.

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

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

Reply via email to