8072088: [PIT] NPE in DnD tests apparently because of the fix to JDK-8061636

Reviewed-by: ant, prr, serb
This commit is contained in:
Alexander Zvegintsev 2015-02-02 21:38:19 +03:00
parent 3cd8a07dc7
commit 47d0ae0d36

@ -4636,7 +4636,7 @@ class LightweightDispatcher implements java.io.Serializable, AWTEventListener {
// drag has an associated drop target. MOUSE_ENTERED comes when the
// mouse is in the native container already. To propagate this event
// properly we should null out targetLastEntered.
targetLastEnteredDT = null;
targetLastEnteredDT.clear();
} else if (id == MouseEvent.MOUSE_ENTERED) {
isMouseDTInNativeContainer = true;
} else if (id == MouseEvent.MOUSE_EXITED) {