harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Elford (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2926) JVMTI Exception Callbacks reported at incorrect byte code offset
Date Fri, 29 Dec 2006 23:18:21 GMT
JVMTI Exception Callbacks reported at incorrect byte code offset
----------------------------------------------------------------

                 Key: HARMONY-2926
                 URL: http://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
            Priority: Minor
         Attachments: 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.
-
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

        

Mime
View raw message