8213614: DnD operation change feature does not work with 64bit big endian CPU
Reviewed-by: serb
--- a/src/java.desktop/unix/classes/sun/awt/X11/XDragSourceContextPeer.java Wed Nov 14 13:52:33 2018 -0800
+++ b/src/java.desktop/unix/classes/sun/awt/X11/XDragSourceContextPeer.java Wed Nov 14 18:04:54 2018 -0800
@@ -653,7 +653,7 @@
xmotion.set_y(xkey.get_y());
xmotion.set_x_root(xkey.get_x_root());
xmotion.set_y_root(xkey.get_y_root());
- xmotion.set_state((int)Native.getLong(XlibWrapper.larg7));
+ xmotion.set_state(Native.getInt(XlibWrapper.larg7));
// we do not use this field, so it's unset for now
// xmotion.set_is_hint(???);
xmotion.set_same_screen(xkey.get_same_screen());