Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

Re: [jdom-interest] JDOM not using raw typing

Hielke Hoeve

2007-03-28


On 28/03/07, Endre St?lsvik <Endre@(protected):
> 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

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.