This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Bug on Solaris
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: Andrew Haley <aph at cambridge dot redhat dot com>, martin dot kahlert at infineon dot com, java at gcc dot gnu dot org
- Date: Wed, 09 Jan 2002 14:10:09 +1300
- Subject: Re: Bug on Solaris
- References: <Pine.LNX.4.10.10201081632490.24254-100000@mars.deadcafe.org>
Jeff Sturm wrote:
>On Tue, 8 Jan 2002, Andrew Haley wrote:
>
>>It is, however, a front end bug that manifests itself only when
>>running on SPARC. Endian, perhaps?
>>
>
>Perhaps. There's a problem while reading in the constant pool from an
>existing class file. (If it is a big-endian problem, shouldn't it fail on
>PPC too?)
>
Yep, it does:
$ uname -a
Linux kiteless 2.4.17-pre2 #3 Tue Dec 4 21:56:09 NZDT 2001 ppc unknown
$ gcj --main=hello hello.java
$ ./a.out
Double.MIN_VALUE = 0.0
Double.MAX_VALUE = 5.0E-324
I've also noticed some similar bugs with Longs on PPC, which causes one
of the test cases to fail (unfortunatly I dont remember which right now).
regards
Bryce.