This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gcjx] Patch: FYI: fix constants in test case


I'm checking this in on the gcjx branch.

gcjx is failing the 'err12' test case.  It took me a while to realize
that the string constants in this test are incorrect.  This
realization makes it a lot simpler to fix the bug.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>
	* testsuite/libjava.lang/err12.java: Use correct constant.

Index: testsuite/libjava.lang/err12.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/testsuite/libjava.lang/err12.java,v
retrieving revision 1.1
diff -u -r1.1 err12.java
--- testsuite/libjava.lang/err12.java 13 Jul 1999 16:20:43 -0000 1.1
+++ testsuite/libjava.lang/err12.java 11 Oct 2005 17:19:35 -0000
@@ -19,8 +19,8 @@
 			System.out.println("OK");
 		} else {
 			System.out.println("NG");
-			System.out.println("x1:[65520]-->[" +(x1-0)+"]");
-			System.out.println("x2:[65520]-->[" +(x2-0)+"]");
+			System.out.println("x1:[55536]-->[" +(x1-0)+"]");
+			System.out.println("x2:[55536]-->[" +(x2-0)+"]");
 		}
 	}
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]