Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 92557 invoked from network); 5 Feb 2007 11:18:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2007 11:18:26 -0000 Received: (qmail 74396 invoked by uid 500); 5 Feb 2007 11:18:33 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 74371 invoked by uid 500); 5 Feb 2007 11:18:33 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 74362 invoked by uid 99); 5 Feb 2007 11:18:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 03:18:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 03:18:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CC52E7142B5 for ; Mon, 5 Feb 2007 03:18:05 -0800 (PST) Message-ID: <27344832.1170674285834.JavaMail.jira@brutus> Date: Mon, 5 Feb 2007 03:18:05 -0800 (PST) From: "Andrey Pavlenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-2403) [classlib][awt] Result of getMouseModifiersText(int) differs from RI In-Reply-To: <31632570.1165231761043.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrey Pavlenko updated HARMONY-2403: ------------------------------------- Attachment: MouseEvent.patch > [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, 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.