Mac OS X Applet DND bug (related to JDK-8020371)

James Velasco james.velasco at int.com
Tue Oct 1 16:10:56 PDT 2013


As per my discussion last week with Dalibor @ JavaOne last week, I was 
told to post any information I have about
DND failing within an applet on Mac OS X to this group.

I get the following exception whenever a DND operation is performed, 
only on Mac OS X:

Exception in thread "AWT-EventQueue-2" 
java.awt.dnd.InvalidDnDOperationException: failed to create native peer: 
java.awt.dnd.InvalidDnDOperationException: Unsupported platform window 
implementation
     at 
sun.lwawt.macosx.CDragSourceContextPeer.startDrag(CDragSourceContextPeer.java:154)
     at 
sun.awt.dnd.SunDragSourceContextPeer.startDrag(SunDragSourceContextPeer.java:135)
     at 
sun.lwawt.macosx.CDragSourceContextPeer.startDrag(CDragSourceContextPeer.java:88)
     at java.awt.dnd.DragSource.startDrag(DragSource.java:321)

This has occurred with 1.8.0-ea-b108 and all of the previous 1.7 and 1.8 
builds I have tested.

Since a signed applet is required to test this out, I have one built and 
hosted to demonstrate this at http://demo.int.com/dnddropbug/.

I can send you the full source code (less our code signing cert !), or 
post it somewhere if you need it.

Feel free to follow up with me on this,

James Velasco

-- 

James Velasco
Chief Computer Scientist

INT, INC, 2901 Wilcrest, Suite 300, Houston, TX 77042

E-mail: james.velasco at int.com
Tel: (713) 975-7434
Fax: (713) 975-1120



More information about the macosx-port-dev mailing list