harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Markov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-2372) [drlvm][jit][jet] Stack trace points to the line where the exception was created instead of where it was thrown
Date Wed, 20 Jun 2007 14:21:26 GMT

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

Mikhail Markov closed HARMONY-2372.
-----------------------------------

    Resolution: Cannot Reproduce

The same resolution as for duplicating HARMONY-2614 - could not reproduce (lines numbers are
correct).

> [drlvm][jit][jet] Stack trace points to the line where the exception was created instead
of where it was thrown
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2372
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2372
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: IA32, WinXP
>            Reporter: Mikhail Markov
>
> The following test prints the following StackTrace when running on DRLVM with 'jet' (the
same with 'opt'  except line 14 which seems to be inlined):
> Uncaught exception in main:
> java.lang.RuntimeException
>         at Test.test(Test.java:14)
>         at Test.main(Test.java:3)
> On RI or DRLVM with interpreter the stack is the following:
> Uncaught exception in main:
> java.lang.RuntimeException
>         at Test.test(Test.java:14)
>         at Test.main(Test.java:6)
> -------------- Test.java -------------------
> public class Test {
>     public static void main(final String[] args) throws Exception {
>         RuntimeException re1 = null;
>         try {
>             test();
>         } catch (RuntimeException re) {
>             re1 = re;
>         }
>         throw re1;
>     }
>     public static void test() {
>         throw new RuntimeException();
>     }
> }

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