< prev index next >

src/java.desktop/share/classes/sun/awt/dnd/SunDropTargetContextPeer.java

Print this page

        

@@ -906,11 +906,11 @@
             } finally {
                 /*
                  * Clear the reference to the native context if all copies of
                  * the original event are processed.
                  */
-                if (dispatcherDone) {
+                if (dispatcherDone && !peer.dropInProcess) {
                     nativeCtxt = 0;
                     // Fix for 6342381
                     peer.nativeDragContext = 0;
 
                 }
< prev index next >