(original) (raw)
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
\[2\] http://hg.openjdk.java.net/jdk8/jdk8/jdk/summary
\[3\] 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\]