Re: JDOM not using raw typing

"Hielke Hoeve" <[email protected]>
Newsgroups gmane.comp.java.jdom.general
Message-ID <[email protected]>
On 28/03/07, Endre Stølsvik <[email protected]> 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

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.