Hi Stephen,

I get the problem...build with jdk = 1.3 works well, but give some fixing 
messages like:
[java] Fixing duplicate name key - LHST
[java]      - 2008-04-05T15:00:00.000Z - 2008-10-04T15:30:00.000Z
[java] Fixing duplicate recurrent name key - LHST

with jdk 1.4 or superior give that overflow exception.

Can't I compile with jdk 1.5 or 1.6 ?

Paulo

----- Mensagem original ----
De: Stephen Colebourne <[EMAIL PROTECTED]>
Para: Discussion of the Joda project <joda-interest@lists.sourceforge.net>
Enviadas: Segunda-feira, 10 de Dezembro de 2007 15:03:57
Assunto: Re: [Joda-interest] Adding time zone offset caused overflow

I have just retested this on my box, using the joda-time-1.5.1-src.zip 
and all is fine. Have you got any unusal time zone rule files?

Stephen


Paulo Neves wrote:
> Hi,
> 
> When I try to build joda-time 1.5.1 I obtain the following error (I
 try 
> with jdk 1.5 and 1.6):
> 
> compile.zoneinfo:
>      [java] Exception in thread "main" java.lang.ArithmeticException:
 
> Adding time zone offset caused overflow
>      [java]     at 
>
 
org.joda.time.chrono.ZonedChronology$ZonedDurationField.getOffsetToAdd(ZonedChronology.java:348)
>      [java]     at 
>
 
org.joda.time.chrono.ZonedChronology$ZonedDurationField.getDifference(ZonedChronology.java:330)
>      [java]     at 
> org.joda.time.chrono.BaseChronology.get(BaseChronology.java:260)
>      [java]     at
 org.joda.time.base.BasePeriod.<init>(BasePeriod.java:100)
>      [java]     at org.joda.time.Period.<init>(Period.java:438)
>      [java]     at 
>
 
org.joda.time.tz.DateTimeZoneBuilder$PrecalculatedZone.create(DateTimeZoneBuilder.java:1432)
>      [java]     at 
>
 
org.joda.time.tz.DateTimeZoneBuilder.toDateTimeZone(DateTimeZoneBuilder.java:395)
>      [java]     at 
> org.joda.time.tz.ZoneInfoCompiler.compile(ZoneInfoCompiler.java:374)
>      [java]     at 
> org.joda.time.tz.ZoneInfoCompiler.main(ZoneInfoCompiler.java:116)
> 
> 
> With joda-time 1.4 I hadn't this.
> 
> what could be? And I can I  resolve ?
> 
> Greetings,
> Paulo
> 
>
 ------------------------------------------------------------------------
> Abra sua conta no Yahoo! Mail 
>
 <http://br.rd.yahoo.com/mail/taglines/mail/*http://br.mail.yahoo.com/>, 
> o único sem limite de espaço para armazenamento!
> 
> 
>
 ------------------------------------------------------------------------
> 
>
 -------------------------------------------------------------------------
> SF.Net email is sponsored by: 
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> 
> 
>
 ------------------------------------------------------------------------
> 
> _______________________________________________
> Joda-interest mailing list
> Joda-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/joda-interest

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest






      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para 
armazenamento!
http://br.mail.yahoo.com/
-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to