This way we really test the high dword.

Signed-off-by: Arthur HUILLET <[email protected]>
---
 regression/jvm/PutstaticTest.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/regression/jvm/PutstaticTest.java 
b/regression/jvm/PutstaticTest.java
index aadfd7c..a205dd1 100644
--- a/regression/jvm/PutstaticTest.java
+++ b/regression/jvm/PutstaticTest.java
@@ -64,8 +64,8 @@ public class PutstaticTest extends TestCase {
     };
 
     public static void testPutStaticConstLong() {
-        J.x = 1;
-        assertEquals(1, J.x);
+        J.x = 4294967300L;
+        assertEquals(4294967300L, J.x);
     }
 
     public static void testPutStaticClassFieldLong() {
@@ -76,13 +76,13 @@ public class PutstaticTest extends TestCase {
 
     public static void testPutStaticInstanceFieldLong() {
         J j = new J();
-        j.z = 1;
+        j.z = 4294967300L;
         J.x = j.z;
         assertEquals(j.z, J.x);
     }
 
     public static void testPutStaticLocalLong() {
-        long j = 1;
+        long j = 4294967300L;
         J.x = j;
         assertEquals(j, J.x);
     }
-- 
1.6.2.2


------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to