You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mikhail Fursov (JIRA)" <ji...@apache.org> on 2007/08/02 13:16:53 UTC

[jira] Created: (HARMONY-4595) [drlvm][jit] Incorrect handling of long type in JET compilers

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


[jira] Updated: (HARMONY-4595) [drlvm][jit][jet] Incorrect handling of long type in JET compiler

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov updated HARMONY-4595:
------------------------------------

    Description: 
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 on Linux IA32 platform

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


> [drlvm][jit][jet] Incorrect handling of long type in JET compiler
> -----------------------------------------------------------------
>
>                 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
>         Attachments: 4595.patch
>
>
> 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 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.


[jira] Updated: (HARMONY-4595) [drlvm][jit][jet] Incorrect handling of long type in JET compiler

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov updated HARMONY-4595:
------------------------------------

    Patch Info: [Patch Available]

> [drlvm][jit][jet] Incorrect handling of long type in JET compiler
> -----------------------------------------------------------------
>
>                 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
>         Attachments: 4595.patch
>
>
> 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.


[jira] Closed: (HARMONY-4595) [drlvm][jit][jet] Incorrect handling of long type in JET compiler

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov closed HARMONY-4595.
-----------------------------------

    Resolution: Fixed

Committed as r 562098

> [drlvm][jit][jet] Incorrect handling of long type in JET compiler
> -----------------------------------------------------------------
>
>                 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
>         Attachments: 4595.patch
>
>
> 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.


[jira] Updated: (HARMONY-4595) [drlvm][jit][jet] Incorrect handling of long type in JET compiler

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov updated HARMONY-4595:
------------------------------------

    Attachment: 4595.patch

4595.patch - the fix and regression test

> [drlvm][jit][jet] Incorrect handling of long type in JET compiler
> -----------------------------------------------------------------
>
>                 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
>         Attachments: 4595.patch
>
>
> 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.


[jira] Updated: (HARMONY-4595) [drlvm][jit][jet] Incorrect handling of long type in JET compiler

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov updated HARMONY-4595:
------------------------------------

    Summary: [drlvm][jit][jet] Incorrect handling of long type in JET compiler  (was: [drlvm][jit] Incorrect handling of long type in JET compilers)

> [drlvm][jit][jet] Incorrect handling of long type in JET compiler
> -----------------------------------------------------------------
>
>                 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.


[jira] Reopened: (HARMONY-4595) [drlvm][jit][jet] Incorrect handling of long type in JET compiler

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov reopened HARMONY-4595:
-------------------------------------


> [drlvm][jit][jet] Incorrect handling of long type in JET compiler
> -----------------------------------------------------------------
>
>                 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
>         Attachments: 4595.patch
>
>
> 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.


[jira] Resolved: (HARMONY-4595) [drlvm][jit][jet] Incorrect handling of long type in JET compiler

Posted by "Mikhail Fursov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Fursov resolved HARMONY-4595.
-------------------------------------

    Resolution: Fixed

> [drlvm][jit][jet] Incorrect handling of long type in JET compiler
> -----------------------------------------------------------------
>
>                 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
>         Attachments: 4595.patch
>
>
> 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 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.