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-4595) [drlvm][jit] Incorrect handling of long type in JET compilers
Date Thu, 02 Aug 2007 11:16:53 GMT
[drlvm][jit] Incorrect handling of long type in JET compilers
-------------------------------------------------------------

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


JET fails to run this test (output is not the same with RI or OPT compilers)

public class Test {

    XGraphics2D g2d = new XGraphics2D();
    A a = new A();

    public static void main(String args[]) {
        new Test().test();
    }

    class A {
        void in(long l1, long l2, long l3){
            System.out.println("in:"+l1);
        }
    }

    void test() {
        long l = get();
        before(l);
        a.in(g2d.display, g2d.drawable, g2d.imageGC);
    }

    long get(){
        return 4;
    }

    
    void before(long l){ 
        System.out.println("before:"+g2d.display);
    }


}

class XGraphics2D {
    long drawable = 10000001;
    long display  = 10000002;
    long imageGC  = 10000003;
}


This bug is critical, because it affects swing applications (and SwingSet2 demo too) on Linux
IA32 platform

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