About Generics of JDK1.5

Hi,

My question is if should I use this feature at this time?

If I use it now I have to compile my code with JDK1.5.

And since it齭 a compile-time generics, so seems it could not give us much more advantages at runtime yet.

But I am not sure whether it will have any compatible risk with future JDK if I do not use it now?

Any experts can help me out?

Thanks in advance.

Yunfeng

[427 byte] By [bigbang.zhao] at [2007-9-30 17:44:23]
# 1
Wait until it is released as a production version (or even as the next maintenance release) then consider using it. It has quite a few bug fixes.
ChuckBing at 2007-7-6 14:13:32 > top of Java-index,Administration Tools,Sun Connection...
# 2
Generics in Java features "type erasure" at runtime.Everything is done at the compiler level.It has been carefully though of with the need to provide compatibility with previous Java versions.-Alexis
am74686 at 2007-7-6 14:13:32 > top of Java-index,Administration Tools,Sun Connection...