-
Bug
-
Resolution: Duplicate
-
P1
-
None
-
1.4.0
-
x86
-
windows_nt
When a call to DragSource.getDefaultDragSource() is made, the application hangs in Win32. This happens only in Merlin - Beta 31
How to reporduce the Bug
========================
Run the Sample program given below.
See if both "Before..." and "After..." messages and the object is printed on the
console. If the program just prints "Before..." and hangs, bug is reproduced.
-----------GetDefaultDragSourceBug.java--------------
import java.awt.dnd.*;
//Method returns the DragSource object associated with the underlying platform
public class GetDefaultDragSourceBug {
public static void main(String args[]) {
System.out.println("\nBefore calling getDefaultDragSource()");
DragSource ds = DragSource.getDefaultDragSource();
System.out.println("After calling getDefaultDragSource()");
System.out.println("DragSource object : " + ds);
}
}
How to reporduce the Bug
========================
Run the Sample program given below.
See if both "Before..." and "After..." messages and the object is printed on the
console. If the program just prints "Before..." and hangs, bug is reproduced.
-----------GetDefaultDragSourceBug.java--------------
import java.awt.dnd.*;
//Method returns the DragSource object associated with the underlying platform
public class GetDefaultDragSourceBug {
public static void main(String args[]) {
System.out.println("\nBefore calling getDefaultDragSource()");
DragSource ds = DragSource.getDefaultDragSource();
System.out.println("After calling getDefaultDragSource()");
System.out.println("DragSource object : " + ds);
}
}
- duplicates
-
JDK-4369714 REGRESSION: hang when creating custom cursor on win32
- Closed