[jdom-interest] JDOM not using raw typing
Hielke Hoeve
hielke.hoeve at gmail.com
Wed Mar 28 01:24:33 PST 2007
On 28/03/07, Endre Stølsvik <Endre at stolsvik.com> wrote:
> Generifying old code, while keeping backwards compat:
>
> http://java.sun.com/docs/books/tutorial/extra/generics/convert.html
> " Earlier, we showed how new and legacy code can interoperate. Now,
> it's time to look at the harder problem of "generifying" old code. "
> " You also need to ensure that the revised API retains binary
> compatibility with old clients. This implies that the erasure of the API
> must be the same as the original, ungenerified API. In most cases, this
> falls out naturally, but there are some subtle cases. ... "
Wow, didn't know you could do that... Well you learn things every day ;-)
Eventhough it'll be backward compatible, you still have to make jars
for each java version available for downloading. Most people won't
download the source and compile it themselves. It's too much of an
hassle.
Hielke
More information about the jdom-interest
mailing list