I tried to summarize some of the arguments given here in my blog (see below). In a nutshell, aiming for JDK 1.4 compatibility using JDK 1.5 language features is likely to be messy, especially if you accept patches from "outside" developers. On the other hand, who would blame you to want to switch to JDK 1.5 when JDK 1.6 is in the offing?

Cheers,

At 12:28 AM 3/8/2006, Trustin Lee wrote:
I agree with you all ApacheDS and MINA users should be able to use them on JDK 1.4. My idea is to enable backward compatibility using bytecode manipulator which is a reasonable solution so the requirement remains the same and we can use advanced language features like generics and covariant return types yet. These language features help us to program more effectively and users to use cleaner API if they use the API on Java 5. We'll also have to be careful not to expose unsafe collections and APIs without backward compatibility where user and our software interacts, but it's just another matter.

Trustin
--

--
Ceki Gülcü
http://ceki.blogspot.com/

Reply via email to