harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r606852 - in /harmony/enhanced/buildtest/branches/2.0/tests/vts/vm: config/exclude.file src/test/vm/jvmti/funcs/ClearFieldModif/ClearFieldModif0103/ClearFieldModif0103.cpp
Date Wed, 26 Dec 2007 07:40:57 GMT
Author: smishura
Date: Tue Dec 25 23:40:54 2007
New Revision: 606852

URL: http://svn.apache.org/viewvc?rev=606852&view=rev
Log:
Apply patch from HARMONY-4330:
[buildtest][vts] Test vm/jvmti/funcs/ClearFieldModif/ClearFieldModif0103/ClearFieldModif0103.xml
is incorrect

and remove the test from the exclude list (tested on Linux ia32)

Modified:
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/config/exclude.file
    harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvmti/funcs/ClearFieldModif/ClearFieldModif0103/ClearFieldModif0103.cpp

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/config/exclude.file
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/config/exclude.file?rev=606852&r1=606851&r2=606852&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/config/exclude.file (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/config/exclude.file Tue Dec 25 23:40:54
2007
@@ -23,7 +23,6 @@
 vm/jvmti/events/DataDumpRequest/DataDumpRequest0101/DataDumpRequest0101.xml 
 vm/jvmti/events/MonitorContendedEntered/MonitorContendedEntered0102/MonitorContendedEntered0102.xml

 vm/jvmti/funcs/AddToBootCLSearch/AddToBootCLSearch0102/AddToBootCLSearch0102.xml 
-vm/jvmti/funcs/ClearFieldModif/ClearFieldModif0103/ClearFieldModif0103.xml 
 vm/jvmti/funcs/ClearFieldModif/ClearFieldModif0104/ClearFieldModif0104.xml 
 vm/jvmti/funcs/GenerateEvents/GenerateEvents0104/GenerateEvents0104.xml 
 vm/jvmti/funcs/GetClassSignature/GetClassSignature0102/GetClassSignature0102.xml 

Modified: harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvmti/funcs/ClearFieldModif/ClearFieldModif0103/ClearFieldModif0103.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvmti/funcs/ClearFieldModif/ClearFieldModif0103/ClearFieldModif0103.cpp?rev=606852&r1=606851&r2=606852&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvmti/funcs/ClearFieldModif/ClearFieldModif0103/ClearFieldModif0103.cpp
(original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/vts/vm/src/test/vm/jvmti/funcs/ClearFieldModif/ClearFieldModif0103/ClearFieldModif0103.cpp
Tue Dec 25 23:40:54 2007
@@ -76,6 +76,10 @@
     fflush(stderr);
     if (result != JVMTI_ERROR_NONE) return;
 
+    if (!is_needed_field_found(jvmti_env, "ClearFieldModif0103.java", "second_field", &myclass,
&myfield, DEBUG_OUT))
+        return;
+
+
     result = jvmti_env->ClearFieldModificationWatch(myclass, myfield);
     fprintf(stderr, "\tnative: ClearFieldModificationWatch result = %d (must be JVMTI_ERROR_NOT_FOUND
(41)) \n", result);
     fprintf(stderr, "\tnative: class is %p \n", myclass);



Mime
View raw message