Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 60029 invoked from network); 31 Jan 2007 13:52:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jan 2007 13:52:27 -0000 Received: (qmail 34805 invoked by uid 500); 31 Jan 2007 13:52:33 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 34782 invoked by uid 500); 31 Jan 2007 13:52: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 34771 invoked by uid 99); 31 Jan 2007 13:52:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 05:52:32 -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; Wed, 31 Jan 2007 05:52:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DC3A47142D0 for ; Wed, 31 Jan 2007 05:52:05 -0800 (PST) Message-ID: <21714540.1170251525899.JavaMail.jira@brutus> Date: Wed, 31 Jan 2007 05:52: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: 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.