8072088: [PIT] NPE in DnD tests apparently because of the fix to JDK-8061636
Reviewed-by: ant, prr, serb
--- a/jdk/src/java.desktop/share/classes/java/awt/Container.java Thu Feb 05 16:16:46 2015 +0300
+++ b/jdk/src/java.desktop/share/classes/java/awt/Container.java Mon Feb 02 21:38:19 2015 +0300
@@ -4636,7 +4636,7 @@
// 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) {