harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4874) [drlvm][jit] regression in JIT
Date Fri, 28 Sep 2007 10:43:51 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mikhail Fursov updated HARMONY-4874:
------------------------------------

    Attachment: 4874.patch

The fix: I found that MSVC compiler treats -0.0 in source code as positive zero. So I used
-1.0*0.0 notation.

> [drlvm][jit] regression in JIT
> ------------------------------
>
>                 Key: HARMONY-4874
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4874
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows
>            Reporter: Andrey Pavlenko
>            Assignee: Mikhail Fursov
>         Attachments: 4874.patch
>
>
> The following test fails on Windows on the current build of Harmony. It was not failing
in M2.
> public class Test {
>       public static void main(String[] args) throws Exception {
>             double one = 1;
>             double result = (-2) % one;
>             
>             if (Double.compare(result, -0.0) != 0) {
>             	System.out.println("FAILED! result = " + result);
>             } else {
>             	System.out.println("PASSED");
>             }
>       }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message