You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2007/02/01 18:25:06 UTC

[jira] Resolved: (HARMONY-2926) [drlvm][jvmti] JVMTI Exception Callbacks reported at incorrect byte code offset

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

Gregory Shimansky resolved HARMONY-2926.
----------------------------------------

    Resolution: Fixed

Regression test created in 502290.

When this regression test was ran on interpreter it has discovered another bug in interpreter support of JVMTI. When agent turns off Exception event inside of Exception event callback, interpreter went into an infinite loop. So this patch also includes a fix for interpreter code to handle this correctly.

Please check that the bug is gone for you.

> [drlvm][jvmti] JVMTI Exception Callbacks reported at incorrect byte code offset
> -------------------------------------------------------------------------------
>
>                 Key: HARMONY-2926
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2926
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Binary JRE release: harmony-jre-r487452
> 32bit windows XP SP2
>            Reporter: Chris Elford
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: bugshow.c, harmony-2926.patch, repro.java
>
>
> If one registers for Exception callbacks in JVMTI, the byte code offset reported for the throwing location is sometimes reported incorrectly 1 bytecode above where the exception is reported with other JVMs (e.g., Sun and BEA).  I will attach sample Java applicationand JVMTI agent code to reproduce.
> c:\java\bea50\bin\java -agentlib:bugshow repro
> ...
> EXCEPTION: main(bc=0xf)->main(bc=0x13)
> ...
> c:\java\sun50_09_jre\bin\java -agentlib:bugshow repro
> ...
> EXCEPTION: main(bc=0xf)->main(bc=0x13)
> ...
> c:\java\hre50\bin\java -agentlib:bugshow repro
> ...
> EXCEPTION: main(bc=0x10)->main(bc=0x13)
> ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.