This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: prims.cc typo fix
- To: java-patches at sourceware dot cygnus dot com
- Subject: Patch: prims.cc typo fix
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Thu, 27 Apr 2000 23:51:31 +1200
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);