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] Resolved: (HARMONY-3716) [drlvm][jit][opt] Jitrino.OPT misses checkcast insts sometimes.
Date Mon, 06 Aug 2007 14:27:59 GMT

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

Mikhail Fursov resolved HARMONY-3716.
-------------------------------------

    Resolution: Fixed

Committed revision 563148

> [drlvm][jit][opt] Jitrino.OPT misses checkcast insts sometimes.
> ---------------------------------------------------------------
>
>                 Key: HARMONY-3716
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3716
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Mikhail Fursov
>            Assignee: Mikhail Fursov
>         Attachments: H3716.ZIP, HARMONY-3716.patch
>
>
> The test below passes with RI and Jitrino.JET but fails with OPT
> public class Test {
>     public static void main(String args[]) {
>         foo(new Long(1));
>     }
>     static void foo(Number n) {
>         try {
>             failed((Integer)n);
>         } catch (ClassCastException e) {}
>         try {
>             failed((Integer)n);
>         } catch (ClassCastException e) {
>             System.out.println("PASSED");
>         }
>     } 
>     static void failed(Integer i) {
>         System.out.println("FAILED");
>     }
> }

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