[jdom-interest] Java 1.5 language features.

Mary Ellen Foster mefoster at gmail.com
Tue Feb 27 01:57:42 PST 2007

[ Oops, sent this as a personal reply instead of to the list the first
time ... ]

On 27/02/07, Michael Kay <mike at saxonica.com> wrote:
> (a) if the JDOM interfaces are changed to use generics, then the JDOM code
> must be compiled under JDK 1.5, in which case it will only run under JDK 1.5
> or later, and any client applications must therefore be run under JDK 1.5,
> though they do not need to be recompiled.
> (b) if you compile JDOM under 1.5, even without any source code changes, and
> users drop it in as a replacement for the existing JAR file, then if they
> are running 1.4 their applications will stop working.

There's always RetroWeaver: http://retroweaver.sourceforge.net/

Disclaimer: I've never actually tried it personally, but it seems to
address exactly this issue.


Mary Ellen Foster

More information about the jdom-interest mailing list