harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2926) [drlvm][jvmti] JVMTI Exception Callbacks reported at incorrect byte code offset
Date Wed, 31 Jan 2007 17:16:05 GMT

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

Gregory Shimansky commented on HARMONY-2926:
--------------------------------------------

Actually I am wrong, in interpreter mode the catch location is incorrect. In JIT mode the
throw location is incorrect. So these are 2 different bugs actually.

> [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, 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.


Mime
View raw message