From af4464eb46fd1fcec3a8f69b320fa069f3d179a0 Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Thu, 27 Apr 2000 11:47:13 +0000 Subject: [PATCH] prims.cc (_Jv_NewObjectArray): Fix typo. 2000-04-27 Bryce McKinlay * prims.cc (_Jv_NewObjectArray): Fix typo. From-SVN: r33479 --- libjava/ChangeLog | 4 ++++ libjava/prims.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 9eaa81ee318..69c44f8bed4 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2000-04-27 Bryce McKinlay + + * prims.cc (_Jv_NewObjectArray): Fix typo. + 2000-04-26 Tom Tromey * Makefile.in: Rebuilt. diff --git a/libjava/prims.cc b/libjava/prims.cc index 32e079be690..c632c636814 100644 --- a/libjava/prims.cc +++ b/libjava/prims.cc @@ -377,7 +377,7 @@ _Jv_NewObjectArray (jsize count, jclass elementClass, jobject init) // 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);