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-4404) [drlvm][jvmti][jni][vts] Not all jvmti and jni features are implemented
Date Tue, 10 Jul 2007 09:26:04 GMT
[drlvm][jvmti][jni][vts] Not all jvmti and jni features are implemented
-----------------------------------------------------------------------

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


1) According to JVMTI  Implementation status http://wiki.apache.org/harmony/JVMTI_Implementation_Status
    - Capability can_redefine_classes 
   - JVMTI method RedefineClasses  
are not implemented.
As the result the following VTS tests fail on Harmony

vm/jvmti/funcs/IsMethodObsolete/IsMethodObsolete0101/IsMethodObsolete0101.xml
vm/jvmti/funcs/IsMethodObsolete/IsMethodObsolete0103/IsMethodObsolete0103.xml
vm/jvmti/funcs/IsMethodObsolete/IsMethodObsolete0104/IsMethodObsolete0104.xml
vm/jvmti/funcs/RedefineClasses/RedefineClasses0101/RedefineClasses0101.xml
vm/jvmti/funcs/RedefineClasses/RedefineClasses0102/RedefineClasses0102.xml
vm/jvmti/funcs/RedefineClasses/RedefineClasses0103/RedefineClasses0103.xml
vm/jvmti/funcs/RedefineClasses/RedefineClasses0106/RedefineClasses0106.xml
vm/jvmti/funcs/RedefineClasses/RedefineClasses0107/RedefineClasses0107.xml


2)  JVMTI functions which get/set local variables don't check for variable type and 
      don't return JVMTI_ERROR_TYPE_MISMATCH if they are called for a local variable,
      which is not a compatible type (see point 8 http://wiki.apache.org/harmony/KnownNonBugIssuesAndLimitations).

      This issue causes the failures of the folloing VTS tests

vm/jvmti/funcs/GetLocalDouble/GetLocalDouble0104/GetLocalDouble0104.xml
vm/jvmti/funcs/GetLocalFloat/GetLocalFloat0104/GetLocalFloat0104.xml
vm/jvmti/funcs/GetLocalInt/GetLocalInt0104/GetLocalInt0104.xml
vm/jvmti/funcs/GetLocalLong/GetLocalLong0104/GetLocalLong0104.xml
vm/jvmti/funcs/GetLocalObject/GetLocalObject0104/GetLocalObject0104.xml
vm/jvmti/funcs/SetLocalDouble/SetLocalDouble0104/SetLocalDouble0104.xml
vm/jvmti/funcs/SetLocalFloat/SetLocalFloat0104/SetLocalFloat0104.xml
vm/jvmti/funcs/SetLocalInt/SetLocalInt0104/SetLocalInt0104.xml
vm/jvmti/funcs/SetLocalLong/SetLocalLong0104/SetLocalLong0104.xml
vm/jvmti/funcs/SetLocalObject/SetLocalObject0104/SetLocalObject0104.xml


3) The following tests fail because 
     JVMTI functions don't check for invalid jmethodID arguments and don't return JVMTI_ERROR_INVALID_METHODID

     as defined by specification (see point 7 http://wiki.apache.org/harmony/KnownNonBugIssuesAndLimitations)

vm/jvmti/funcs/GetArgumentsSize/GetArgumentsSize0102/GetArgumentsSize0102.xml
vm/jvmti/funcs/GetBytecodes/GetBytecodes0103/GetBytecodes0103.xml
vm/jvmti/funcs/GetLineNumberTable/GetLineNumberTable0104/GetLineNumberTable0104.xml
vm/jvmti/funcs/GetLocalVariableTable/GetLocalVariableTable0104/GetLocalVariableTable0104.xml
vm/jvmti/funcs/GetMaxLocals/GetMaxLocals0102/GetMaxLocals0102.xml
vm/jvmti/funcs/GetMethodDeclaringClass/GetMethodDeclaringClass0102/GetMethodDeclaringClass0102.xml
vm/jvmti/funcs/GetMethodLocation/GetMethodLocation0103/GetMethodLocation0103.xml
vm/jvmti/funcs/GetMethodModifiers/GetMethodModifiers0102/GetMethodModifiers0102.xml
vm/jvmti/funcs/IsMethodNative/IsMethodNative0102/IsMethodNative0102.xml
vm/jvmti/funcs/IsMethodSynthetic/IsMethodSynthetic0103/IsMethodSynthetic0103.xml


4) The following VTS test 
vm/jni/references/DeleteLocalRefTest/DeleteLocalRefTest.xml

fails because JNI Weak References mechanism was not implemented 
( see http://wiki.apache.org/harmony/CoreVmDevelopmentItems)


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