[ https://issues.apache.org/jira/browse/HARMONY-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Pavlenko updated HARMONY-2403:
-------------------------------------
Attachment: MouseEventTest.patch
MouseEvent.patch
The patches are attached.
> [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
> Attachments: 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.
|