JDK-6927600 : JDK 1.6 unable to capture X11 event in a Canvas using
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2010-02-18
  • Updated: 2011-05-13
  • Resolved: 2010-09-01
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.

To download the current JDK release, click here.
JDK 6
6u21-rev b10Fixed
Related Reports
Relates :  
Description
A CUST application is using java and C++, in a C++ library they are using XtAddEventHandler() and XtAddCallback() in order to capture X11 event in an AWT Canvas.

This application are able to capture X11 event using Java 1.4 or 1.5 but fails using 1.6

CUST provide a test case, this test case is showing this issue as soon we are using 1.6 version

To build it and run it, just edit build script and change JAVAHOME

here is the result on a Solaris 10 sparc box.

Build on  |  java runtime | status
 1.4.2    |     1.4.2     | OK
 1.4.2    |     1.6.0     | KO
 1.5.0_17 |     1.5.0_17  | OK
 1.5.0_17 |     1.6.0     | KO
 1.6.0    |     1.6.0     | KO

It seems that some thing in the 1.6 java runtime broke CUST application

Comments
EVALUATION Implement changes as proposed by PDE.
18-06-2010