Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6615847
Votes 0
Synopsis test/java/awt/TextArea/UsingWithMouse/SelectionAutoscrollTest.html fails on KDE
Category java:classes_awt
Reported Against
Release Fixed
State 3-Accepted, bug
Priority: 4-Low
Related Bugs
Submit Date 11-OCT-2007
Description
Regression test
test/java/awt/TextArea/UsingWithMouse/SelectionAutoscrollTest.html
fails on KDE. I tested that on latest jdk7 and jdk6u5.
Posted Date : 2007-10-11 16:49:23.0
Work Around
Thread.sleep can be used in the test instead of Util.waitForIdle. This would be slow and/or not reliable though.
Evaluation
Problem is with regtesthelpers.Util.waitForIdle. On KDE it results in sun.awt.SunToolkit$InfiniteLoop exception, thrown from sun.awt.SunToolkit.realSync. The test works fine on Gnome on either Solaris or Linux.

Exception doesn't happen on every invocation of waitForIdle, but happens stabily in the test mentioned. Placing Thread.sleep before Util.waitForIdle doesn't help.

Another problem is, that mouse is not released if test crashes there (robot.mouseRelease is not placed inside "finally" block).
Posted Date : 2007-10-11 16:49:23.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang