Revision: 15713
http://jikesrvm.svn.sourceforge.net/jikesrvm/?rev=15713&view=revAuthor: dgrove-oss
Date: 2009-06-19 16:21:18 +0000 (Fri, 19 Jun 2009)
Log Message:
-----------
add additional test case from BK for getting the field of an implemented interface.
Modified Paths:
--------------
rvmroot/trunk/testing/tests/jni/src/TestJNIGetFieldID.java
Modified: rvmroot/trunk/testing/tests/jni/src/TestJNIGetFieldID.java
===================================================================
--- rvmroot/trunk/testing/tests/jni/src/TestJNIGetFieldID.java 2009-06-18 02:29:11 UTC (rev 15712)
+++ rvmroot/trunk/testing/tests/jni/src/TestJNIGetFieldID.java 2009-06-19 16:21:18 UTC (rev 15713)
@@ -74,6 +74,18 @@
allTestPass = false;
}
+ try {
+ if (getStaticFinalF(I.class) == 1) {
+ if (verbose) System.out.println("static_I.f: pass");
+ } else {
+ if (verbose) System.out.println("static_I.f: fail");
+ allTestPass = false;
+ }
+ } catch(Throwable e) {
+ if (verbose) System.out.println("static_f: fail");
+ allTestPass = false;
+ }
+
if (allTestPass) {
System.out.println("PASS: TestJNIGetFieldID");
} else {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects_______________________________________________
Jikesrvm-commits mailing list
Jikesrvm-commits@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-commits