JDK-2122031 : normal DnD program causes "FATAL ERROR in native method"
  • Type: Backport
  • Backport of: JDK-5082481
  • Component: client-libs
  • Sub-Component: java.awt
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2004-12-17
  • Updated: 2010-05-10
  • Resolved: 2005-02-11
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
1.4.2_08 b02Fixed
Description
See 6205044, 5082481

###@###.### 2004-12-17 20:08:23 GMT

Comments
SUGGESTED FIX 642 % sccs diffs -r1.50 awt_DnDDS.cpp ------- awt_DnDDS.cpp ------- 48c48,50 < StartDragRec sdr = {self, cursor}; --- > StartDragRec* sdrp = new StartDragRec; > sdrp->dragSource = self; > sdrp->cursor = cursor; 52c54 < AwtToolkit::GetInstance().InvokeFunctionLater((void (*)(void *))&AwtDragSource::_DoDragDrop, (void *)&sdr); --- > AwtToolkit::GetInstance().InvokeFunctionLater((void (*)(void *))&AwtDragSource::_DoDragDrop, (void *)sdrp); 54a57 > 68a72,74 > env->DeleteGlobalRef(sdrp->cursor); > delete sdrp; > 1535a1542,1543 > cursor = env->NewGlobalRef(cursor); > ###@###.### 2004-12-17 20:08:24 GMT
17-12-2004

EVALUATION See 6205044, 5082481. ###@###.### 2004-12-17 20:08:24 GMT
17-12-2004