You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Egor Pasko (JIRA)" <ji...@apache.org> on 2006/12/04 13:18:22 UTC
[jira] Commented: (HARMONY-2372) [drlvm][jit][jet] Stack trace
points to the line where the exception was created instead of where it was
thrown
[ http://issues.apache.org/jira/browse/HARMONY-2372?page=comments#action_12455288 ]
Egor Pasko commented on HARMONY-2372:
-------------------------------------
1. Is the bug against JET or against OPT?
2. the same behavior is described in HARMONY-2114 in more detail
3. IMHO, this issue can be closed
4. thank you :)
> [drlvm][jit][jet] Stack trace points to the line where the exception was created instead of where it was thrown
> ---------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2372
> URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira