harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Pavlenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2403) [classlib][awt] Result of getMouseModifiersText(int) differs from RI
Date Fri, 02 Mar 2007 15:37:50 GMT

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

Andrey Pavlenko commented on HARMONY-2403:
------------------------------------------

Alexey, the patch is applied as expected. You can close the issue. Thanks.

> [classlib][awt] Result of getMouseModifiersText(int) differs from RI
> --------------------------------------------------------------------
>
>                 Key: HARMONY-2403
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2403
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Denis Kishenko
>         Assigned To: Alexey Petrenko
>         Attachments: MouseEvent.patch, MouseEvent.patch, MouseEventTest.patch
>
>
> For java.awt.event.MouseEvent.getMouseModifiersText(int) - Harmony returns a string description
of the combination of modifier keys and mouse buttons own during the event "Ctrl+Shift" but
RI during the event "Shift"
> =========== Test ===============
> import java.awt.event.MouseEvent;
> public class Test {
>     public static void main(String[] argv) {
>         int usedConstant0 = MouseEvent.MOUSE_PRESSED; //  MOUSE_RELEASED, MOUSE_CLICKED
>         String returnValue = MouseEvent.getMouseModifiersText(usedConstant0);
>         System.out.println(usedConstant0);
>         System.out.println(returnValue);
>     }
> }
> =========== RI ============
>  501
>  Meta+Shift+Alt Graph+Button1+Button3
> ========== Harmony ========
> 501
> Meta+Ctrl+Shift+Alt Graph+Button1+Button3

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