United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6927600 JDK 1.6 unable to capture X11 event in a Canvas using
JDK-6927600 : JDK 1.6 unable to capture X11 event in a Canvas using

Details
Type:
Bug
Submit Date:
2010-02-18
Status:
Closed
Updated Date:
2011-05-13
Project Name:
JDK
Resolved Date:
2010-09-01
Component:
client-libs
OS:
solaris_10
Sub-Component:
java.awt
CPU:
sparc
Priority:
P2
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:
6u21-rev (b10)

Related Reports
Backport:
Backport:
Backport:
Relates:

Sub Tasks

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.
                                     
2010-06-18



Hardware and Software, Engineered to Work Together