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