JDK-6272208 : Regression testcase java/awt/xembed/server/RunTestXEmbed.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2005-05-18
  • Updated: 2011-03-07
  • Resolved: 2011-03-07
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 Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u2Fixed 7 b09Fixed
Related Reports
Relates :  
Relates :  
Description
This occurs on Solaris/Linux on AWT PIT build for mustang b38

java version "1.6.0-awt.pit-int-awt-blade"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-awt.pit-int-awt-blade-dm97671_11_May_2005_10_32-b00)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b35, mixed mode)

The regression testcase java/awt/xembed/server/RunTestXEmbed.java fails. The jtr file attached.
###@###.### 2005-05-18 05:20:34 GMT

Comments
EVALUATION I have found many interesting things about the test, and the problems are not with the test itself only, but also inside Xembed implementation. First, the test always reports it is passed even if some test cases inside are failed (with the exception of timeouts, crashes, etc.) So the test should be modified to handle test cases failures correctly. Second, all the test cases are always failed on my desktop. Most often the failing check is the very first one: 'waitWindowActivated'. This message should be sent by XEmbedCanvasPeer when it finds a client reparented into it. However, the corresponding XReparentNotify never gets dispatched to the XEmbedCanvasPeer because of quite another bug: 6501838. I have a temporary fix for 6501838 and with this fix all other XEmbed server test cases seem to pass. So I'm waiting for the fix for 6501838 to be integrated and then putback the fix for java/awt/xembed/server/RunTestXEmbed.java test.
2006-12-13

EVALUATION From .jtr the client is missing WINDOW_ACTIVATED - most likely a problem in the test case. Not critical for Mustang, but should investigate in Dolphin before we integrate browser feature. ###@###.### 2005-05-26 12:52:05 GMT
2005-05-26