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/06 16:27:59 UTC
[jira] Resolved: (HARMONY-3716) [drlvm][jit][opt] Jitrino.OPT
misses checkcast insts sometimes.
[ 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.