You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by "Nacho G. Mac Dowell" <ig...@informa.es> on 2004/08/19 09:49:36 UTC

Minimum JDK: 1.4

I found that the minimum jdk for jaxme at the moment is 1.4 since it uses
methods that are only present since 1.4. I think moving to 1.3 is fairly
simple though. I can check later for all problems (I think the PM uses 1.4
extensively) but for the moment:

org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaReader
86: Throwable t = e.getCause(); //since 1.4

org.apache.ws.jaxme.xs.util.XsDateTimeFormat
266: int offset = tz.getOffset(cal.getTimeInMillis()); //since 1.4

I'll report later this properly (with all the occurences).


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


Re: Minimum JDK: 1.4

Posted by Jochen Wiedmann <jo...@freenet.de>.
Thanks for bringing this up.

Nacho G. Mac Dowell wrote:

>org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaReader
>86: Throwable t = e.getCause(); //since 1.4
>  
>

This is possible even a bug, as e.getTargetException() should be used at 
this place. (May be, both methods return the same, though.)

>org.apache.ws.jaxme.xs.util.XsDateTimeFormat
>266: int offset = tz.getOffset(cal.getTimeInMillis()); //since 1.4
>  
>
Replaced with getTime().getTime()


Jochen


---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org