Hibernate want to stay JDK 1.3 backward compatible, AFAIK. Thus it has to be compilable with a good old JDK 1.3 :-) We need to make the ant process tolerant.
-- Emmanuel Bernard [EMAIL PROTECTED] > On Jun 24, 2004, at 7:51 AM, Max Rydahl Andersen wrote: > >> Is it not too big a step to have jdk 1.5 compile AND runtime >> dependency on the core ? (sun's promise of jdk 1.4 compability >> generics did not hold as i've been told ;( > > It is still possible to generate compile and run generics under 1.4 > using the generics early access compiler. > > ea2.2 generates 1.4 format class files by default, but that was too > broken to use. > > The current ea (version 2.4) is pretty solid, but it won't let you > specify a target of 1.4 with a source level of 1.5. > > Fortunately, 2.4 has a magic target, jsr14, which generate 1.4 format > class with no problems. There are comments in the source code that say > that this flag might go away in the future. > > http://java.sun.com/developer/earlyAccess/adding_generics/ > > There's also retroweaver, which is a package someone has developed to > convert 1.5 class files to 1.4 format. I haven't tried it, but it looks > sound. > > http://retroweaver.sourceforge.net/ > Simon > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > hibernate-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel