harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vera Petrashkova (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4329) [buildtest][vts] 2 tests vm/jvmti/funcs invoke Set[Clear]FieldModificationWatch methods with correct arguments but expect that VM returns error code
Date Wed, 04 Jul 2007 05:33:04 GMT
[buildtest][vts] 2 tests vm/jvmti/funcs  invoke  Set[Clear]FieldModificationWatch  methods
with correct arguments but expect that VM returns error code
-------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-4329
                 URL: https://issues.apache.org/jira/browse/HARMONY-4329
             Project: Harmony
          Issue Type: Bug
          Components: build - test - ci
            Reporter: Vera Petrashkova


According to J2SE JVMTI specification:
    SetFieldModificationWatch and 
    ClearFieldModificationWatch methods
    return JVMTI_ERROR_INVALID_CLASS when argument "klass" is not a class object or the class
has been unloaded.

The following VTS tests 
     vm/jvmti/funcs/SetFieldModificationWatch/SetFieldModificationWatch0104/SetFieldModificationWatch0104.xml

     vm/jvmti/funcs/ClearFieldModif/ClearFieldModif0104/ClearFieldModif0104.xml

should check mentioned assertions.
They invoke SetFieldModificationWatch and ClearFieldModificationWatch methods and 
expect that VM returns JVMTI_ERROR_INVALID_CLASS but they use correct class object.

As the result they fail on Harmony and RI.


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