harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Kishenko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2403) [classlib][awt] Result of getMouseModifiersText(int) differs from RI
Date Mon, 04 Dec 2006 11:29:21 GMT
[classlib][awt] Result of getMouseModifiersText(int) differs from RI

                 Key: HARMONY-2403
                 URL: http://issues.apache.org/jira/browse/HARMONY-2403
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Denis Kishenko

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

=========== RI ============
 Meta+Shift+Alt Graph+Button1+Button3

========== Harmony ========
Meta+Ctrl+Shift+Alt Graph+Button1+Button3

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message