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 Markov (JIRA)" <ji...@apache.org> on 2007/06/20 16:21:26 UTC
[jira] Closed: (HARMONY-2372) [drlvm][jit][jet] Stack trace points
to the line where the exception was created instead of where it was thrown
[ 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.