You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vera Petrashkova (JIRA)" <ji...@apache.org> on 2007/07/10 11:05:05 UTC

[jira] Created: (HARMONY-4403) [drlvm][jvmti][vts] VM crashes instead of returning JVMTI_ERROR_INVALID_FIELDID

[drlvm][jvmti][vts] VM crashes instead of returning JVMTI_ERROR_INVALID_FIELDID
-------------------------------------------------------------------------------

                 Key: HARMONY-4403
                 URL: https://issues.apache.org/jira/browse/HARMONY-4403
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Vera Petrashkova
            Priority: Minor


According to J2SE JVMTI specification 
    GetFieldDeclaringClass
    GetFieldModifiers
    IsFieldSynthetic
should return JVMTI_ERROR_INVALID_FIELDID when their "field" argument is not a jfieldID.

But VM crashes when these methods are invoked with field argument equals (jfieldID)100.

This issue cases the failures of the following VTS tests 
vm/jvmti/funcs/GetFieldDeclaringClass/GetFieldDeclaringClass0103/GetFieldDeclaringClass0103.xml 
vm/jvmti/funcs/GetFieldModifiers/GetFieldModifiers0103/GetFieldModifiers0103.xml 
vm/jvmti/funcs/IsFieldSynthetic/IsFieldSynthetic0104/IsFieldSynthetic0104.xml




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