[jdom-interest] jdom 2.0 with generics

J Dalton J.Dalton at ed.ac.uk
Thu Jul 21 08:05:15 PDT 2011


If it breaks backward compatibility, surely those who do not
want to (or are unable to) change their code could continue
to use the earlier versions.

That JDOM doesn't use generics has unfortunately become
an argument against using JDOM.

-- Jeff

2011/7/21 Thomas Scheffler <thomas.scheffler at uni-jena.de>:
> Am 21.07.2011 15:01, schrieb Noel Grandin:
>>
>> Hi
>>
>> Would there be any interest in doing a JDOM 2.0 targeting java 1.5+, but
>> changing return types to use generics?
>>
>> I'd be happy to produce some patches, they're pretty straightforward.
>>
>> And I know I'd appreciate cleaning up some of code with better type
>> checking.
>
> Hi,
>
> this topic has been around some time now. And the main concern was that this
> change would break backward compatibility. Beside that using generics would
> be great, as JAVA 5 itself is unsupported since 2009 now.
>
> So if current code runs without changes: +1 from me.
>
> regards,
>
> Thomas
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com
>


More information about the jdom-interest mailing list