harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Dolgov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2068) [classlib][awt] DragSource.isDragImageSupported() returns true while RI - false
Date Mon, 05 Feb 2007 09:45:05 GMT

    [ 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.


Mime
View raw message