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-1442) [drlvm] VM asserts with NULL pointer in DefineClass()
Date Fri, 15 Sep 2006 21:24:23 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1442?page=comments#action_12435124 ] 
Gregory Shimansky commented on HARMONY-1442:

As far as I know there was an optimization, that when JVMTI is off, the local variable table
of a class is not parsed, just skipped. When JVMTI is on, the local variable table was parsed
just fine. But the ambigous interface treated NULL returned by the parsing function as an
error, regardless of whether the local variable table was incorrect or just absent. Usually
local variable table is present, but classes are allowed not to have it. So when this table
was just absent in a class, an error was returned just like parsing was failed.

So it seems like this was the reason to change the API to make it less ambigous and allow
returning status about the parsing error and table absence separately.

> [drlvm] VM asserts with NULL pointer in DefineClass()
> -----------------------------------------------------
>                 Key: HARMONY-1442
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1442
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Pervov
>            Priority: Minor
>         Attachments: DefineClass_assert.patch
> While TI is on, VM crashes when it attempts to define class which contains
> method with absent local variable table information through JNI DefineClass.
> The patch for this problem will follow shortly.

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


View raw message