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-4313) [buildtest][vts] Tests from vm/jvmti/funcs/RedefineClasses subsuite should be corrected
Date Tue, 03 Jul 2007 04:53:04 GMT
[buildtest][vts] Tests from vm/jvmti/funcs/RedefineClasses subsuite should be corrected
---------------------------------------------------------------------------------------

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


According to the tests source code:

1)  Test vm/jvmti/funcs/RedefineClasses/RedefineClasses0105
     Invokes RedefineClasses() and uses "(jclass)thread" value as the element of class_definitions
argument.
     This test expects that VM returns JVMTI_ERROR_INVALID_CLASS (21).

     But according to specification:
       VM returns JVMTI_ERROR_INVALID_CLASS  when  an element of class_definitions is not
a valid class.

  Used value is not class.
  As the result RI crashes on this test.



2) Test vm/jvmti/funcs/RedefineClasses/RedefineClasses0102
    does not define capability and tries to invoke RedefineClasses() method.
    It expects that VM returns JVMTI_ERROR_MUST_POSSESS_CAPABILITY

    Test vm/jvmti/funcs/RedefineClasses/RedefineClasses0106 tries to redefine class by the
class with incorrect version.
    It expects that VM returns  JVMTI_ERROR_UNSUPPORTED_VERSION (68)


    But new classes which created from char arrays are defined as classes from another package
"com...".    
    These tests define more than one error situation and can failed because VM returns another
error code.


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