This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Bug gcj with date manipulations?
- To: Maurice DIAMANTINI <diam at ensta dot fr>
- Subject: Re: Bug gcj with date manipulations?
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Date: Fri, 02 Mar 2001 14:20:01 +1300
- CC: java at gcc dot gnu dot org
- References: <20010301171035.R737@ensta.fr>
Maurice DIAMANTINI wrote:
> (should'nt be a more verbose option like --version2
> giving compil date and anything usefull for
> version identification?)
Use "gcj -v".
> My plateform is linuxppc on powermac blue G3 ( 2.2.17rms1)
> (and I hope MacOS-X as soon as possible with X11 and full
> gcc :-)
Me too. Is GCC 3.0 working on MacOS X yet?
> I rise an error with date format in the following :
> Hier is the code :
>
Your test case works for me, using "gcc version 3.0 20010219 (prerelease)" on linux x86. It gets the timezone wrong (which is probibly a bug in our TimeZone implementation), but it
does not crash:
$ java DTest
Début à : 2001-03-02 13:59:11.0213
Fini à : Fri Mar 02 13:59:11 GMT+13:00 2001
durée : 00mn 00.003s
$ ./dtest
Début à : 2001-03-02 00:59:15.0599
Fini à : Fri Mar 02 00:59:15 GMT 2001
durée : 00mn 00.000s
Please try updating your cvs tree to the gcc-3_0-branch. If you still get the problem, a gdb stack trace would help.
regards
[ bryce ]