bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/27297] The third and subsequent internal frames cannot be clo


From: audriusa at bluewin dot ch
Subject: [Bug swing/27297] The third and subsequent internal frames cannot be closed
Date: 2 May 2006 05:27:07 -0000


------- Comment #7 from audriusa at bluewin dot ch  2006-05-02 05:27 -------
(In reply to comment #6)
> The patch looks ok to check in. I can't see how this would help though 
> (haven't
> tested yet, but the loops look equivalent at first glance).
> 
In the previous version, for the invisible component, the statement 'continue'
is executed without incrementing the loop, variable 'index'. Hence during the
next iteration the loop variable value stays the same, causing the endless
loop. The path forces alwayst to increment the loop variable, changing while
into for. The alternative fix would be to increment the 'index' before
executing  'continue', but using 'for' seems more clear.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27297





reply via email to

[Prev in Thread] Current Thread [Next in Thread]