Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 22446 invoked from network); 8 Jan 2009 23:49:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jan 2009 23:49:27 -0000 Received: (qmail 20746 invoked by uid 500); 8 Jan 2009 23:49:22 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 20712 invoked by uid 500); 8 Jan 2009 23:49:22 -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 20675 invoked by uid 99); 8 Jan 2009 23:49:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 15:49:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 23:49:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AF61F234C498 for ; Thu, 8 Jan 2009 15:48:59 -0800 (PST) Message-ID: <870722027.1231458539716.JavaMail.jira@brutus> Date: Thu, 8 Jan 2009 15:48:59 -0800 (PST) From: "Andrew Cornwall (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-6069) [drlvm][testing] VMTT compiles floats incorrectly in constant pool In-Reply-To: <1294175973.1231457579635.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-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Cornwall updated HARMONY-6069: ------------------------------------- Attachment: 6069-floatlongfix.diff The same problem exists for doubles. This patch fixes both long and float defects. > [drlvm][testing] VMTT compiles floats incorrectly in constant pool > ------------------------------------------------------------------ > > Key: HARMONY-6069 > URL: https://issues.apache.org/jira/browse/HARMONY-6069 > Project: Harmony > Issue Type: Bug > Affects Versions: 5.0M8 > Reporter: Andrew Cornwall > Fix For: 5.0M8 > > Attachments: 6069-floatfix.diff, 6069-floatlongfix.diff > > > When a float is specified in the constant pool: > /* #2 */ float = 35.0 > VMTT converts it to an int and stores it with a float tag. The result is that the float is stored as: > 0x00000023 (ie 35) > instead of > 0x420C0000 (35.0). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.