Issue with drag and drop in Java 8 on Windows (7 and 8) (original) (raw)

Ludovic HOCHET lhochet at gmail.com
Wed Feb 20 12:19:11 PST 2013


Hello Denis, Thanks for the info. Looking forward to it,

Ludovic

On Wed, Feb 20, 2013 at 2:19 PM, Denis S. Fokin <denis.fokin at oracle.com>wrote:

Hi Ludovic,

this issue should be resolved as a part of forward port ( see http://bugs.sun.com/viewbug.**do?bugid=8001177<http://bugs.sun.com/viewbug.do?bugid=8001177> ) Thank you, Denis.

On 2/20/2013 2:30 AM, Ludovic HOCHET wrote: Hello, I've been investigating an issue that I am currently having on Windows (7 and 8) with drag and drop in Java 8. The issue I'm having is when I drop a file from Windows explorer onto Netbeans the instance of Windows explorer from which I dragged the file freeze until I close Netbeans. I could reproduce it on the simple TopLevelTransferHandlerDemo from the Java Tutorial [1]. After digging down the JDK8 code and comparing it to JDK7 code, I could find a change in sun.awt.dnd.**SunDropTargetContextPeer. Reverting the change fixed the issue. Searching the Mercurial repo [2] for changes in SunDropTargetContextPeer showed that the change was introduced last June [3]. Since it is platform dependent and a fix to another issue, I am unsure at what I can do more.

[1] http://docs.oracle.com/javase/tutorial/uiswing/examples/dnd/ TopLevelTransferHandlerDemoProject/src/dnd/ TopLevelTransferHandlerDemo.**java<http://docs.oracle.com/javase/tutorial/uiswing/examples/dnd/TopLevelTransferHandlerDemoProject/src/dnd/TopLevelTransferHandlerDemo.java> [2] http://hg.openjdk.java.net/**jdk8/jdk8/jdk/summary<http://hg.openjdk.java.net/jdk8/jdk8/jdk/summary> [3] http://hg.openjdk.java.net/**jdk8/jdk8/jdk/rev/8326709c6315<http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/8326709c6315> Thanks in advance, -- Ludovic ------------------------------**----------- "Les formes qui differencient les etres importent peu si leur pensees s'unissent pour batir un univers..." Yoko Tsuno (in 'Les titans' by Roger Leloup) [The shapes that differenciate beings are not important if their thoughts unite to build a universe]

-- Ludovic

"Les formes qui differencient les etres importent peu si leur pensees s'unissent pour batir un univers..." Yoko Tsuno (in 'Les titans' by Roger Leloup) [The shapes that differenciate beings are not important if their thoughts unite to build a universe] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20130220/25b263ea/attachment.html



More information about the awt-dev mailing list