Darren New wrote:
> Orchid XP v8 wrote:
>>> Java supports generics.
>> ....OK, I just learned something.
>
> Are they actually supported as new types? Or is it just syntactic
> shorthand? I wouldn't think you could really have generics if you didn't
> change the .class file format, which I think Sun's trying to avoid?
>
http://java.sun.com/docs/books/tutorial/java/generics/erasure.html
http://java.sun.com/docs/books/tutorial/extra/generics/legacy.html
http://java.sun.com/docs/books/tutorial/extra/generics/convert.html
Basically, it looks like anything related to generics is removed from the
compiled code.
Post a reply to this message
|