Use really long values for long field/static tests.
authortwisti <none@none>
Fri, 13 May 2005 10:12:50 +0000 (10:12 +0000)
committertwisti <none@none>
Fri, 13 May 2005 10:12:50 +0000 (10:12 +0000)
tests/codepatching/getfieldJ.java
tests/codepatching/getstaticJ.java
tests/codepatching/test.java

index a3f1649917e4934cf52a0affd947e623fa44e4da..d022d08ab8f7dd1caecb6606a725e1b294328273 100644 (file)
@@ -1,3 +1,3 @@
 public class getfieldJ {
-    public long l = 456;
+    public long l = 1234567890123L;
 }
index 8e271536edd060747ba55b78cb3300fb1d6d1ae0..49b7275a8ae75ac696ba9b6d3f5c60c1cb9098ce 100644 (file)
@@ -1,3 +1,3 @@
 public class getstaticJ {
-    public static long l = 456L;
+    public static long l = 1234567890123L;
 }
index e26ba901916f69cfa57dd040cb18fe964ca25a7a..7b94aac1cdcffb9480ed9dfcc21d381b1b2e9a5f 100644 (file)
@@ -60,7 +60,7 @@ public class test {
         try {
             p("getstatic (J): ");
             if (doit)
-                check(getstaticJ.l, 456L);
+                check(getstaticJ.l, 1234567890123L);
             else
                 ok();
         } catch (Throwable t) {
@@ -115,7 +115,7 @@ public class test {
         try {
             p("putstatic (J): ");
             if (doit) {
-                long l = 456L;
+                long l = 1234567890123L;
                 putstaticJ.l = l;
                 check(putstaticJ.l, l);
             } else
@@ -176,7 +176,7 @@ public class test {
         try {
             p("getfield (J): ");
             if (doit)
-                check(new getfieldJ().l, 456L);
+                check(new getfieldJ().l, 1234567890123L);
             else
                 ok();
         } catch (Throwable t) {
@@ -233,7 +233,7 @@ public class test {
             p("putfield (J): ");
             if (doit) {
                 putfieldJ pfj = new putfieldJ();
-                long l = 456L;
+                long l = 1234567890123L;
                 pfj.l = l;
                 check(pfj.l, l);
             } else
@@ -299,8 +299,8 @@ public class test {
             p("putfieldconst (J,D,L): ");
             if (doit) {
                 putfieldconstJDL pfcjdl = new putfieldconstJDL();
-                pfcjdl.l = 456;
-                check(pfcjdl.l, 456);
+                pfcjdl.l = 1234567890123L;
+                check(pfcjdl.l, 1234567890123L);
             } else
                 ok();
         } catch (Throwable t) {