harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Yu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-6285) [JDWP][Java6] Fix a bug in Execute method of GetValuesHandler that might result in crash
Date Mon, 27 Jul 2009 03:32:15 GMT

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

Jim Yu closed HARMONY-6285.
---------------------------


> [JDWP][Java6] Fix a bug in Execute method of GetValuesHandler that might result in crash
> ----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6285
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6285
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>    Affects Versions: 5.0M10
>            Reporter: Jim Yu
>            Assignee: Regis Xu
>             Fix For: 5.0M11
>
>         Attachments: HARMONY-6285.diff
>
>
> In Execute method of GetValuesHandler, if the array object can't be retrieved from the
MapFromObjectID method, the value for it would be null. 
> Then, in the following JNI method, a null value passed to it would definitely result
in a crash. To solve the problem, we should throw an exception to notify the upper level method
that "GetValues: ReadArrayID() returned NULL".
> jclass arrObjClass = jni->GetObjectClass(arrayObject);

-- 
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