This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug gcj with date manipulations?


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 ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]