JDK-6615847 : test/java/awt/TextArea/UsingWithMouse/SelectionAutoscrollTest.html fails on KDE
Type:Bug
Component:client-libs
Sub-Component:java.awt
Affected Version:7
Priority:P4
Status:Closed
Resolution:Duplicate
OS:linux
CPU:x86
Submitted:2007-10-11
Updated:2021-03-27
Resolved:2021-03-27
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Regression test
test/java/awt/TextArea/UsingWithMouse/SelectionAutoscrollTest.html
fails on KDE. I tested that on latest jdk7 and jdk6u5.
Comments
- this is an issue reported against 7(7u),
- there are now affected version 9 filed for this issue
- 7u issues are transferred to Sustaining
Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9
or
7u specific escalations might be reopen to Sustaining
10-08-2014
- this is an issue reported against 7(7u),
- there are now affected version 9 filed for this issue
- 7u issues are transferred to Sustaining
Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9
or
7u specific escalations might be reopen to Sustaining
10-08-2014
WORK AROUND
Thread.sleep can be used in the test instead of Util.waitForIdle. This would be slow and/or not reliable though.
11-10-2007
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).