<AWT Dev> Issue with drag and drop in Java 8 on Windows (7 and 8)

Denis S. Fokin denis.fokin at oracle.com
Wed Feb 20 05:19:20 PST 2013


Hi Ludovic,

this issue should be resolved as a part of forward port ( see 
http://bugs.sun.com/view_bug.do?bug_id=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
> [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]




More information about the awt-dev mailing list