You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Dolgov (JIRA)" <ji...@apache.org> on 2007/02/05 10:45:05 UTC

[jira] Commented: (HARMONY-2068) [classlib][awt] DragSource.isDragImageSupported() returns true while RI - false

    [ https://issues.apache.org/jira/browse/HARMONY-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470173 ] 

Pavel Dolgov commented on HARMONY-2068:
---------------------------------------

Please look at this: http://java.sun.com/j2se/1.5.0/docs/api/java/awt/dnd/DragSource.html#isDragImageSupported()

public static boolean isDragImageSupported()
    Reports whether or not drag Image support is available on the underlying platform.

This means the actual value returned by this method is both platform and implementation dependent. 
I think returning false in this method is correct, so the patch itself is OK, but the unit test shouldn't be added for this method.

> [classlib][awt] DragSource.isDragImageSupported() returns true while RI - false
> -------------------------------------------------------------------------------
>
>                 Key: HARMONY-2068
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2068
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Denis Kishenko
>         Attachments: DragSource.patch, DragSourceTest.patch
>
>
> ======== Test ===========
> import java.awt.dnd.*;
> public class Test {
>     public static void main(String[] argv) {
>         System.out.println(DragSource.isDragImageSupported());
>     }
> }
> ====== RI ========
> false
> =====Harmony ====
> true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.