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] Created: (HARMONY-3652) [drlvm][jit][opt] I8Lowerer produces code that does not pass internal verification
Date Sat, 14 Apr 2007 11:25:15 GMT
[drlvm][jit][opt] I8Lowerer produces code that does not pass internal verification
----------------------------------------------------------------------------------

                 Key: HARMONY-3652
                 URL: https://issues.apache.org/jira/browse/HARMONY-3652
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Mikhail Fursov


I8Lowerer produces code that does not pass internal verification.
public class Test {
    
    public static void main(String[] args) throws Exception {
        System.out.println(new Hello().foo(10).buf);
    }

    String buf ="";
    public Test foo(long l) {
        boolean flag = false;
        if (l >= 20L) {
            flag = true;
        }
        if(flag || l >= 10L) {
            int k = (int)(l / 11L);
            writeDigits(k, flag);
        }
        return this;

    }

    void writeDigits(int i, boolean flag) {
        buf+=i;
    }
}


This bug is a blocker for jscience3.3  (http://jscience.org, JSR275)  test-suite.

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