P.Rizzi Ag.Mobilità Ambiente wrote: Hi,
> You _can_ compile with 1.5 and run with 1.4 _only_ if you > don't use any 1.5 specific construct (like generics). > > I never used any of those and so I never had to care > about source and target versions. > > I remember an old article about Java 1.5 where they said > it was possibile to use new construct because they're only > "sintactic sugar", but it seems I remember wrong... > > Sorry for the confusion!!! You're not the only one getting this wrong, so maybe you remember right ;-) The really confusing thing is, that generic types do not exist at runtime for some reason. If they'd kept the class file versions unchanged, this would obviously necessary. But for some reason they broke backwards compatibiliy AND did NOT add runtime generic types (which can get pretty annoying sometimes). Best regards, Andreas -- l a t / l o n GmbH Aennchenstrasse 19 53177 Bonn, Germany phone ++49 +228 18496-11 fax ++49 +228 1849629 http://www.lat-lon.de http://www.deegree.org
signature.asc
Description: Digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel