This is the mail archive of the java-patches@sourceware.cygnus.com 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]

Patch: prims.cc typo fix


A recent patch introduced a typo that caused java executables to crash.
I've checked in this fix.

regards

  [ bryce ]

2000-04-27  Bryce McKinlay  <bryce@albatross.co.nz>

        * prims.cc (_Jv_NewObjectArray): Fix typo.

Index: prims.cc
===================================================================
RCS file: /cvs/java/libgcj/libjava/prims.cc,v
retrieving revision 1.26
diff -u -r1.26 prims.cc
--- prims.cc	2000/04/22 17:09:39	1.26
+++ prims.cc	2000/04/27 11:46:26
@@ -377,7 +377,7 @@
 
   // Check for overflow.
   if (__builtin_expect ((size_t) count > 
-			(SIZE_T_MAX - size) / sizeof (jobject), 0));
+			(SIZE_T_MAX - size) / sizeof (jobject), 0))
     JvThrow (no_memory);
 
   size += count * sizeof (jobject);

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