-
Bug
-
Resolution: Fixed
-
P3
-
OpenJDK6, 7
-
b29
-
generic
-
generic
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2163278 | OpenJDK6 | Andrei Dmitriev | P3 | Resolved | Fixed | b11 |
Test case
api/java_awt/dnd/DragSourceContext/index.html#other[DragSourceContext0012]
Fails on:
*openJDK 6*: b08 (/java/re/openjdk/6/promoted/ea/b08/openjdk/binaries/linux-ubuntu)
*JCK*: 6b b21 JCK-runtime
*platform*: ubuntu 8.10 (Hardy Heron), Windows
Passes on: *JDK6uX*
For java.awt.dnd.DragSourceContext if current cursor is null, after updateCurrentCursor() operation, method getCursor() returns unexpected result - instead of DragSource.DefaultCopyDrop it returns DragSource.DefaultCopyNoDrop.
Please see attached independent test source.
It fails with the message:
bad cursor: sun.awt.windows.WCustomCursor[CopyNoDrop32x32], expected: sun.awt.windows.WCustomCursor[CopyDrop32x32]
or
bad cursor: sun.awt.X11.XCustomCursor[CopyNoDrop32x32], expected: sun.awt.X11.XCustomCursor[CopyDrop32x32]
api/java_awt/dnd/DragSourceContext/index.html#other[DragSourceContext0012]
Fails on:
*openJDK 6*: b08 (/java/re/openjdk/6/promoted/ea/b08/openjdk/binaries/linux-ubuntu)
*JCK*: 6b b21 JCK-runtime
*platform*: ubuntu 8.10 (Hardy Heron), Windows
Passes on: *JDK6uX*
For java.awt.dnd.DragSourceContext if current cursor is null, after updateCurrentCursor() operation, method getCursor() returns unexpected result - instead of DragSource.DefaultCopyDrop it returns DragSource.DefaultCopyNoDrop.
Please see attached independent test source.
It fails with the message:
bad cursor: sun.awt.windows.WCustomCursor[CopyNoDrop32x32], expected: sun.awt.windows.WCustomCursor[CopyDrop32x32]
or
bad cursor: sun.awt.X11.XCustomCursor[CopyNoDrop32x32], expected: sun.awt.X11.XCustomCursor[CopyDrop32x32]
- backported by
-
JDK-2163278 DragSourceContext returns unexpected cursor
- Resolved
- relates to
-
JDK-6535356 should fix a number of issues uncovered by static analysis tool
- Closed
-
JDK-6716137 Fix 6691328 is broken
- Closed