From owner-freebsd-java Fri Jul 9 8:31: 4 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (unknown [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id E6E5214E0A for ; Fri, 9 Jul 1999 08:30:58 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id JAA10549; Fri, 9 Jul 1999 09:30:45 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA05956; Fri, 9 Jul 1999 09:30:44 -0600 Date: Fri, 9 Jul 1999 09:30:44 -0600 Message-Id: <199907091530.JAA05956@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Stephen McKay Cc: Martin Dieringer , freebsd-java@FreeBSD.ORG Subject: Re: strange java calculation errors In-Reply-To: <199907091418.AAA04603@nymph.detir.qld.gov.au> References: <199907091418.AAA04603@nymph.detir.qld.gov.au> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >I use the latest jdk1.1.8_ELF.V99-6-3.tar.gz with applied net-patch. > >On a few-weeks-old 3.2-STABLE. > >I have strange arithmetic errors. I sometimes get NaN-s > >and very big numbers (...E306) which don't appear on any other machine/os > >and don't appear with the linux-jdk1.2 pre-v2. > > We are getting occasional failures in the GregorianCalendar routines. > For some inexplicable reason it is full of floating point calculations. > Every so often, one of these calculations is wildly incorrect, and we > get an ArrayIndexOutOfBoundsException (when looking up the month in > an array). We have a little bit of trace showing one of the statements > returning 0 or 9223372036854775807 sometimes (instead of an expected > result of a few thousand). As always, unless we can reproduce this bug, it's almost impossible to track down. If you can provide us a test case, there is a very good chance we can fix this. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message