[jdom-interest] Java 5.0 JDOM Plans?
phil.weighill-smith at volantis.com
Tue Aug 30 07:12:45 PDT 2005
Jason, how about having the core of JDOM exactly as is and provide a thin "wrapper" that provides the nice covariant return types, typesafe collections etc? This could, perhaps, be packaged as org.jdomx and provide all the same class names (these classes either extending or delegating to the eponymous core JDOM classes).
From: Jason Hunter [mailto:jhunter at xquery.com]
Sent: Mon 8/29/2005 07:01
To: Tim Halloran
Cc: jdom-interest at jdom.org
Subject: Re: [jdom-interest] Java 5.0 JDOM Plans?
We've talked about it on the list before. While I like many of the Java
5 features and think they could help JDOM with some rough edges (esp
covariant return types) I've held off making an official JDOM built for
Java 5 because neither of the two approaches is great:
1) Move all later JDOM releases to Java 5. This eliminates people's
ability to use JDOM on JDK 1.4 and earlier.
2) Ship two versions of JDOM. This causes confusion and potential
runtime conflicts if both versions use the same org.jdom package.
People have emailed the list and me personally with Java 5 tweaked
versions. The technical changes are pretty straightforward. But is
either approach above better than having a unified JDK 1.2+ JDOM library?
Tim Halloran wrote:
> Forgive me if this has been described...but after a few mailing list
> searches and some looking around the web pages it has eluded me. I'm
> wondering what the plans are for transition of the JDOM library to Java
> 5.0? Not just compatibility--that works today--but full incorporation
> of the new language features.
More information about the jdom-interest