JDK-7110590 : DnDMerlinQLTestsuite_DnDJTextArea test fails with an java.awt.dnd.InvalidDnDOperationException
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.2_35,5.0u33,6u30,7,7u2,8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,linux,windows_7
  • CPU: generic,x86,arm
  • Submitted: 2011-11-10
  • Updated: 2013-09-12
  • Resolved: 2012-01-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6 JDK 7 JDK 8
1.4.2_36Fixed 6u31Fixed 7u2Fixed 8 b23Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
More info may be found in CR7068047

DnDMerlinQLTestsuite_DnDJTextArea test fails with an java.awt.dnd.InvalidDnDOperationException: java.awt.AWTKeyStroke cannot be cast to javax.swing.KeyStroke
see more in comments..
Background:

 7019773 AWTKeyStroke.ctor is a mutable static - CPU11_03 
 http://monaco.sfbay.sun.com/detail.jsf?cr=7019773 
 - Denis / Vikram - CLSD - Fixed in 5.0u32 b01
 
 7068047 DnDMerlinQLTestsuite_DnDJTextArea test fails with an 
         java.awt.dnd.InvalidDnDOperationException
 http://monaco.sfbay.sun.com/detail.jsf?cr=7068047/5.0u32
 - Marked: regression
 - Vikram - CLSD - Fixed in 5.0u32 b02

 7080289 AWTKeystroke class registers a subclass factory during deserialization
 http://monaco.sfbay.sun.com/detail.jsf?cr=7080289 
 - 5.0u32-defer-request, 5.0u33-yes-b09 (Missing: regression keyword IMHO)
 - Denis / Vlad - FDE 5.0 u33 b09
 
 7110590 DnDMerlinQLTestsuite_DnDJTextArea test fails with an 
         java.awt.dnd.InvalidDnDOperationException
 http://monaco.sfbay.sun.com/detail.jsf?cr=7110590
 - Failed with 5.0u33 b09, passed with 5.0u33 b08
   
 http://monaco.sfbay.sun.com/list.jsf?product=java&CRrelease=5.0u33&integrated=b08
 http://monaco.sfbay.sun.com/list.jsf?product=java&CRrelease=5.0u33&integrated=b09
  - It seems 7080289 went in at b09
  
  ---

I've ask Vlad to revisit and resolve.

Comments
SUGGESTED FIX http://cr.openjdk.java.net/~denis/7110590/webrev.00/
17-11-2011

EVALUATION I can reproduce the problem with jdk 5u33 build 9. I see the next error report for the drop target. Message log from target JVM [TARGET] dragEnter java.awt.dnd.DropTargetDragEvent[source=java.awt.dnd.DropTarget@358b3364] [TARGET] * MIMEType[0] = application/x-java-serialized-object; class=java.io.Serializable [TARGET] dragEnter : Accept the drag!! [TARGET] dragOver java.awt.dnd.DropTargetDragEvent[source=java.awt.dnd.DropTarget@358b3364] [TARGET] drop java.awt.dnd.DropTargetDropEvent[source=java.awt.dnd.DropTarget@358b3364] [TARGET] drop : isLocalTransfer false [TARGET] Handling drop [TARGET] * MIMEType[0] = application/x-java-serialized-object; class=java.io.Serializable [TARGET] handleDrop : MIME - application/x-java-serialized-object; class=java.io.Serializable Class - java.io.InputStream Name - application/x-java-serialized-object [TARGET] drop : DataFlavor.javaSerializedObjectMimeType supported ? true [TARGET] ERROR: drop - Exception java.awt.dnd.InvalidDnDOperationException: java.awt.AWTKeyStroke Currently I do not see connection with 7019773 family fixes. I need a little more time to investigate this.
15-11-2011