United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 2223176 [macosx] sun.awt.SunToolkit.InfiniteLoop exception in realSync called from SwingTestHelper
2223176 : [macosx] sun.awt.SunToolkit.InfiniteLoop exception in realSync called from SwingTestHelper

Details
Type:
Backport
Submit Date:
2012-04-09
Status:
Closed
Updated Date:
2012-07-20
Project Name:
JDK
Resolved Date:
2012-07-20
Component:
client-libs
OS:
Sub-Component:
java.awt
CPU:
Priority:
P3
Resolution:
Fixed
Affected Versions:
Fixed Versions:
7u6

Related Reports
Backport:

Sub Tasks

Description
                                    

Comments
EVALUATION

The problem is that syncNativeQueue() doesn't fully sync the queue. For example, if there are, say, 25 events in the native queue waiting to be processed, nativeSyncQueue could return after just one event has been processed. realSync() calls syncNativeQueue() in a loop until nativeSyncQueue() reports that no native events have been processed as the result of the call or the maximum number of iterations (which is 20) has been exceeded (which leads to the exception). And since there are more than 20 events in the native queue, we get the exception.
                                     
2012-06-14



Hardware and Software, Engineered to Work Together