United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7011446 : ./windows/classes/sun/awt/windows/WToolkit.java needs to avoid spurious wakeup

Details
Type:
Bug
Submit Date:
2011-01-11
Status:
Closed
Updated Date:
2011-05-17
Project Name:
JDK
Resolved Date:
2011-05-17
Component:
client-libs
OS:
generic
Sub-Component:
java.awt
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u22
Fixed Versions:

Related Reports

Sub Tasks

Description
./windows/classes/sun/awt/windows/WToolkit.java seems to need implementation(ex. "while" loop) to avoid spurious wakeup at the following source code portion in jdk6u22.


src/windows/classes/sun/awt/windows/WToolkit.java
...
 249             try {
 250                 wait();
 251             }
...
======

                                    

Comments
SUGGESTED FIX

http://hg.openjdk.java.net/jdk7/awt/jdk/rev/5d4723944cbd
                                     
2011-01-20
EVALUATION

Use wait loop idiom as suggested.
                                     
2011-01-12



Hardware and Software, Engineered to Work Together