From owner-freebsd-java Fri Jul 9 7:22: 5 1999 Delivered-To: freebsd-java@freebsd.org Received: from ren.detir.qld.gov.au (ns.detir.qld.gov.au [203.46.81.66]) by hub.freebsd.org (Postfix) with ESMTP id AFBAD155C0 for ; Fri, 9 Jul 1999 07:22:01 -0700 (PDT) (envelope-from syssgm@detir.qld.gov.au) Received: by ren.detir.qld.gov.au; id AAA08063; Sat, 10 Jul 1999 00:20:13 +1000 (EST) Received: from ogre.detir.qld.gov.au(167.123.8.3) by ren.detir.qld.gov.au via smap (3.2) id xma008061; Sat, 10 Jul 99 00:20:07 +1000 Received: from atlas.detir.qld.gov.au (atlas.detir.qld.gov.au [167.123.8.9]) by ogre.detir.qld.gov.au (8.8.8/8.8.7) with ESMTP id AAA11160; Sat, 10 Jul 1999 00:19:00 +1000 (EST) Received: from nymph.detir.qld.gov.au (nymph.detir.qld.gov.au [167.123.10.10]) by atlas.detir.qld.gov.au (8.8.5/8.8.5) with ESMTP id AAA28897; Sat, 10 Jul 1999 00:18:59 +1000 (EST) Received: from nymph.detir.qld.gov.au (localhost.detir.qld.gov.au [127.0.0.1]) by nymph.detir.qld.gov.au (8.8.8/8.8.7) with ESMTP id AAA04603; Sat, 10 Jul 1999 00:18:58 +1000 (EST) (envelope-from syssgm@nymph.detir.qld.gov.au) Message-Id: <199907091418.AAA04603@nymph.detir.qld.gov.au> To: Martin Dieringer Cc: freebsd-java@freebsd.org, syssgm@detir.qld.gov.au Subject: Re: strange java calculation errors References: In-Reply-To: from Martin Dieringer at "Mon, 05 Jul 1999 22:22:25 +0200" Date: Sat, 10 Jul 1999 00:18:58 +1000 From: Stephen McKay Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Monday, 5th July 1999, Martin Dieringer wrote: >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). This problem has not yet reached my highest priority, but probably will one day. We have seen it with both jdk 1.1.7 and jdk 1.1.8 on FreeBSD 2.2.8 (a.out version, of course). Stephen. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message