JDK-8211810 : X11 Time stamp data should be unsigned
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 11,12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux,aix
  • CPU: generic
  • Submitted: 2018-10-06
  • Updated: 2019-10-20
  • Resolved: 2018-10-30
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 11 JDK 12
11.0.4Fixed 12 b20Fixed
Description
Time stamp data on X11 ClientMessage is 32 bit unsigned int.
But it's converted to signed long on Java.
It should be masked as unsigned 32bit data.

Following files have this issue:
* src/java.desktop/unix/classes/sun/awt/X11/XDnDDropTargetProtocol.java
* src/java.desktop/unix/classes/sun/awt/X11/XMSelection.java
Comments
Fix Request It's data type mismatch issue, and we'd like to request the fix in 11u. The patch could apply cleanly.
23-05-2019