Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Will javaRuntype be rendererd useless by Java 7?

Java javaruntype useless
0
Posted

Will javaRuntype be rendererd useless by Java 7?

0

Understanding that the features that will come with Java 7 are still mere rumours and leaks, there is no reason to think such thing: • First, it seems that the only new feature in Java 7 directly regarding the type system will be JSR 308 (annotations on types), and while this is something that (obviously) javaRuntype doesn’t allow (yet), it will probably be possible to add it in a future (if needed). • It seems that reification of generics will not be included in Java 7. And even if it were, it would depend on the specific implementation that would be included in the API whether this would render javaRuntype redundant or not. Most suggested implementations of this (including the one accepted as RFE at BUG5098163) were defined as adding generics information to objects instantiated from generic classes, but not to define “types”. This is, it would allow you to define that an object is a “List” object, but apparently not to obtain a “List” type object, whic

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.