Will there ever be a version of Java which does not perform Type Erasure

Posted by user63904 on Programmers See other posts from Programmers or by user63904
Published on 2012-06-05T12:24:04Z Indexed on 2012/06/05 16:47 UTC
Read the original article Hit count: 203

Filed under:

Type erasure enables Java applications that use generics to maintain binary compatibility with Java libraries and applications that were created before generics

Generics were introduced in Java 1.5, so presumably the statement

"applications that were created before generics"

is referring to Java 1.4? Given that Java 1.4 entered its End Of Life around 2006 and was officially End Of Life'd around 2008. Why is type erasure still being performed in Java 7, etc...

Has the statement now become self referential i.e. Type erasure enables Java applications that use generics to maintain binary compatibility with Java libraries and applications that were created with Java versions that perform Type Erasure.

Meaning therefore that there will never be a version of Java that doesn't perform Type Erasure.

© Programmers or respective owner

Related posts about java